/*
Theme Name: Euro Suministros Home
Theme URI: https://example.com/
Author: Euro Suministros
Description: Home funcional para Euro Suministros basado en el visual principal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: euro-suministros
*/

:root {
  --blue: #0757f5;
  --blue-dark: #0141d2;
  --sky: #59c9f8;
  --orange: #ff9416;
  --orange-deep: #ff5f00;
  --text: #656565;
  --dark: #222222;
  --footer: #242424;
  --footer-bottom: #151515;
  --soft: #f2f7fa;
  --white: #ffffff;
  --container: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 72px clamp(20px, 7vw, 140px) 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}

.site-logo img {
  width: 190px;
}

.site-nav {
  justify-self: center;
  width: min(100%, 535px);
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 13px 26px;
  list-style: none;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(245, 105, 0, 0.14);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  font-weight: 800;
}

.menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.search-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.search-button svg,
.menu-toggle svg {
  width: 27px;
  height: 27px;
}

.menu-toggle {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 190px 20px 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 32%, rgba(255, 76, 0, 0.76) 0 15%, transparent 15.2%),
    radial-gradient(circle at 19% 51%, rgba(255, 84, 0, 0.52) 0 18%, transparent 18.2%),
    radial-gradient(circle at 88% 22%, rgba(255, 116, 0, 0.54) 0 22%, transparent 22.2%),
    radial-gradient(circle at 82% 72%, rgba(255, 96, 0, 0.55) 0 24%, transparent 24.2%),
    linear-gradient(135deg, #ff8b11 0%, #ffb132 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 125vw;
  height: 230px;
  pointer-events: none;
  background: rgba(255, 88, 0, 0.52);
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.home-hero::before {
  bottom: -125px;
}

.home-hero::after {
  bottom: -172px;
  background: var(--white);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 520px) minmax(300px, 560px);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 60px);
  max-width: 1050px;
  margin: 0 auto;
}

.hero-product {
  width: min(100%, 525px);
  justify-self: end;
  mix-blend-mode: normal;
}

.hero-copy {
  align-self: center;
}

.hero-eyebrow {
  margin: 0 0 -12px;
  font-size: clamp(2.3rem, 4.2vw, 4.25rem);
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 1;
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(5.8rem, 11vw, 11.8rem);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-tag {
  display: inline-flex;
  margin-top: 24px;
  padding: 5px 18px;
  color: var(--white);
  background: #0f8ef0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  transform: skew(-14deg);
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 72px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-dots span:first-child {
  background: var(--white);
}

.section {
  padding: 76px 20px;
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.section-title span,
.gradient-text {
  color: var(--sky);
}

.section-lead {
  max-width: 560px;
  margin: 28px auto 0;
  color: #6a6a6a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.22;
  text-align: center;
}

.seeds {
  padding-top: 70px;
}

.seed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  max-width: 740px;
  margin: 64px auto 88px;
}

.seed-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.seed-card__image {
  display: grid;
  place-items: end center;
  width: 100%;
  height: 130px;
}

.seed-card h3 {
  margin: 16px 0 8px;
  color: var(--blue);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  font-weight: 900;
  line-height: 0.95;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 4px 11px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.divider {
  height: 2px;
  max-width: 1125px;
  margin: 0 auto;
  background: #d7d7d7;
}

.products {
  padding-top: 92px;
  padding-bottom: 118px;
}

.products-heading {
  margin: 0 auto 28px;
  max-width: 960px;
  color: var(--blue);
  font-size: clamp(4.7rem, 10vw, 9.8rem);
  font-weight: 900;
  line-height: 0.84;
}

.products-heading span {
  color: #2ea5d3;
}

.products-feature {
  display: grid;
  grid-template-columns: minmax(300px, 545px) minmax(260px, 360px);
  align-items: center;
  gap: 38px;
  max-width: 960px;
  margin: 0 auto;
}

.products-feature img {
  width: 100%;
  border-radius: 14px;
}

.products-copy h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.82;
}

.products-copy h2 span {
  color: var(--sky);
}

.products-copy p {
  margin: 0 0 24px;
  color: #6a6a6a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 215px;
  min-height: 42px;
  padding: 8px 24px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 999px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.marangatu {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 96px 20px 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 24% 43%, #07c71d 0 17%, transparent 17.2%),
    linear-gradient(135deg, #0858f9 0%, #064ef5 48%, #2faed2 100%);
}

.marangatu::before,
.marangatu::after {
  content: "";
  position: absolute;
  border: 8px solid rgba(1, 59, 196, 0.35);
  border-radius: 50%;
}

.marangatu::before {
  width: 950px;
  height: 950px;
  left: -180px;
  top: -460px;
}

.marangatu::after {
  width: 1400px;
  height: 620px;
  right: -330px;
  bottom: -355px;
  transform: rotate(-2deg);
}

.marangatu__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(300px, 500px);
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
}

.marangatu-art {
  width: min(100%, 520px);
  justify-self: end;
}

.marangatu-copy p {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.05rem);
  font-weight: 400;
  line-height: 1;
}

.marangatu-copy h2 {
  margin: 0 0 34px;
  color: var(--white);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.82;
}

.brands {
  padding: 68px 20px 76px;
  background: #f3f9fc;
}

.brand-cloud {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.brand-cloud img {
  width: min(100%, 900px);
  opacity: 0.68;
}

.site-footer {
  color: var(--white);
  background: var(--footer);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 1fr) minmax(160px, 240px);
  align-items: start;
  gap: 58px;
  max-width: 850px;
  margin: 0 auto;
  padding: 92px 20px 82px;
}

.site-footer__logo {
  width: 265px;
}

.footer-block h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.footer-block p,
.footer-nav a {
  margin: 0;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--white);
}

.footer-social svg {
  width: 23px;
  height: 23px;
}

.footer-nav {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__bottom {
  padding: 27px 20px;
  background: var(--footer-bottom);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 30px;
  }

  .site-header__inner {
    grid-template-columns: 180px 1fr 42px;
    gap: 16px;
  }

  .site-logo img {
    width: 165px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 28px;
    background: rgba(255, 139, 17, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    display: grid;
    width: min(100%, 320px);
    gap: 12px;
    padding: 28px;
    border-radius: 24px;
  }

  .site-nav a {
    justify-content: center;
    min-height: 44px;
    font-size: 17px;
  }

  .menu-toggle {
    position: relative;
    z-index: 25;
    display: inline-grid;
    justify-self: end;
  }

  .search-button {
    display: none;
  }

  .home-hero {
    padding-top: 120px;
  }

  .home-hero__inner,
  .products-feature,
  .marangatu__inner,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .hero-product,
  .marangatu-art {
    justify-self: center;
  }

  .hero-copy,
  .products-copy,
  .marangatu-copy {
    text-align: center;
  }

  .products-heading {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    grid-template-columns: 1fr 48px;
  }

  .site-logo img {
    width: 150px;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 118px;
  }

  .home-hero__inner {
    gap: 8px;
  }

  .hero-copy {
    order: -1;
  }

  .hero-eyebrow {
    letter-spacing: 5px;
  }

  .hero-dots {
    bottom: 58px;
  }

  .section {
    padding: 56px 18px;
  }

  .section-lead,
  .products-copy p {
    font-size: 16px;
  }

  .seed-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 42px auto 58px;
  }

  .seed-card__image {
    height: 112px;
  }

  .products {
    padding-top: 60px;
    padding-bottom: 76px;
  }

  .products-heading {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .marangatu {
    min-height: auto;
    padding-top: 64px;
  }

  .brands {
    padding: 52px 18px 58px;
  }

  .site-footer__main {
    justify-items: center;
    gap: 34px;
    text-align: center;
    padding: 60px 20px;
  }

  .site-footer__logo {
    width: 220px;
  }

  .footer-social {
    justify-content: center;
  }
}
