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

body {
  margin: 0;
  font-family: "Arial", sans-serif;
  color: #1f1f1f;
  background: #ffffff;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.header-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand img {
  display: block;
  width: 90px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.btn--primary {
  background: #f1c232;
  border-color: #e0a81b;
  color: #ffffff;
}

.btn--secondary {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #ffffff;
}

.btn--wide {
  width: 100%;
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.cta-call {
  background: #f1c232;
  color: #ffffff;
}

.cta-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cta-whatsapp {
  background: #6cc04a;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 580px;
  padding: 64px 0 72px;
  background-image: url("https://firebasestorage.googleapis.com/v0/b/housenymaderas.firebasestorage.app/o/images%20-%20remodelacion%2F6acee08d-alfa.png?alt=media");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 32px;
  z-index: 1;
}

.hero__copy h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 0;
}

.hero__copy p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero__tags {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.hero__icons-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__arrow {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  object-fit: contain;
  z-index: 1;
}

.hero__icons {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.hero__icons img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hero__icons-row .btn--primary {
  padding: 12px 26px;
  font-size: 17px;
}

.hero__card {
  background: rgba(255, 255, 255, 0.95);
  color: #2a2a2a;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.hero__card h2 {
  font-size: 22px;
  margin-bottom: 4px;
  text-align: center;
}

.hero__card p {
  font-size: 16px;
  text-align: center;
  margin-bottom: 8px;
}

.hero__card input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d3d3d3;
  font-size: 16px;
}

.hero__card .btn--primary {
  color: #1d1d1d;
  font-size: 17px;
}

.form-status {
  min-height: 18px;
  font-size: 14px;
  text-align: center;
  color: #555555;
}

.form-status[data-state="success"] {
  color: #2f8a3f;
}

.form-status[data-state="error"] {
  color: #c0392b;
}

.section {
  padding: 70px 0;
}

.bar {
  background: #f1c232;
  color: #1d1d1d;
  font-weight: 700;
}

.bar__content {
  text-align: center;
  padding: 18px 24px;
  font-size: 20px;
}

.section--benefits {
  background: #f8f6f0;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__header h2 {
  font-size: 32px;
  color: #2a2a2a;
  text-transform: uppercase;
}

.section__header--light h2,
.section__header--light p {
  color: #ffffff;
}

.section__header--light p {
  margin-top: 8px;
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 32px;
}

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

.grid--work {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.grid--materiales {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
}

.section--services-modern {
  background: linear-gradient(135deg, #101010 0%, #1f1f1f 55%, #2a2a2a 100%);
  color: #ffffff;
}

.section--steps {
  position: relative;
  color: #ffffff;
  background-image: url("https://firebasestorage.googleapis.com/v0/b/housenymaderas.firebasestorage.app/o/images%20-%20remodelacion%2Fdc879921-usa-electrodomesticos.png?alt=media");
  background-size: cover;
  background-position: center;
}

.section--payment {
  background: #f1c232;
}

.payment-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.payment-card img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.payment-card p {
  font-size: 24px;
  font-weight: 700;
  color: #2a2a2a;
}

.grid--testimonios {
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}

.testimonios__title h2 {
  font-size: 32px;
  text-transform: uppercase;
  color: #2a2a2a;
  margin: 0;
  text-align: center;
}

.testimonial-card {
  width: 100%;
  max-width: 320px;
  padding: 28px 24px;
  border-radius: 28px;
  text-align: center;
}

.testimonial-card--yellow {
  background: #f1c232;
  color: #ffffff;
}

.testimonial-card--dark {
  background: #1f1f1f;
  color: #ffffff;
}

.testimonial__avatar {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.testimonial-card span {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.45;
}

.section--cta {
  position: relative;
  color: #ffffff;
  background-image: url("https://firebasestorage.googleapis.com/v0/b/housenymaderas.firebasestorage.app/o/images%20-%20remodelacion%2Fd88ffe95-color-vida-y-singularidad-2.png?alt=media");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cta__content {
  position: relative;
  z-index: 1;
  padding: 16px 20px;
}

.cta__content h2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.cta__content p {
  font-size: 20px;
  margin-bottom: 20px;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta__actions .btn {
  min-width: 260px;
  justify-content: center;
  font-size: 17px;
  padding: 12px 22px;
}

.site-footer {
  background: #ffffff;
  color: #7a7a7a;
  border-top: 1px solid #e6e6e6;
}

.footer__content {
  padding: 20px 24px;
  text-align: right;
  font-size: 13px;
}

.btn-whatsapp {
  background: #6cc04a;
  border-color: #3ea83f;
  color: #ffffff;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.steps__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.steps__content {
  position: relative;
  z-index: 1;
}

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

.step {
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(1px);
}

.step img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.step h3 {
  font-size: 18px;
  color: #f1c232;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  line-height: 1.5;
  color: #f2f2f2;
}

.grid--services-modern {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.services-modern__cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.service-modern-card {
  padding: 30px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  text-align: center;
}

.service-modern-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.service-modern-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-modern-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.service-modern-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.card--material {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card--material img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.material__label {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: #111111;
  color: #ffffff;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.work-card {
  text-align: center;
}

.work-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.work-card span {
  margin: 14px auto 0;
  display: inline-block;
  background: #111111;
  color: #ffffff;
  padding: 12px 26px;
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.card--feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  text-align: center;
}

.feature__icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.card--feature h3 {
  margin: 0 0 8px;
  color: #f1c232;
  font-size: 22px;
}

.card--feature p {
  margin: 0;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.5;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.benefits__media img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.benefits__content h2 {
  font-size: 28px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.benefits__content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.benefits__list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.benefits__list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.benefits__list img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.benefits__list h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f1c232;
}

.benefits__list p {
  margin: 0;
  color: #4a4a4a;
}

.benefits__footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .hero {
    padding: 0 0 56px;
    background-image: none;
  }

  .hero__overlay {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "tags"
      "form"
      "desc";
    gap: 24px;
  }

  .hero__copy {
    display: contents;
  }

  .hero__title {
    grid-area: title;
    position: relative;
    min-height: 320px;
    padding: 24px 20px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url("https://firebasestorage.googleapis.com/v0/b/housenymaderas.firebasestorage.app/o/images%20-%20remodelacion%2F6acee08d-alfa.png?alt=media");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .hero__title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }

  .hero__title h1 {
    position: relative;
    z-index: 1;
    font-size: 24px;
    margin: 0;
    text-align: center;
  }

  .hero__text {
    color: #2a2a2a;
    text-align: center;
    display: contents;
  }

  .hero__tags {
    grid-area: tags;
  }

  .hero__desc {
    grid-area: desc;
  }

  .hero__icons-row {
    display: none;
  }

  .hero__card {
    grid-area: form;
    max-width: 100%;
    justify-self: stretch;
  }

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

  .grid--services-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .payment-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .cta__actions {
    width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__content {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
  }

  .header-actions {
    justify-content: center;
  }

  .hero__icons-row {
    justify-content: center;
  }

  .benefits__footer {
    flex-direction: column;
  }

  .benefits__footer .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .grid--services-modern {
    grid-template-columns: 1fr;
  }

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

  .card--feature {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .feature__body {
    text-align: center;
  }
}
