:root {
  --green: #396f35;
  --dark: #222222;
  --gray: #777777;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --max: 1140px;
  --nav-height: 68px;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Font Awesome 6 Regular";
  src: url("../fonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  margin: 0;
  color: var(--gray);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  color: var(--dark);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  color: var(--green);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 18px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 920px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  display: none;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 0;
}

.topbar a {
  color: var(--white);
}

.brandbar {
  background: var(--white);
}

.brandbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  padding: 20px 0;
}

.logo img {
  width: 300px;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid #d9d9d9;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--dark);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.main-nav a {
  display: block;
  min-width: 132px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  color: var(--green);
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.section {
  padding: 50px 0;
}

.section--tint {
  background: var(--light-gray);
}

#nosotros .container {
  max-width: 980px;
}

.intro h2 {
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.intro p,
.mission,
.experience h2,
.products h2,
.contact h2 {
  text-align: center;
}

.experience h2,
.products h2,
.reasons h2 {
  color: var(--green);
}

.experience h2,
.products h2 {
  margin-bottom: 46px;
  font-size: 44px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
  align-items: center;
}

.logo-grid a {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.logo-grid img {
  max-height: 112px;
  object-fit: contain;
}

.check-list {
  padding-left: 22px;
  margin: 0 0 22px;
}

.check-list li {
  margin-bottom: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.button:hover,
.button:focus {
  background: var(--green);
  color: var(--white);
}

.mission h3 {
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.certificate {
  margin: 12px auto 0;
}

.two-col {
  display: flex;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
}

.two-col article {
  flex: 0 0 calc(50% - 80px);
  max-width: calc(50% - 80px);
}

.two-col article + article {
  margin-left: 160px;
}

.two-col h3 {
  margin-bottom: 28px;
  padding: 20px 22px;
  background: var(--green);
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.two-col p {
  color: #777777;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.22;
  text-align: center;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 42px;
}

.icon-text {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}

.icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.fa-icon {
  font-style: normal;
  text-rendering: auto;
}

.fa-solid {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fa-regular {
  font-family: "Font Awesome 6 Regular";
  font-weight: 400;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.icon-text h3 {
  margin-bottom: 9px;
  font-size: 20px;
  font-weight: 500;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
}

.product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #dddddd;
  padding: 56px 70px 22px;
  background: var(--white);
  color: var(--dark);
  text-align: center;
}

.product__logo {
  width: auto;
  max-height: 150px;
  margin-bottom: 64px;
  object-fit: contain;
}

.product h3 {
  width: 100%;
  min-height: 78px;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  color: var(--dark);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.product__photo {
  width: min(100%, 520px);
  aspect-ratio: 395 / 263;
  object-fit: cover;
}

.cta-band {
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.cta-band h2,
.cta-band p,
.cta-band a {
  color: var(--white);
}

.cta-band h2 {
  font-size: 25px;
}

.cta-band p {
  font-size: 20px;
}

.cta-band a {
  display: inline-block;
  font-size: 35px;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

.contact-item {
  border: 1px solid #dddddd;
  padding: 18px;
  background: #fafafa;
  text-align: center;
}

.contact-item strong,
.contact-item a {
  display: block;
}

.contact-item strong {
  margin-bottom: 8px;
  color: var(--dark);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #777777;
  padding: 14px 16px;
  color: var(--gray);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form button {
  justify-self: start;
  min-height: 56px;
  border: 0;
  border-radius: 3px;
  padding: 12px 26px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.contact-form button:hover,
.contact-form button:focus {
  background: var(--dark);
}

.form-note {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  text-align: center;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  color: var(--dark);
  background: #f7f7f7;
}

.form-status.is-success {
  border-color: var(--green);
  color: var(--green);
  background: #f3faf2;
}

.form-status.is-error {
  border-color: #b00020;
  color: #b00020;
  background: #fff6f8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.contact-grid article {
  min-height: 160px;
}

.contact-grid a {
  display: block;
  color: inherit;
}

.contact-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  background: transparent;
  color: var(--green);
  font-size: 66px;
}

.contact-grid h3 {
  font-size: 16px;
  font-weight: 700;
}

.site-footer {
  padding: 18px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer a,
.site-footer span {
  color: var(--white);
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.to-top-float,
.whatsapp-float {
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
}

.to-top-float {
  display: none;
  background: var(--green);
  font-size: 26px;
  font-weight: 700;
}

.to-top-float.is-visible {
  display: flex;
}

.whatsapp-float {
  display: flex;
  background: #25d366;
}

.whatsapp-float img {
  display: block;
  width: 28px;
  height: 28px;
}

.policy h1 {
  text-align: left;
}

.signature {
  color: var(--dark);
  font-weight: 700;
  text-align: right;
}

@media (max-width: 820px) {
  body {
    font-size: 18px;
    line-height: 1.25;
  }

  h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .section {
    padding: 40px 0;
  }

  .brandbar__inner {
    min-height: 100px;
  }

  .logo img {
    width: 230px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    gap: 8px;
    flex-direction: column;
    text-align: center;
  }

  .main-nav.is-open ul {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
  }

  .split,
  .two-col,
  .reason-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    flex-direction: column;
    gap: 46px;
  }

  .two-col article {
    flex: 0 0 auto;
    max-width: none;
  }

  .two-col article + article {
    margin-left: 0;
    margin-top: 46px;
  }

  .experience h2,
  .products h2 {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .two-col h3 {
    margin-bottom: 18px;
    padding: 14px 18px;
    font-size: 18px;
  }

  .two-col p {
    font-size: 18px;
  }

  .logo-grid {
    gap: 12px 18px;
  }

  .logo-grid a {
    min-height: 90px;
  }

  .logo-grid img {
    max-height: 82px;
  }

  .product h3 {
    min-height: auto;
  }

  .product {
    padding: 30px 18px 14px;
  }

  .product__logo {
    max-height: 100px;
    margin-bottom: 28px;
  }

  .product h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .contact-form-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-grid {
    gap: 32px;
  }
}
