@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Primary */
  --primary-lightest: #E5EBFF;
  --primary-light: #7690FF;
  --primary-pure: #1727FF;
  --primary-medium: #040ECB;
  --primary-dark: #000A75;

  /* Secondary */
  --secondary-lightest: #FFF4ED;
  --secondary-light: #FFC9A8;
  --secondary-pure: #FF5015;
  --secondary-medium: #E50068;
  --secondary-dark: #450905;

  /* Gray */
  --gray-950: #0C111D;
  --gray-900: #101828;
  --gray-800: #182230;
  --gray-700: #344054;
  --gray-600: #475467;
  --gray-500: #667085;
  --gray-400: #98A2B3;
  --gray-300: #D0D5DD;
  --gray-200: #EAECF0;
  --gray-white: #FFFFFF;

  /* Typography */
  --family-heading: 'Bebas Neue', sans-serif;
  --family-body: 'Montserrat', sans-serif;

  /* Radius */
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-full: 122px;

  /* Brand utilities */
  --whatsapp-green: #25D366;

  /* Hero (mobile defaults) */
  --hero-bg: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-pure) 100%);
  --hero-heading-color: var(--gray-white);
  --hero-eyebrow-color: var(--gray-300);
  --hero-subtitle-color: var(--gray-300);
}

@media (min-width: 1024px) {
  :root {
    --hero-bg: var(--gray-white);
    --hero-heading-color: var(--primary-pure);
    --hero-eyebrow-color: var(--gray-500);
    --hero-subtitle-color: var(--gray-500);
  }
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--family-body);
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-700);
  background-color: var(--gray-white);
}

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

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

h1, h2 {
  margin: 0;
  font-family: var(--family-heading);
  font-weight: 400;
  line-height: 1.2;
  font-feature-settings: "salt" 1;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 112px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  background-color: var(--gray-white);
  border-bottom: 1px solid var(--gray-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__name {
  font-family: var(--family-heading);
  font-size: 24px;
  line-height: 1.2;
  color: var(--gray-950);
  font-feature-settings: "salt" 1;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .brand__name {
    font-size: 32px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  font-size: 18px;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__link--strong {
  font-weight: 700;
}

.nav__arrow {
  width: 24px;
  height: 24px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 29px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--gray-400);
}

.nav-toggle span:nth-child(2) {
  width: 18px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   Mobile nav (category list)
   ========================================================================== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--gray-white);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav__link:last-child {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--hero-bg);
  padding-top: 40px;
  padding-bottom: 56px;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 76px;
    padding-bottom: 96px;
  }
}

.hero__eyebrow {
  display: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--hero-eyebrow-color);
}

.hero__title {
  font-size: 40px;
  color: var(--hero-heading-color);
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 48px;
    max-width: 624px;
  }
}

.hero__subtitle {
  display: none;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--hero-subtitle-color);
}

.hero__lead {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--hero-eyebrow-color);
}

.hero__lead strong {
  font-weight: 700;
  color: var(--hero-heading-color);
}

@media (min-width: 1024px) {
  .hero__eyebrow {
    display: block;
    margin-bottom: 8px;
  }

  .hero__subtitle {
    display: block;
    margin-top: 8px;
  }

  .hero__lead {
    display: none;
  }
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 64px;
  }
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 332 / 235;
  box-shadow: 0 20px 40px 0 rgba(24, 34, 48, 0.6);
}

@media (min-width: 1024px) {
  .card {
    border-radius: var(--radius-md);
    aspect-ratio: 350 / 352;
    box-shadow: none;
  }
}

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

.card__footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: rgba(71, 84, 103, 0.6);
}

@media (min-width: 1024px) {
  .card__footer {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 0;
    background-color: transparent;
    border-radius: var(--radius-full);
  }
}

.card__label {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-white);
}

@media (min-width: 1024px) {
  .card__label {
    display: none;
  }
}

.card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  padding: 8px 32px;
  border-radius: var(--radius-full);
  background-color: var(--secondary-pure);
  color: var(--gray-white);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.card__btn--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .card__btn--mobile {
    display: none;
  }

  .card__btn--desktop {
    display: flex;
    width: 100%;
    min-height: 54px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   Team / Equipe section
   ========================================================================== */
.team {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-pure) 100%);
  padding-block: 56px;
}

.team__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.team__logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .team__logo {
    width: 140px;
    height: 140px;
  }
}

.team__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
}

.team__title {
  font-size: 24px;
  color: var(--gray-white);
}

@media (min-width: 1024px) {
  .team__title {
    font-size: 40px;
  }
}

.team__desc {
  margin: 0;
  font-size: 18px;
  color: var(--gray-200);
  opacity: 0.7;
  max-width: 557px;
}

.team__illustration-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-800);
  border-radius: var(--radius-lg);
  padding: 32px;
}

@media (min-width: 1024px) {
  .team__illustration-wrap {
    padding: 56px;
  }
}

.team__illustration {
  width: 100%;
  max-width: 480px;
}

@media (min-width: 1024px) {
  .team__illustration {
    max-width: 640px;
  }
}

.team__placeholder {
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-300);
  border: 1px dashed var(--gray-500);
  border-radius: var(--radius-md);
}

.team__placeholder-icon {
  font-size: 40px;
}

.team__placeholder-text {
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
   Catálogo Completo
   ========================================================================== */
.catalog {
  background-color: var(--gray-white);
  padding-block: 56px;
}

@media (min-width: 1024px) {
  .catalog {
    padding-block: 96px;
  }
}

.catalog__header {
  max-width: 624px;
}

.catalog__title {
  font-size: 32px;
  color: var(--primary-pure);
}

@media (min-width: 1024px) {
  .catalog__title {
    font-size: 48px;
  }
}

.catalog__subtitle {
  margin: 8px 0 0;
  font-size: 18px;
  color: var(--gray-500);
}

.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
  }
}

.catalog__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog__img-wrap {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-200);
}

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

.catalog__img-wrap--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  border: 1px dashed var(--gray-300);
}

.catalog__placeholder-icon {
  font-size: 32px;
}

.catalog__placeholder-text {
  font-size: 14px;
  font-weight: 500;
}

.catalog__card-title {
  margin: 0;
  font-family: var(--family-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--primary-pure);
  font-feature-settings: "salt" 1;
}

.catalog__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog__list li {
  font-size: 14px;
  color: var(--gray-500);
  padding-left: 14px;
  position: relative;
}

.catalog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary-pure);
}

.catalog__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background-color: var(--secondary-pure);
  color: var(--gray-white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding-block: 56px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__name {
  font-family: var(--family-heading);
  font-size: 24px;
  color: var(--gray-white);
  font-feature-settings: "salt" 1;
  white-space: nowrap;
}

.footer__about {
  margin: 0;
  font-size: 16px;
  color: var(--gray-300);
  max-width: 560px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-700);
}

@media (min-width: 1024px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--gray-400);
}

.footer__meta p {
  margin: 0;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-green);
  color: var(--gray-white);
  font-size: 16px;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .footer__whatsapp {
    align-self: center;
  }
}

.footer__copy {
  margin: 0;
  font-size: 14px;
  color: var(--gray-500);
}

/* ==========================================================================
   Catalog page (per-category product listing)
   ========================================================================== */
.catalog-page {
  background-color: var(--gray-white);
  padding-block: 56px;
}

@media (min-width: 1024px) {
  .catalog-page {
    padding-block: 96px;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-pure);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
  }
}

/* ==========================================================================
   Product card (catalog item with WhatsApp CTA)
   ========================================================================== */
.card-product {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 332 / 415;
  background-color: var(--gray-600);
  box-shadow: 0 20px 40px 0 rgba(24, 34, 48, 0.6);
}

@media (min-width: 1024px) {
  .card-product {
    aspect-ratio: 332 / 460;
  }
}

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

.card-product__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-300);
  background-color: var(--gray-600);
}

.card-product__placeholder-icon {
  font-size: 32px;
}

.card-product__placeholder-text {
  font-size: 14px;
  font-weight: 500;
}

.card-product__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 24px;
  background-color: rgba(71, 84, 103, 0.6);
}

@media (min-width: 1024px) {
  .card-product__overlay {
    gap: 12px;
    padding: 24px 32px;
  }
}

.card-product__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-white);
}

.card-product__desc {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-white);
}

@media (min-width: 1024px) {
  .card-product__title {
    font-size: 22px;
  }

  .card-product__desc {
    font-size: 16px;
  }
}

.card-product__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-green);
  color: var(--gray-white);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
