
/* =========================================
   SAYACMARCA — ESTILOS DE PÁGINA
   PALETA AZUL MARINO + NARANJA
========================================= */

.sayac-page {
  --sayac-petroleo: #14253d;
  --sayac-turquesa: #ff9624;
  --sayac-menta: #ff9624;
  --sayac-crema: #f5f7f9;
  --sayac-oscuro: #14253d;
  --sayac-blanco: #ffffff;
  --sayac-texto: #263140;

  --sayac-rojo: #f02f36;
  --sayac-rojo-dark: #d91f2b;
  --sayac-naranja-dark: #f47d0d;
  --sayac-muted: #6d7785;
  --sayac-line: #dfe4e8;

  color: var(--sayac-oscuro);
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.sayac-page *,
.sayac-page *::before,
.sayac-page *::after {
  box-sizing: border-box;
}

.sayac-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.sayac-page h1,
.sayac-page h2,
.sayac-page h3,
.sayac-page p {
  margin-top: 0;
}

.sayac-page h1,
.sayac-page h2,
.sayac-page h3 {
  font-family: "Playfair Display", serif;
  color: var(--sayac-oscuro);
}

.sayac-page h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sayac-page h2 span,
.sayac-page h1 span {
  color: var(--sayac-turquesa);
}

.sayac-page p {
  line-height: 1.85;
}

/* SECCIONES GENERALES */

.sayac-section {
  padding-block: 105px;
}

.sayac-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--sayac-menta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.7;
}

.sayac-eyebrow--dark {
  color: var(--sayac-turquesa);
}

/* BOTONES */

.sayac-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease,
    transform 0.25s ease, border-color 0.25s ease;
}

.sayac-button:hover {
  transform: translateY(-3px);
}

.sayac-button--light {
  color: var(--sayac-oscuro);
  background: var(--sayac-crema);
}

.sayac-button--light:hover {
  background: var(--sayac-blanco);
}

.sayac-button--dark {
  color: var(--sayac-blanco);
  background: var(--sayac-rojo);
}

.sayac-button--dark:hover {
  background: var(--sayac-rojo-dark);
}

.sayac-text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  color: var(--sayac-rojo);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.sayac-text-link span {
  transition: transform 0.2s ease;
}

.sayac-text-link:hover span {
  transform: translate(3px, -3px);
}

/* HERO */

.sayac-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 690px;
  min-height: min(790px, 88svh);
  color: var(--sayac-blanco);
  background: var(--sayac-petroleo);
  isolation: isolate;
}

.sayac-hero__image,
.sayac-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.sayac-hero__image {
  background-image: url("https://images.unsplash.com/photo-1526392060635-9d6019884377?auto=format&fit=crop&w=2200&q=90");
  background-position: center 48%;
  background-size: cover;
  transform: scale(1.01);
}

.sayac-hero__overlay {
  background:
    linear-gradient(90deg, rgba(20, 37, 61, 0.90) 0%, rgba(20, 37, 61, 0.62) 53%, rgba(20, 37, 61, 0.15) 100%),
    linear-gradient(0deg, rgba(20, 37, 61, 0.40), transparent 45%);
}

.sayac-hero__content {
  padding-block: 95px;
}

.sayac-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.sayac-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.sayac-breadcrumb a:hover {
  color: var(--sayac-menta);
}

.sayac-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--sayac-blanco);
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.sayac-hero h1 span {
  color: var(--sayac-menta);
}

.sayac-hero__content > p {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
}

.sayac-hero__label {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
}

.sayac-hero__label-line {
  width: 38px;
  height: 1px;
  background: var(--sayac-menta);
}

/* INTRODUCCIÓN */

.sayac-intro {
  background: var(--sayac-crema);
}

.sayac-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.sayac-intro__heading h2 {
  margin-bottom: 0;
}

.sayac-intro__text p {
  color: var(--sayac-muted);
}

.sayac-intro__text p:last-of-type {
  margin-bottom: 25px;
}

/* IMAGEN DESTACADA */

.sayac-feature {
  position: relative;
  min-height: 490px;
  background: var(--sayac-oscuro);
}

.sayac-feature__image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(20, 37, 61, 0.76), transparent 55%),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=85");
  background-position: center;
  background-size: cover;
}

.sayac-feature__caption {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 40px;
  left: max(24px, calc((100% - 1160px) / 2));
  color: var(--sayac-blanco);
}

.sayac-feature__caption span {
  display: block;
  margin-bottom: 10px;
  color: var(--sayac-menta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.sayac-feature__caption p {
  max-width: 650px;
  margin-bottom: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
}

/* HISTORIA */

.sayac-history {
  background: var(--sayac-blanco);
}

.sayac-history__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 85px;
  align-items: center;
}

.sayac-history__image-wrap {
  position: relative;
  min-height: 560px;
}

.sayac-history__image-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sayac-history__image-note {
  position: absolute;
  right: -25px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  padding: 22px 26px;
  color: var(--sayac-blanco);
  background: var(--sayac-petroleo);
}

.sayac-history__image-note span {
  color: var(--sayac-menta);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.sayac-history__image-note strong {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.sayac-history__content > p {
  color: var(--sayac-muted);
}

.sayac-history__content .sayac-button {
  margin-top: 12px;
}

/* QUÉ VER */

.sayac-highlights {
  background: #f5f7f9;
}

.sayac-section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.sayac-section-heading > p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--sayac-muted);
}

.sayac-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sayac-card {
  position: relative;
  min-height: 310px;
  padding: 30px 24px;
  border: 1px solid rgba(20, 37, 61, 0.12);
  background: var(--sayac-blanco);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sayac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(20, 37, 61, 0.10);
}

.sayac-card__number {
  position: absolute;
  top: 25px;
  right: 23px;
  color: #aab3bf;
  font-size: 0.76rem;
  font-weight: 700;
}

.sayac-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--sayac-naranja-dark);
  background: #fff3e5;
  font-size: 1.65rem;
}

.sayac-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.sayac-card p {
  margin-bottom: 0;
  color: var(--sayac-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* EXPERIENCIA */

.sayac-experience {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  color: var(--sayac-blanco);
  background: var(--sayac-petroleo);
  isolation: isolate;
}

.sayac-experience__image,
.sayac-experience::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.sayac-experience__image {
  background-image: url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=2000&q=85");
  background-position: center;
  background-size: cover;
}

.sayac-experience::after {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(20, 37, 61, 0.93),
    rgba(20, 37, 61, 0.62) 65%,
    rgba(20, 37, 61, 0.25)
  );
}

.sayac-experience__content {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 90px;
}

.sayac-experience h2 {
  max-width: 780px;
  color: var(--sayac-blanco);
}

.sayac-experience h2 span {
  color: var(--sayac-menta);
}

.sayac-experience__content p {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
}

/* CONSEJOS */

.sayac-tips {
  background: var(--sayac-crema);
}

.sayac-tips__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 95px;
  align-items: start;
}

.sayac-tips__heading > p {
  max-width: 420px;
  color: var(--sayac-muted);
}

.sayac-tips__list {
  border-top: 1px solid rgba(20, 37, 61, 0.18);
}

.sayac-tip {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(20, 37, 61, 0.18);
}

.sayac-tip__number {
  padding-top: 3px;
  color: var(--sayac-turquesa);
  font-size: 0.8rem;
  font-weight: 700;
}

.sayac-tip h3 {
  margin-bottom: 9px;
  font-size: 1.25rem;
}

.sayac-tip p {
  margin-bottom: 0;
  color: var(--sayac-muted);
  font-size: 0.9rem;
}

/* PREGUNTAS FRECUENTES */

.sayac-faq {
  background: var(--sayac-blanco);
}

.sayac-faq__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 85px;
  align-items: start;
}

.sayac-faq__heading {
  margin-bottom: 0;
}

.sayac-accordion {
  border-top: 1px solid var(--sayac-line);
}

.sayac-faq-item {
  border-bottom: 1px solid var(--sayac-line);
}

.sayac-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  color: var(--sayac-oscuro);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}

.sayac-faq-question > span:first-child {
  flex: 1;
}

.sayac-faq-symbol {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--sayac-naranja-dark);
  background: #fff3e5;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.sayac-faq-question[aria-expanded="true"] .sayac-faq-symbol {
  transform: rotate(45deg);
}

.sayac-faq-answer {
  padding: 0 40px 22px 0;
}

.sayac-faq-answer p {
  margin-bottom: 0;
  color: var(--sayac-muted);
  font-size: 0.92rem;
}

/* CTA FINAL */

.sayac-cta {
  position: relative;
  overflow: hidden;
  color: var(--sayac-blanco);
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(255, 150, 36, 0.18),
      transparent 35%
    ),
    var(--sayac-petroleo);
}

.sayac-cta__inner {
  padding-block: 100px;
  text-align: center;
}

.sayac-cta h2 {
  color: var(--sayac-blanco);
}

.sayac-cta h2 span {
  color: var(--sayac-menta);
}

.sayac-cta p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.83);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .sayac-intro__grid,
  .sayac-history__grid,
  .sayac-tips__grid,
  .sayac-faq__grid {
    gap: 48px;
  }

  .sayac-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sayac-history__image-wrap {
    min-height: 500px;
  }
}

@media (max-width: 700px) {
  .sayac-container {
    width: min(100% - 36px, 560px);
  }

  .sayac-section {
    padding-block: 70px;
  }

  .sayac-hero {
    min-height: 680px;
    min-height: 82svh;
  }

  .sayac-hero__image {
    background-position: center;
  }

  .sayac-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(20, 37, 61, 0.88),
        rgba(20, 37, 61, 0.48)
      ),
      linear-gradient(
        0deg,
        rgba(20, 37, 61, 0.45),
        transparent
      );
  }

  .sayac-hero__content {
    padding-block: 65px 95px;
  }

  .sayac-breadcrumb {
    margin-bottom: 38px;
    font-size: 0.7rem;
  }

  .sayac-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .sayac-hero__content > p {
    font-size: 0.95rem;
  }

  .sayac-hero__label {
    right: 18px;
    bottom: 22px;
    font-size: 0.68rem;
  }

  .sayac-intro__grid,
  .sayac-history__grid,
  .sayac-tips__grid,
  .sayac-faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sayac-feature {
    min-height: 350px;
  }

  .sayac-feature__caption {
    right: 20px;
    bottom: 25px;
    left: 20px;
  }

  .sayac-history__image-wrap {
    min-height: 400px;
  }

  .sayac-history__image-note {
    right: -5px;
    bottom: 18px;
    min-width: 190px;
    padding: 17px 20px;
  }

  .sayac-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sayac-card {
    min-height: 0;
    padding: 25px;
  }

  .sayac-card__icon {
    margin-bottom: 22px;
  }

  .sayac-experience {
    min-height: 490px;
  }

  .sayac-experience__content {
    width: calc(100% - 36px);
    padding-block: 75px;
  }

  .sayac-tip {
    grid-template-columns: 35px 1fr;
    gap: 12px;
    padding: 23px 0;
  }

  .sayac-faq-question {
    padding: 21px 0;
    font-size: 0.9rem;
  }

  .sayac-faq-answer {
    padding-right: 12px;
  }

  .sayac-cta__inner {
    padding-block: 75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sayac-page *,
  .sayac-page *::before,
  .sayac-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
