:root {
  --orange: #f47c20;
  --orange-dark: #d96512;
  --gray-dark: #2f2f2f;
  --gray-medium: #5f5f5f;
  --gray-light: #f2f2f2;
  --white: #ffffff;
  --black: #111111;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  max-width: 220px;
  /* max-height:100px; */
  object-fit: contain;
}

.menu {
  display: flex;
  list-style: none;
  gap: 26px;
}

.menu a {
  font-weight: 700;
  color: var(--gray-dark);
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--gray-light);
  color: var(--gray-dark);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gray-dark);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--black);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--orange);
}

.btn-light:hover {
  background: var(--gray-light);
}

.hero {
  padding: 90px 0;
  background:
    linear-gradient(120deg, rgba(47, 47, 47, 1), rgba(47, 47, 47, 0.1)),
    url("../img/fondo-hero.png") center/cover no-repeat;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.badge,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 650px;
  color: #eeeeee;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-heading h2,
.about h2,
.benefits h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--gray-medium);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about p {
  font-size: 1.08rem;
  color: var(--gray-medium);
}

.cards-grid {
  display: grid;
  gap: 28px;
}

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

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

.product-card,
.service-card,
.benefits-box,
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card img {
  height: 350px;
  object-fit: cover;
}

.card-content {
  padding: 28px;
}

.card-content h3,
.service-card h3,
.benefits-box h3 {
  font-size: 1.45rem;
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.card-content p,
.service-card p,
.benefits-box p {
  color: var(--gray-medium);
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 800;
}

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

.service-card {
  padding: 34px 26px;
  text-align: center;
}

.service-card i {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.benefits-list {
  list-style: none;
  margin-top: 28px;
}

.benefits-list li {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--gray-medium);
}

.benefits-list i {
  color: var(--orange);
  margin-right: 10px;
}

.benefits-box {
  padding: 40px;
  background: var(--gray-dark);
  color: var(--white);
}

.benefits-box h3 {
  color: var(--white);
}

.benefits-box p {
  color: #dddddd;
  margin-bottom: 24px;
}

.cta {
  padding: 80px 0;
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 28px;
  font-size: 1.1rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  margin-top: 28px;
}

.contact-info p {
  margin-bottom: 14px;
  color: var(--gray-medium);
}

.contact-info i {
  color: var(--orange);
  margin-right: 10px;
}

.contact-form {
  padding: 34px;
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid #d5d5d5;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  background: var(--gray-dark);
  color: var(--white);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  z-index: 200;
  box-shadow: var(--shadow);
}

.thanks-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  padding: 20px;
}

.thanks-card {
  max-width: 720px;
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow);
}

.thanks-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.thanks-card h1 {
  color: var(--gray-dark);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.thanks-card p {
  color: var(--gray-medium);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.next-step {
  background: #f8f8f8;
  border-left: 5px solid var(--orange);
  text-align: left;
  padding: 20px;
  margin-top: 35px;
  border-radius: 12px;
}

.next-step h3 {
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.next-step ul {
  margin: 0;
  padding-left: 20px;
  color: var(--gray-medium);
}

.next-step li {
  margin-bottom: 8px;
}

.thanks-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1ea952;
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 4%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .btn-header {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 74px;
  }

  .hero,
  .section {
    padding: 70px 0;
  }

  .two-columns,
  .four-columns {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .thanks-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .thanks-card {
    padding: 35px 25px;
  }

  .thanks-card h1 {
    font-size: 2rem;
  }
}

/* ================== VALORES======================== */
.company-values .two-columns {
  margin-bottom: 30px;
}

.values-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.values-header {
  text-align: center;
  margin-bottom: 30px;
}

.values-header i {
  width: 70px;
  height: 70px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.values-header h3 {
  color: var(--gray-dark);
  font-size: 1.8rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-item {
  background: var(--gray-light);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-item i {
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.value-item span {
  display: block;
  font-weight: 700;
  color: var(--gray-dark);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-producto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  margin-top: 20px;
  padding: 15px;

  background: linear-gradient(135deg, var(--orange), var(--orange-dark));

  color: #fff;
  border-radius: 999px;

  font-weight: 700;
  letter-spacing: 0.3px;

  transition: all 0.3s ease;
}

.btn-producto:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(244, 124, 32, 0.35);
}

.btn-producto i {
  transition: 0.3s;
}

.btn-producto:hover i {
  transform: translateX(5px);
}

.contact-info a {
  color: var(--gray-medium);
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: var(--orange);
}

.contact-info a i {
  color: var(--orange);
  margin-right: 10px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.benefits-box {
  position: relative;
  overflow: hidden;

  padding: 40px;
  border-radius: var(--radius);

  background:
    linear-gradient(rgba(47, 47, 47, 0.8), rgba(47, 47, 47, 0.8)),
    url("../img/fondo_bloc.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
}

.benefits-box h3,
.benefits-box p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.benefits-box .btn {
  position: relative;
  z-index: 2;
}
