/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 3.5rem;

  /* ===== Colors ===== */
  --primary-color: #1b6bad;
  --primary-color-alt: #1d4ed8;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-color: #374151;
  --text-color-light: #6b7280;
  --title-color: #111827;
  --body-color: #f9fafb;
  --container-color: #ffffff;
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /* ===== Font and Typography ===== */
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /* ===== Font Weight ===== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ===== Margins Bottom ===== */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* ===== Z Index ===== */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.875rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.section {
  padding: 4rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-0-75);
}

.section__subtitle {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
}

.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.button:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--container-color);
  box-shadow: 0 -1px 4px var(--shadow-color);
}

.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav__menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 4rem;
  box-shadow: 0 -1px 4px var(--shadow-color);
  border-radius: 1.5rem 1.5rem 0 0;
  transition: 0.3s;
}

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

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

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

.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.nav__close:hover {
  color: var(--primary-color-alt);
}

.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
  cursor: pointer;
  font-size: 1.1rem;
}

.nav__toggle:hover {
  color: var(--primary-color);
}

/* Show menu */
.show-menu {
  bottom: 0;
}

/* ===== HERO ===== */
.hero {
  padding-top: 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
}

.hero__title-accent {
  color: var(--secondary-color);
}

.hero__description {
  margin-bottom: var(--mb-2);
  font-size: var(--normal-font-size);
  opacity: 0.9;
}

.hero__button {
  background-color: var(--secondary-color);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.hero__button:hover {
  background-color: #f59e0b;
  transform: translateY(-2px);
}

.hero__icon {
  font-size: 8rem;
  opacity: 0.1;
  text-align: center;
}

/* ===== ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  align-items: start;
}

.about-text {
  max-width: 600px;
}

.about-description {
  font-size: var(--normal-font-size);
  color: var(--gray-600);
  margin-bottom: var(--spacing-8);
  line-height: 1.7;
  text-align: justify;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font-weight: var(--font-medium);
}

.feature i {
  color: var(--accent-color);
  font-size: var(--normal-font-size);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-6);
}

.value-card {
  background: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4);
}

.value-icon i {
  font-size: var(--h3-font-size);
  color: var(--white);
}

.value-card h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
}

.value-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

.about__slogan {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-style: italic;
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  box-shadow: 0 4px 8px var(--shadow-color);
  margin: var(--mb-2) 0;
}

.about__slogan i {
  font-size: 1.2rem;
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* ===== PRODUCTS ===== */
.products {
  background-color: var(--container-color);
}

.products__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  justify-items: stretch;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.product__card {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 6px 12px var(--shadow-color);
  transition: 0.3s;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.product__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.product__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.product__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--title-color);
  line-height: 1.3;
}

.product__description {
  color: var(--text-color-light);
  text-align: justify;
  margin-bottom: var(--mb-2);
  flex-grow: 0;
  line-height: 1.6;
  height: 15rem;
}

.product__features {
  text-align: left;
  flex-grow: 1;
  margin-top: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.product__features h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.product__features ul {
  list-style: none;
  padding: 0;
}

.product__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.4;
}

.product__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: var(--font-bold);
  font-size: var(--normal-font-size);
}

/* ===== SERVICES ===== */
.services__content {
  display: grid;
  gap: 3rem;
}

.services__list {
  display: grid;
  gap: 2rem;
}

.service__item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: 0.3s;
}

.service__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.service__icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--title-color);
}

.service__description {
  color: var(--text-color-light);
}

.services__differentials {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}

.differentials__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--primary-color);
  text-align: center;
}

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

.differential__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
}

.differential__item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* ===== RESELLER ===== */
.reseller {
  background-color: var(--container-color);
}

.reseller__content {
  display: grid;
  gap: 3rem;
}

.reseller__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.reseller__description {
  margin-bottom: var(--mb-2);
  text-align: justify;
}

.benefits__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--title-color);
}

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

.benefit__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
}

.benefit__item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* ===== CONTACT ===== */
.contact__content {
  display: grid;
  gap: 3rem;
}

.contact__info {
  display: grid;
  gap: 2rem;
}

.contact__card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}

.contact__icon {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.contact__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-0-25);
}

.contact__whatsapp {
  color: #25D366;
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.contact__whatsapp:hover {
  color: #128C7E;
  text-decoration: underline;
}

.contact__social {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--shadow-color);
  text-align: center;
}

.social__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--title-color);
}

.social__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social__link:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

/* ===== CAREERS ===== */
.careers {
  background-color: var(--container-color);
}

.careers__content {
  display: grid;
  gap: 3rem;
}

.careers__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.careers__description {
  margin-bottom: var(--mb-2);
  text-align: justify;
}

.areas__title,
.profile__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--title-color);
}

.areas__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.area__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  background-color: var(--body-color);
  padding: 1rem;
  border-radius: 0.5rem;
}

.area__item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.profile__list {
  display: grid;
  gap: 0.5rem;
}

.profile__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-color);
}

.profile__list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: var(--font-bold);
}

/* ===== FORMS ===== */
.form__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}

.form__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-2);
  color: var(--title-color);
  text-align: center;
}

.form__group {
  margin-bottom: var(--mb-1-5);
}

.form__label {
  display: block;
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.form__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: 0.3s;
}

.form__input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__file {
  padding: 0.75rem;
}

.form__button {
  width: 100%;
  padding: 1rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--title-color);
  padding-top: 3rem;
  color: #fff;
}

.footer__content {
  display: grid;
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--mb-1);
}

.footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.footer__description {
  margin-bottom: var(--mb-1);
  opacity: 0.8;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--secondary-color);
}

.footer__links,
.footer__info {
  display: grid;
  gap: 0.5rem;
}

.footer__link {
  color: #fff;
  opacity: 0.8;
  transition: 0.3s;
}

.footer__link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer__info li {
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer__social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

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

.footer__copy {
  opacity: 0.8;
  font-size: var(--small-font-size);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  visibility: hidden;
}

.scroll-top:hover {
  background-color: var(--primary-color-alt);
}

.show-scroll {
  visibility: visible;
  bottom: 5rem;
}

/* ===== MEDIA QUERIES ===== */
/* For mobile devices */
@media screen and (max-width: 768px) {
  /* Hide navigation menu on mobile */
  .nav__menu {
    display: none !important;
  }
  
  /* Hide hero image on mobile */
  .hero__img,
  .hero-visual {
    display: none !important;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }

  .nav__list {
    column-gap: 0;
  }

  .hero__title {
    font-size: var(--h1-font-size);
  }

  .about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: stretch;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values__card {
    padding: 2.5rem;
  }
  
  .about__values {
    margin: var(--mb-2) 0;
  }

  .products__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }
  
  .product__card {
    max-width: 100%;
    min-height: auto;
    padding: 2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .hero__container,
  .about-content,
  .reseller__content,
  .contact__content,
  .careers__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: stretch;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .values__card {
    padding: 3rem;
  }
  
  .about__values {
    margin: var(--mb-2-5) 0;
  }

  .products__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 2rem;
  }

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

  .reseller__content,
  .contact__content,
  .careers__content {
    column-gap: 4rem;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  body {
    margin: 0;
  }

  .section {
    padding: 6rem 0 2rem;
  }

  .header {
    top: 0;
    bottom: initial;
    box-shadow: 0 1px 4px var(--shadow-color);
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__menu {
    position: initial;
    margin-left: auto;
    width: initial;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    flex-direction: row;
    font-size: var(--normal-font-size);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .footer__content {
    grid-template-columns: repeat(4, 1fr);
  }

  .show-scroll {
    bottom: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__container {
    column-gap: 4rem;
  }

  .hero__icon {
    font-size: 12rem;
  }

  .about-content {
    column-gap: 5rem;
    gap: 4rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .values__card {
    padding: 3.5rem;
  }
  
  .about__values {
    margin: var(--mb-3) 0;
  }

  .products__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 0 2rem;
  }

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

  .reseller__content,
  .contact__content,
  .careers__content {
    column-gap: 4rem;
  }
}

@media screen and (min-width: 1200px) {
  .hero__container {
    column-gap: 6rem;
  }

  .products__content {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 3rem;
    max-width: 1400px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== ACTIVE LINK ===== */
.active-link {
  color: var(--primary-color);
}
