:root {
  --about-purple: #682470;
  --about-purple-dark: #3f1646;
  --about-lime: #c2e204;
  --about-ink: #202020;
  --about-muted: #666666;
  --about-white: #ffffff;
  --about-soft: #fbfaf7;
  --about-border: rgba(104, 36, 112, 0.14);
  --about-shadow: 0 18px 45px rgba(28, 16, 32, 0.12);
}

.cide-coded-about .site-content {
  background: var(--about-white);
}

.cide-about-page {
  color: var(--about-ink);
  font-family: "Open Sans", Arial, sans-serif;
  overflow: hidden;
}

.cide-about-page * {
  box-sizing: border-box;
}

.about-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.about-eyebrow {
  margin: 0 0 12px;
  color: var(--about-lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cide-about-page h1,
.cide-about-page h2,
.cide-about-page h3 {
  color: var(--about-ink);
  font-family: Raleway, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.cide-about-page h1 {
  color: var(--about-white);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  text-transform: uppercase;
}

.cide-about-page h2 {
  font-size: clamp(2rem, 3.4vw, 3.55rem);
}

.cide-about-page p {
  font-size: 1rem;
  line-height: 1.75;
}

.about-hero {
  background-color: var(--about-purple);
  background-image:
    url("http://cideandrade-local.local/wp-content/uploads/2024/08/4d86b539faf450aa82121bfce7f9e4a2.png"),
    url("http://cideandrade-local.local/wp-content/uploads/2024/08/Recurso-3logo-2.png");
  background-position: bottom left, bottom right;
  background-repeat: no-repeat, no-repeat;
  background-size: 22% auto, 18% auto;
  padding: 68px 0 76px;
}

.about-hero__grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.about-hero__copy p:not(.about-eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  margin: 22px 0 0;
  max-width: 660px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.about-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.about-btn--primary {
  background: var(--about-lime);
  box-shadow: 0 14px 28px rgba(194, 226, 4, 0.28);
  color: #1c1c1c;
}

.about-btn--primary:hover {
  color: #1c1c1c;
}

.about-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--about-white);
}

.about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--about-white);
}

.about-hero__visual {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  box-shadow: var(--about-shadow);
  padding: 26px;
}

.about-hero__visual img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.about-section {
  padding: 86px 0;
}

.about-history__grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
}

.about-history__visual img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.about-history .about-eyebrow,
.about-section .about-eyebrow {
  color: var(--about-purple);
}

.about-history p:not(.about-eyebrow),
.about-card p,
.about-section__head p {
  color: var(--about-muted);
}

.about-purpose {
  background: var(--about-soft);
}

.about-section__head {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.about-purpose__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card,
.about-principle {
  background: var(--about-white);
  border: 1px solid var(--about-border);
  border-radius: 28px;
  box-shadow: 0 12px 34px rgba(28, 16, 32, 0.07);
}

.about-card {
  padding: 34px;
}

.about-card img {
  height: 74px;
  margin-bottom: 24px;
  object-fit: contain;
  width: 74px;
}

.about-card h3 {
  font-size: 1.55rem;
}

.about-principles__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-principle {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  justify-content: center;
  padding: 28px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-principle:hover {
  box-shadow: var(--about-shadow);
  transform: translateY(-4px);
}

.about-principle img {
  height: 96px;
  margin-bottom: 20px;
  object-fit: contain;
  width: 96px;
}

.about-principle h3 {
  font-size: 1.35rem;
}

.about-final {
  background: var(--about-soft);
  padding: 86px 0 110px;
}

.about-final__box {
  align-items: center;
  background: var(--about-purple);
  border-radius: 34px;
  box-shadow: var(--about-shadow);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 54px);
}

.about-final h2 {
  color: var(--about-white);
  max-width: 720px;
}

.about-final .about-eyebrow {
  color: var(--about-lime);
}

.about-whatsapp {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 34px rgba(20, 132, 62, 0.34);
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  position: fixed;
  right: 22px;
  text-decoration: none;
  z-index: 999;
}

.about-whatsapp:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.about-whatsapp span {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.82rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.cide-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.cide-reveal.is-visible,
.no-js .cide-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .about-hero__grid,
  .about-history__grid,
  .about-purpose__grid {
    grid-template-columns: 1fr;
  }

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

  .about-history__visual {
    order: 2;
  }
}

@media (max-width: 720px) {
  .about-shell {
    width: min(100% - 28px, 1180px);
  }

  .about-hero {
    padding: 62px 0;
  }

  .about-actions,
  .about-actions .about-btn,
  .about-final .about-btn {
    width: 100%;
  }

  .about-section {
    padding: 64px 0;
  }

  .about-principles__grid {
    grid-template-columns: 1fr;
  }

  .about-final__box {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-whatsapp {
    bottom: 14px;
    left: 14px;
    right: 14px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cide-about-page *,
  .cide-reveal {
    transition: none !important;
  }
}
