/* ============================================================
   CARTOONS DE REGI
   ESTILO: CÓMIC URBANO / SATÍRICO / UNDERGROUND
   ============================================================ */

:root {

  --black: #090909;
  --black-2: #111111;
  --paper: #f2f0e8;
  --white: #ffffff;

  --ink: #171717;

  --yellow: #f4d21f;
  --red: #d92727;

  --gray: #858585;
  --gray-light: #bdbdbd;

  --display: "Bangers", Impact, sans-serif;
  --marker: "Permanent Marker", cursive;
  --body: "Inter", sans-serif;

  --max-width: 1280px;

  --header-height: 76px;
}


/* ============================================================
   RESET
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);

  font-family: var(--body);

  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* ============================================================
   TEXTURA GLOBAL
   ============================================================ */

.noise-layer {
  position: fixed;
  inset: 0;

  z-index: 9999;

  pointer-events: none;

  opacity: 0.045;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: var(--header-height);

  z-index: 1000;

  background: rgba(9, 9, 9, 0.94);

  border-bottom: 3px solid var(--white);

  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  height: 100%;

  margin: auto;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.header-left {
  display: flex;
  align-items: center;

  gap: 18px;
}


/* ============================================================
   REDES
   ============================================================ */

.header-socials {
  display: flex;

  gap: 8px;

  padding-right: 17px;

  border-right: 2px solid var(--white);
}

.header-socials a {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  font-size: 14px;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.header-socials a:hover {
  color: var(--yellow);

  transform:
    rotate(-8deg)
    scale(1.15);
}


/* ============================================================
   BRAND
   ============================================================ */

.brand {
  display: flex;
  align-items: center;

  gap: 9px;
}

.brand-symbol {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  background: var(--yellow);

  color: var(--black);

  border: 3px solid var(--white);

  font-family: var(--display);

  font-size: 25px;

  transform: rotate(-5deg);
}

.brand-name {
  font-family: var(--display);

  font-size: 29px;

  letter-spacing: 1px;
}

.brand-name span {
  color: var(--yellow);
}


/* ============================================================
   NAV
   ============================================================ */

.main-nav {
  display: flex;
  align-items: center;

  gap: 20px;
}

.main-nav a {
  position: relative;

  font-size: 10px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.7px;
}

.main-nav a::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 3px;

  background: var(--yellow);

  transition: width 0.2s ease;
}

.main-nav a:hover::before {
  width: 100%;
}


/* ============================================================
   MENU MÓVIL
   ============================================================ */

.menu-toggle {
  display: none;

  width: 45px;
  height: 45px;

  border: 3px solid var(--white);

  background: var(--black);

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 22px;
  height: 3px;

  margin: 4px auto;

  background: var(--white);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding:
    150px 20px
    100px;

  overflow: hidden;

  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.96) 0%,
      rgba(0,0,0,.72) 45%,
      rgba(0,0,0,.25) 100%
    ),
    url("assets/img/hero-cartoonsdr.jpg");

  background-size: cover;
  background-position: center;

  filter: contrast(1.15);
}

.hero-halftone {
  position: absolute;

  right: 0;
  top: 0;

  width: 48%;
  height: 100%;

  opacity: .25;

  background-image:
    radial-gradient(
      var(--white) 1px,
      transparent 1px
    );

  background-size: 8px 8px;

  mask-image:
    linear-gradient(
      to right,
      transparent,
      black
    );
}

.hero-content {
  position: relative;

  width: min(
    100%,
    var(--max-width)
  );

  margin: auto;
}

.hero-kicker {
  display: inline-block;

  margin-bottom: 20px;

  padding: 7px 13px;

  background: var(--yellow);

  color: var(--black);

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 2px;

  transform: rotate(-2deg);
}

.hero h2 {
  max-width: 800px;

  font-family: var(--display);

  font-size: clamp(
    70px,
    10vw,
    100px
  );

  line-height: .78;

  letter-spacing: 1px;

}


.hero h1 {
  max-width: 800px;

  font-family: var(--display);

  font-size: clamp(
    70px,
    10vw,
    100px
  );

  line-height: .78;

  letter-spacing: 1px;

  text-shadow:
    5px 5px 0 var(--red);
}

.hero-description {
  max-width: 500px;

  margin-top: 35px;

  color: #ddd;

  font-size: 16px;

  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
}


/* ============================================================
   STICKER
   ============================================================ */

.comic-sticker {
  position: absolute;

  font-family: var(--marker);

  color: var(--yellow);

  font-size: 25px;

  transform: rotate(-10deg);
}

.sticker-top {
  top: -50px;
  right: 15%;
}


/* ============================================================
   BOTÓN CÓMIC
   ============================================================ */

.comic-button {
  display: inline-flex;

  align-items: center;

  gap: 20px;

  padding: 15px 20px;

  background: var(--yellow);

  color: var(--black);

  border: 4px solid var(--white);

  box-shadow:
    7px 7px 0 var(--red);

  font-size: 12px;

  font-weight: 900;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.comic-button span {
  font-size: 20px;
}

.comic-button:hover {
  transform:
    translate(4px, 4px);

  box-shadow:
    3px 3px 0 var(--red);
}


/* ============================================================
   HERO DECORACIÓN
   ============================================================ */

.hero-sound-effect {
  position: absolute;

  right: 8%;
  bottom: 10%;

  font-family: var(--display);

  color: var(--yellow);

  font-size: clamp(
    50px,
    8vw,
    110px
  );

  transform:
    rotate(-12deg);

  -webkit-text-stroke:
    3px var(--black);

  text-shadow:
    7px 7px 0 var(--red);
}

.hero-caption {
  position: absolute;

  bottom: 20px;
  right: 30px;

  font-size: 9px;

  letter-spacing: 2px;

  color: #777;
}


/* ============================================================
   INTRO
   ============================================================ */

.intro-strip {
  background: var(--yellow);

  color: var(--black);

  border-top: 5px solid var(--black);
  border-bottom: 5px solid var(--black);
}

.intro-inner {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  min-height: 90px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

.intro-label {
  font-family: var(--display);

  font-size: 28px;
}

.intro-inner p {
  font-size: 12px;

  font-weight: 900;

  text-transform: uppercase;
}

.intro-arrow {
  font-size: 30px;
}


/* ============================================================
   SECCIONES
   ============================================================ */

.series-section {
  position: relative;

  padding: 130px 20px;

  overflow: hidden;
}

.section-inner {
  position: relative;

  width: min(
    100%,
    var(--max-width)
  );

  margin: auto;
}


/* ============================================================
   DEMOCRACIA REAL
   ============================================================ */

.democracy-section {
  background: var(--paper);

  color: var(--black);

  border-bottom:
    8px solid var(--black);
}

.comic-background-word {
  position: absolute;

  right: -5%;

  top: 100px;

  font-family: var(--display);

  font-size: 25vw;

  line-height: .7;

  color: rgba(0,0,0,.035);

  pointer-events: none;
}

.series-heading {
  position: relative;

  display: grid;

  grid-template-columns: 100px 1fr;

  gap: 30px;

  margin-bottom: 60px;
}

.series-heading.compact {
  max-width: 900px;
}

.series-index {
  font-family: var(--marker);

  font-size: 24px;

  transform: rotate(-5deg);

  color: var(--red);
}

.series-tag {
  display: inline-block;

  padding: 6px 10px;

  background: var(--black);

  color: var(--yellow);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 1.5px;
}

.series-title-wrap h2 {
  margin-top: 18px;

  font-family: var(--display);

  font-size: clamp(
    80px,
    11vw,
    150px
  );

  line-height: .78;
}

.series-title-wrap h2 span {
  color: var(--red);
}

.title-line {
  width: 100%;

  max-width: 700px;

  height: 5px;

  margin-top: 25px;

  background:
    repeating-linear-gradient(
      90deg,
      var(--black) 0 20px,
      transparent 20px 25px
    );
}

.series-intro {
  max-width: 650px;

  margin-top: 25px;

  font-size: 15px;

  line-height: 1.7;
}


/* ============================================================
   SLIDER
   ============================================================ */

.comic-slider {
  position: relative;

  overflow: hidden;

  border:
    6px solid var(--black);

  background: var(--black);

  box-shadow:
    14px 14px 0 var(--red);
}

.slider-track {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;
}

.slide {
  position: absolute;

  inset: 0;

  opacity: 0;

  transform: scale(1.04);

  transition:
    opacity .55s ease,
    transform .55s ease;
}

.slide.active {
  opacity: 1;

  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.panel-number {
  position: absolute;

  right: 15px;
  bottom: 15px;

  padding: 7px 10px;

  background: var(--yellow);

  color: var(--black);

  font-size: 9px;

  font-weight: 900;
}


/* ============================================================
   SLIDER BUTTONS
   ============================================================ */

.slider-button {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  width: 55px;
  height: 55px;

  border: 4px solid var(--black);

  background: var(--yellow);

  color: var(--black);

  font-size: 23px;

  font-weight: 900;

  cursor: pointer;

  transition:
    transform .2s ease,
    background .2s ease;
}

.slider-button:hover {
  background: var(--red);

  color: var(--white);
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}


/* ============================================================
   DOTS
   ============================================================ */

.slider-dots {
  position: absolute;

  left: 50%;
  bottom: 15px;

  transform: translateX(-50%);

  display: flex;

  gap: 8px;

  z-index: 5;
}

.slider-dot {
  width: 10px;
  height: 10px;

  border: 2px solid var(--black);

  background: var(--white);

  cursor: pointer;
}

.slider-dot.active {
  background: var(--red);
}


/* ============================================================
   CAPTION
   ============================================================ */

.comic-caption {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-top: 25px;

  padding-top: 15px;

  border-top: 3px solid var(--black);

  font-size: 10px;

  font-weight: 900;

  text-transform: uppercase;
}

.comic-caption p {
  font-family: var(--marker);

  font-size: 13px;

  text-transform: none;
}


/* ============================================================
   LA MUERTE
   ============================================================ */

.death-section {
  background:
    repeating-linear-gradient(
      0deg,
      #101010 0,
      #101010 2px,
      #0c0c0c 2px,
      #0c0c0c 5px
    );
}

.death-section .series-title-wrap h2 {
  color: var(--white);
}

.death-section .series-title-wrap h2 span {
  color: var(--yellow);
}

.death-section .title-line {
  background:
    repeating-linear-gradient(
      90deg,
      var(--yellow) 0 20px,
      transparent 20px 25px
    );
}

.death-section .series-intro {
  color: #aaa;
}

.death-section .comic-slider {
  box-shadow:
    14px 14px 0 var(--yellow);
}


/* ============================================================
   FUTUROS PROYECTOS
   ============================================================ */

.future-section {
  background: #151515;

  border-top:
    7px solid var(--yellow);
}

.future-header {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin: auto;

  padding:
    100px 0 50px;
}

.future-header span {
  color: var(--yellow);

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 2px;
}

.future-header h2 {
  margin-top: 15px;

  font-family: var(--display);

  font-size: clamp(
    80px,
    12vw,
    170px
  );

  line-height: .8;
}


/* ============================================================
   FUTURE PROJECT
   ============================================================ */

.future-project {
  position: relative;

  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  min-height: 430px;

  margin: 0 auto 70px;

  display: grid;

  grid-template-columns:
    90px
    1fr
    minmax(350px, 45%);

  align-items: center;

  gap: 35px;

  padding: 45px;

  overflow: hidden;

  background: #0b0b0b;

  border:
    3px solid #444;

  box-shadow:
    12px 12px 0 #222;
}

.future-number {
  align-self: start;

  font-family: var(--display);

  font-size: 70px;

  color: #444;
}

.future-status {
  display: inline-block;

  padding: 7px 10px;

  border: 2px solid #777;

  color: var(--yellow);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 2px;
}

.future-content h3 {
  margin-top: 20px;

  font-family: var(--display);

  font-size: clamp(
    65px,
    8vw,
    110px
  );

  line-height: .78;

  color: var(--white);
}

.future-content p {
  max-width: 450px;

  margin-top: 25px;

  color: #888;

  font-size: 14px;

  line-height: 1.7;
}

.future-image {
  height: 330px;

  background-size: cover;

  background-position: center;

  filter:
    grayscale(1)
    contrast(1.15);

  opacity: .55;

  border: 5px solid #333;

  position: relative;
}

.future-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      rgba(255,255,255,.07) 12px 14px
    );
}

.future-image span {
  position: absolute;

  z-index: 2;

  top: 20px;
  right: 20px;

  padding: 8px 12px;

  background: var(--red);

  color: white;

  font-family: var(--marker);

  font-size: 13px;

  transform: rotate(5deg);
}


/* ============================================================
   CARTOONS DR
   ============================================================ */

.cartoonsdr-section {
  position: relative;

  padding: 140px 20px;

  background: var(--yellow);

  color: var(--black);

  overflow: hidden;
}

.cartoonsdr-section::before {
  content: "";

  position: absolute;

  inset: 0;

  opacity: .15;

  background-image:
    radial-gradient(
      var(--black) 1px,
      transparent 1px
    );

  background-size: 8px 8px;
}

.cartoonsdr-inner {
  position: relative;

  width: min(
    100%,
    1050px
  );

  margin: auto;
}

.cartoonsdr-title {
  margin-bottom: 55px;
}

.cartoonsdr-title span {
  font-size: 10px;

  font-weight: 900;

  letter-spacing: 3px;
}

.cartoonsdr-title h2 {
  margin-top: 15px;

  font-family: var(--display);

  font-size: clamp(
    90px,
    15vw,
    180px
  );

  line-height: .7;

  text-shadow:
    7px 7px 0 var(--white);
}

.cartoonsdr-title strong {
  color: var(--red);
}

.cartoonsdr-title p {
  margin-top: 30px;

  font-family: var(--marker);

  font-size: 17px;
}


/* ============================================================
   VIDEO
   ============================================================ */

.video-wrapper {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  background: var(--black);

  border:
    7px solid var(--black);

  box-shadow:
    14px 14px 0 var(--red);
}

.video-wrapper iframe {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ============================================================
   CONTACTO
   ============================================================ */

.contact-section {
  position: relative;

  padding: 150px 20px;

  background: var(--paper);

  color: var(--black);

  overflow: hidden;
}

.contact-halftone {
  position: absolute;

  right: -100px;
  top: -100px;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      var(--red) 2px,
      transparent 2px
    );

  background-size: 12px 12px;

  opacity: .15;

  border-radius: 50%;
}

.contact-inner {
  position: relative;

  width: min(
    100%,
    900px
  );

  margin: auto;

  text-align: center;
}

.contact-small {
  font-size: 10px;

  font-weight: 900;

  letter-spacing: 2px;
}

.contact-inner h2 {
  margin-top: 20px;

  font-family: var(--display);

  font-size: clamp(
    80px,
    14vw,
    170px
  );

  line-height: .75;
}

.contact-email {
  display: inline-block;

  margin-top: 40px;

  padding-bottom: 7px;

  border-bottom: 4px solid var(--red);

  font-size: clamp(
    16px,
    3vw,
    26px
  );

  font-weight: 900;
}

.contact-socials {
  margin-top: 50px;

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 12px;
}

.contact-socials a {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 12px 17px;

  border:
    3px solid var(--black);

  font-size: 11px;

  font-weight: 900;

  text-transform: uppercase;

  transition:
    background .2s ease,
    color .2s ease;
}

.contact-socials a:hover {
  background: var(--black);

  color: var(--yellow);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  min-height: 80px;

  padding: 25px 30px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  background: var(--black);

  color: #777;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 1px;

  text-transform: uppercase;
}


/* ============================================================
   WHATSAPP
   ============================================================ */

.whatsapp-float {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 900;

  width: 58px;
  height: 58px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: #25d366;

  color: white;

  font-size: 27px;

  border: 3px solid var(--black);

  box-shadow:
    5px 5px 0 var(--black);
}

.whatsapp-disabled {
  opacity: .35;

  cursor: not-allowed;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1050px) {

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 9px;
  }

  .future-project {
    grid-template-columns:
      60px
      1fr
      40%;
  }

}


@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;

    top: var(--header-height);

    left: 0;

    width: 100%;

    padding: 25px;

    flex-direction: column;

    align-items: flex-start;

    background: var(--black);

    border-bottom: 3px solid var(--yellow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition: .25s ease;
  }

  .main-nav.is-open {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .main-nav a {
    font-size: 12px;
  }

  .future-project {
    grid-template-columns: 1fr;

    padding: 30px;

  }

  .future-number {
    position: absolute;

    top: 20px;
    right: 25px;
  }

  .future-image {
    height: 300px;
  }

}


@media (max-width: 600px) {

  :root {
    --header-height: 68px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .header-left {
    gap: 9px;
  }

  .header-socials {
    gap: 3px;

    padding-right: 9px;
  }

  .header-socials a {
    width: 22px;
    height: 22px;

    font-size: 12px;
  }

  .brand-symbol {
    width: 27px;
    height: 27px;

    font-size: 20px;
  }

  .brand-name {
    font-size: 22px;
  }

  .hero {
    padding:
      130px 20px
      90px;
  }

  .hero h1 {
    font-size: 23vw;
  }

  .hero-sound-effect {
    right: -10px;
    bottom: 15%;
  }

  .intro-inner {
    min-height: 80px;

    flex-wrap: wrap;

    padding: 15px 0;
  }

  .intro-inner p {
    width: 100%;

    order: 3;
  }

  .series-section {
    padding:
      90px 15px;
  }

  .series-heading {
    grid-template-columns: 1fr;

    gap: 10px;

    margin-bottom: 40px;
  }

  .series-index {
    font-size: 20px;
  }

  .series-title-wrap h2 {
    font-size: 21vw;
  }

  .comic-slider {
    box-shadow:
      8px 8px 0 var(--red);
  }

  .slider-track {
    aspect-ratio: 4 / 3;
  }

  .slider-button {
    width: 43px;
    height: 43px;

    font-size: 17px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .comic-caption {
    flex-direction: column;
  }

  .future-header {
    padding-top: 80px;
  }

  .future-header h2 {
    font-size: 22vw;
  }

  .future-project {
    width: calc(100% - 30px);

    margin-bottom: 45px;
  }

  .future-content h3 {
    font-size: 18vw;
  }

  .future-image {
    height: 230px;
  }

  .cartoonsdr-section {
    padding: 100px 15px;
  }

  .cartoonsdr-title h2 {
    font-size: 23vw;
  }

  .video-wrapper {
    box-shadow:
      8px 8px 0 var(--red);
  }

  .contact-section {
    padding: 100px 15px;
  }

  .contact-inner h2 {
    font-size: 23vw;
  }

  .contact-socials {
    flex-direction: column;
  }

  .contact-socials a {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;

    text-align: center;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;

    width: 52px;
    height: 52px;
  }

}


@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

}