@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");

/*
	Big Picture by HTML5 UP - Customizado para PixelLab
*/

/* ===================== RESET ===================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { -webkit-text-size-adjust: none; }
mark { background-color: transparent; color: inherit; }

input::-moz-focus-inner { border: 0; padding: 0; }
input, select, textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

/* ===================== BASIC ===================== */

html {
  height: 100%;
  box-sizing: border-box;
}

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

body {
  background: #ffffff;
  height: 100%;
  min-width: 320px;
  text-decoration: none;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
  animation: none !important;
  transition: none !important;
}

/* ===================== SPINNER / LOADER ===================== */

@keyframes spinner-rotate {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(360deg); }
}

@keyframes spinner-show {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes spinner-hide {
  0%  { transform: scale(1) rotate(0deg);   color: #e5e6e7; z-index: 100001; }
  99% { transform: scale(0.5) rotate(360deg); color: #e5e6e7; z-index: 100001; }
  100%{ transform: scale(0.5) rotate(360deg); color: #e5e6e7; z-index: -1; }
}

@keyframes overlay-hide {
  0%  { opacity: 1; z-index: 100000; }
  15% { opacity: 1; z-index: 100000; }
  99% { opacity: 0; z-index: 100000; }
  100%{ opacity: 0; z-index: -1; }
}

body:before {
  animation: spinner-show 1.5s 1 0.25s ease forwards,
             spinner-hide 0.25s ease-in-out forwards !important;
  transform-origin: 50% 50%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
  color: #e5e6e7;
  content: "\f1ce";
  cursor: default;
  display: block;
  font-size: 2em;
  height: 2em;
  left: 50%;
  line-height: 2em;
  margin: -1em 0 0 -1em;
  opacity: 0;
  position: fixed;
  text-align: center;
  top: 50%;
  width: 2em;
  z-index: -1;
}

body:after {
  animation: overlay-hide 1.5s ease-in forwards !important;
  background: #ffffff;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

body.is-preload:before {
  animation: spinner-show 1.5s 1 0.25s ease forwards,
             spinner-rotate 0.75s infinite linear !important;
  z-index: 100001;
}

body.is-preload:after {
  animation: none !important;
  opacity: 1;
  z-index: 100000;
}

@media (-webkit-min-device-pixel-ratio: 2) {
  body:before { line-height: 2.025em; }
}

/* ===================== TYPE ===================== */

body, input, textarea, select {
  font-family: "Source Sans Pro", "sans-serif";
  font-weight: 300;
  font-size: 18pt;
  line-height: 1.75em;
  color: #39454b;
  letter-spacing: 0.025em;
}

@media screen and (max-width: 1920px) { body, input, textarea, select { font-size: 17pt; } }
@media screen and (max-width: 1680px) { body, input, textarea, select { font-size: 15pt; } }
@media screen and (max-width: 1280px) { body, input, textarea, select { font-size: 13pt; } }
@media screen and (max-width: 1000px) { body, input, textarea, select { font-size: 13pt; } }

@media screen and (max-width: 736px) {
  body, input, textarea, select {
    font-size: 12pt;
    line-height: 1.5em;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  color: inherit;
  letter-spacing: -0.0325em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}

h2 {
  font-size: 2.25em;
  line-height: 1.25em;
  letter-spacing: -0.05em;
}

@media screen and (max-width: 736px) {
  h2 { font-size: 1.5em; }
}

strong, b { font-weight: 900; color: inherit; }
em, i { font-style: italic; }

a {
  transition: color 0.2s ease-in-out;
  color: #98c593;
}

sub { position: relative; top: 0.5em; font-size: 0.8em; }
sup { position: relative; top: -0.5em; font-size: 0.8em; }

hr { border: 0; border-top: solid 1px #e5e6e7; }

blockquote {
  border-left: solid 0.5em #e5e6e7;
  padding: 1em 0 1em 2em;
  font-style: italic;
}

p, ul, ol, dl, table { margin-bottom: 1em; }

/* ===================== BOX ===================== */

.box {
  background: #ffffff;
  color: #39454b;
  padding: 2em;
}

.box > :last-child { margin-bottom: 0; }

.box.style2 { padding: 3.5em 2.5em; }

@media screen and (max-width: 736px) {
  .box { padding: 1em; }
  .box.style2 {
    padding: 1.5em 1.25em;
    background-color: rgba(255, 255, 255, 0.9);
  }
}

/* ===================== BUTTON ===================== */

input[type="button"],
input[type="submit"],
input[type="reset"],
.button, button {
  appearance: none;
  transition: background-color 0.2s ease-in-out;
  background-color: #98c593;
  border: 0;
  border-radius: 3.5em;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  height: 3.5em;
  line-height: 3.5em;
  outline: 0;
  padding: 0 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
}

input[type="button"].down,
input[type="submit"].down,
input[type="reset"].down,
.button.down, button.down {
  width: 5em;
  height: 5em;
  line-height: 4.5em;
  padding: 0;
  background-image: url("images/dark-arrow.svg");
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -10em;
  overflow: hidden;
}

@media screen and (max-width: 736px) {
  .button.down {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

input[type="button"].down.anchored,
input[type="submit"].down.anchored,
input[type="reset"].down.anchored,
.button.down.anchored, button.down.anchored {
  bottom: 0;
  border-bottom: 0;
  border-radius: 3em 3em 0 0;
  height: 4.5em;
  margin-left: -2.5em;
}

input[type="button"].anchored,
input[type="submit"].anchored,
input[type="reset"].anchored,
.button.anchored, button.anchored {
  position: absolute;
  left: 50%;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.button:hover, button:hover { background-color: #5549c4; }

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
.button:active, button:active { background-color: #88bc82; }

input[type="button"].style2,
input[type="submit"].style2,
input[type="reset"].style2,
.button.style2, button.style2 {
  background-color: transparent;
  border: solid 2px #e5e6e7;
  color: inherit;
}

input[type="button"].style2:hover,
input[type="submit"].style2:hover,
input[type="reset"].style2:hover,
.button.style2:hover, button.style2:hover {
  background-color: rgba(229, 230, 231, 0.25);
}

input[type="button"].style2:active,
input[type="submit"].style2:active,
input[type="reset"].style2:active,
.button.style2:active, button.style2:active {
  background-color: rgba(229, 230, 231, 0.375);
}

input[type="button"].style2.down,
input[type="submit"].style2.down,
input[type="reset"].style2.down,
.button.style2.down, button.style2.down {
  background-image: url("images/arrow.svg");
}

/* ===================== FORM ===================== */

form { margin: 0 0 2em 0; }
form > :last-child { margin-bottom: 0; }

form > .fields {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 3em);
  margin: -1.5em 0 2em -1.5em;
}

form > .fields > .field {
  flex-grow: 0;
  flex-shrink: 0;
  padding: 1.5em 0 0 1.5em;
  width: calc(100% - 1.5em);
}

form > .fields > .field.half   { width: calc(50% - 0.75em); }
form > .fields > .field.third  { width: calc(100% / 3 - 0.5em); }
form > .fields > .field.quarter{ width: calc(25% - 0.375em); }

@media screen and (max-width: 480px) {
  form > .fields { width: calc(100% + 2em); margin: -1em 0 2em -1em; }
  form > .fields > .field,
  form > .fields > .field.half,
  form > .fields > .field.third,
  form > .fields > .field.quarter { padding: 1em 0 0 1em; width: calc(100% - 1em); }
}

label { display: block; }

input[type="text"], input[type="password"], input[type="email"],
input[type="tel"], input[type="search"], input[type="url"],
select, textarea {
  appearance: none;
  transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  color: inherit;
  display: block;
  width: 100%;
  padding: 0.65em 0.75em;
  background: none;
  border: solid 2px #e5e6e7;
  border-radius: 0.5em;
  outline: none;
}

input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, input[type="tel"]:focus,
input[type="search"]:focus, input[type="url"]:focus,
select:focus, textarea:focus { border-color: #9ac8e9; }

input[type="text"], input[type="password"], input[type="email"],
input[type="tel"], input[type="search"], input[type="url"],
select { line-height: 1.35em; }

textarea { min-height: 8em; }
::-moz-focus-inner { border: 0; }

::placeholder { opacity: 0.375; }

/* ===================== ICON ===================== */

.icon {
  text-decoration: none;
  position: relative;
}

.icon:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: inherit;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.icon > .label { display: none; }
.icon.solid:before { font-weight: 900; }
.icon.brands:before { font-family: "Font Awesome 5 Brands"; }

/* ===================== IMAGE ===================== */

.image {
  position: relative;
  display: inline-block;
}

.image:before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: url("images/overlay.png");
}

.image img { display: block; width: 100%; }
.image.featured { display: block; width: 100%; margin: 0 0 2em 0; }
.image.fit { display: block; width: 100%; }
.image.left { float: left; margin: 0 2em 2em 0; }

.image.centered { display: block; margin: 0 0 2em 0; }
.image.centered img { margin: 0 auto; width: auto; }

/* ===================== LISTS ===================== */

ul.default { list-style: disc; padding-left: 1em; }
ul.default li { padding-left: 0.5em; }

ul.menu { cursor: default; }
ul.menu li {
  display: inline-block;
  line-height: 1em;
  border-left: solid 1px #e5e6e7;
  padding: 0 0 0 0.5em;
  margin: 0 0 0 0.5em;
}
ul.menu li:first-child { border-left: 0; padding-left: 0; margin-left: 0; }

ol.default { list-style: decimal; padding-left: 1.25em; }
ol.default li { padding-left: 0.25em; }

/* ===================== ACTIONS ===================== */

ul.actions {
  display: flex;
  cursor: default;
  list-style: none;
  margin-left: -1em;
  padding-left: 0;
}

ul.actions li { padding: 0 0 0 1em; vertical-align: middle; }

ul.actions.special {
  justify-content: center;
  width: 100%;
  margin-left: 0;
}
ul.actions.special li:first-child { padding-left: 0; }

ul.actions.stacked { flex-direction: column; margin-left: 0; }
ul.actions.stacked li { padding: 1.3em 0 0 0; }
ul.actions.stacked li:first-child { padding-top: 0; }

ul.actions.fit { width: calc(100% + 1em); }
ul.actions.fit li { flex-grow: 1; flex-shrink: 1; width: 100%; }
ul.actions.fit li > * { width: 100%; }
ul.actions.fit.stacked { width: 100%; }

@media screen and (max-width: 480px) {
  ul.actions:not(.fixed) {
    flex-direction: column;
    margin-left: 0;
    width: 100% !important;
  }
  ul.actions:not(.fixed) li {
    flex-grow: 1;
    flex-shrink: 1;
    padding: 1em 0 0 0;
    text-align: center;
    width: 100%;
  }
  ul.actions:not(.fixed) li > * { width: 100%; }
  ul.actions:not(.fixed) li:first-child { padding-top: 0; }
  ul.actions:not(.fixed) li input[type="submit"],
  ul.actions:not(.fixed) li input[type="reset"],
  ul.actions:not(.fixed) li input[type="button"],
  ul.actions:not(.fixed) li button,
  ul.actions:not(.fixed) li .button { width: 100%; }
}

/* ===================== ICONS LIST ===================== */

ul.icons { cursor: default; }
ul.icons li { display: inline-block; }
ul.icons a {
  display: inline-block;
  width: 2em; height: 2em;
  line-height: 2em;
  text-align: center;
  border: 0;
}

/* ===================== SECTIONS ===================== */

header { margin-bottom: 1em; }
header p { display: block; margin: 1em 0 0 0; padding: 0 0 0.5em 0; }
footer { margin-top: 2em; }

/* ===================== TABLE ===================== */

table { width: 100%; }
table.default { width: 100%; }
table.default tbody tr:nth-child(2n+2) { background: rgba(229, 230, 231, 0.5); }
table.default td { padding: 0.5em 1em; }
table.default th { text-align: left; font-weight: 900; padding: 0.5em 1em; }
table.default thead { background: #39454b; color: #ffffff; }
table.default tfoot { background: #e5e6e7; }

/* ===================== POPTROX ===================== */

.poptrox-popup {
  box-sizing: content-box;
  background: #fff;
  padding-bottom: 3em;
  box-shadow: 0 0.1em 0.15em 0 rgba(0, 0, 0, 0.15);
}

.poptrox-popup .loader {
  position: absolute;
  top: 50%; left: 50%;
  margin: -1em 0 0 -1em;
  width: 2em; height: 2em;
  display: block;
  font-size: 2em;
}

.poptrox-popup .loader:before {
  animation: spinner-rotate 0.75s infinite linear !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
  color: #e5e6e7;
  content: "\f1ce";
  cursor: default;
  display: block;
  height: 2em; width: 2em;
  left: 0; top: 0;
  line-height: 2em;
  position: absolute;
  text-align: center;
}

.poptrox-popup .caption {
  position: absolute;
  bottom: 0; left: 0;
  background: #ffffff;
  width: 100%; height: 3em;
  line-height: 2.8em;
  text-align: center;
  cursor: default;
  z-index: 1;
  font-size: 0.9em;
}

.poptrox-popup .nav-next,
.poptrox-popup .nav-previous {
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  top: 0;
  width: 50%; height: 100%;
  opacity: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.01);
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.poptrox-popup .nav-next:before,
.poptrox-popup .nav-previous:before {
  content: "";
  position: absolute;
  width: 96px; height: 64px;
  background: url("images/poptrox-nav.svg");
  top: calc(50% - 1.5em);
  margin: -32px 0 0 0;
}

.poptrox-popup:hover .nav-next,
.poptrox-popup:hover .nav-previous { opacity: 0.5; }
.poptrox-popup:hover .nav-next:hover,
.poptrox-popup:hover .nav-previous:hover { opacity: 1; }

.poptrox-popup .nav-previous:before {
  transform: scaleX(-1);
  filter: FlipH;
}

.poptrox-popup .nav-next { right: 0; }
.poptrox-popup .nav-next:before { right: 0; }
.poptrox-popup .nav-previous { left: 0; }
.poptrox-popup .nav-previous:before { left: 0; }

.poptrox-popup .closer {
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  top: 0; right: 0;
  width: 64px; height: 64px;
  text-indent: -9999px;
  z-index: 2;
  opacity: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.poptrox-popup .closer:before {
  content: "";
  display: block;
  position: absolute;
  right: 16px; top: 16px;
  width: 40px; height: 40px;
  border-radius: 100%;
  box-shadow: inset 0 0 0 2px #fff;
  background: url("images/poptrox-closer.svg") center center;
  color: #ffffff !important;
}

.poptrox-popup:hover .closer { opacity: 0.5; }
.poptrox-popup:hover .closer:hover { opacity: 1; }

body.is-touch .poptrox-popup .nav-next,
body.is-touch .poptrox-popup .nav-previous,
body.is-touch .poptrox-popup .closer { opacity: 1 !important; }

@media screen and (max-width: 736px) {
  .poptrox-popup .nav-next:before,
  .poptrox-popup .nav-previous:before {
    width: 48px; height: 32px;
    background-size: contain;
    margin: -16px 0 0 0;
  }
  .poptrox-popup .closer:before {
    right: 12px; top: 12px;
    width: 20px; height: 20px;
    box-shadow: inset 0 0 0 1px #fff;
    background-size: contain;
    opacity: 0.65;
  }
}

/* ===================== GALLERY (old poptrox) ===================== */

.gallery {
  display: flex;
  flex-wrap: wrap;
  width: 45em;
  max-width: 100%;
  margin: 0 auto 2em auto;
}

.gallery article {
  transition: transform 1s ease, opacity 1s ease;
  transform: translateX(0);
  width: 50%;
  position: relative;
  opacity: 1;
}

.gallery article .image { margin: 0; display: block; }

.gallery article:nth-last-child(1n)  { transition-delay: 0.05s; }
.gallery article:nth-last-child(2n)  { transition-delay: 0.1s; }
.gallery article:nth-last-child(3n)  { transition-delay: 0.15s; }
.gallery article:nth-last-child(4n)  { transition-delay: 0.2s; }
.gallery article:nth-last-child(5n)  { transition-delay: 0.25s; }
.gallery article:nth-last-child(6n)  { transition-delay: 0.3s; }
.gallery article:nth-last-child(7n)  { transition-delay: 0.35s; }
.gallery article:nth-last-child(8n)  { transition-delay: 0.4s; }
.gallery article:nth-last-child(9n)  { transition-delay: 0.45s; }
.gallery article:nth-last-child(10n) { transition-delay: 0.5s; }
.gallery article:nth-last-child(11n) { transition-delay: 0.55s; }
.gallery article:nth-last-child(12n) { transition-delay: 0.6s; }
.gallery article:nth-last-child(13n) { transition-delay: 0.65s; }
.gallery article:nth-last-child(14n) { transition-delay: 0.7s; }
.gallery article:nth-last-child(15n) { transition-delay: 0.75s; }
.gallery article:nth-last-child(16n) { transition-delay: 0.8s; }
.gallery article:nth-last-child(17n) { transition-delay: 0.85s; }
.gallery article:nth-last-child(18n) { transition-delay: 0.9s; }
.gallery article:nth-last-child(19n) { transition-delay: 0.95s; }
.gallery article:nth-last-child(20n) { transition-delay: 1s; }
.gallery article:nth-last-child(21n) { transition-delay: 1.05s; }
.gallery article:nth-last-child(22n) { transition-delay: 1.1s; }
.gallery article:nth-last-child(23n) { transition-delay: 1.15s; }
.gallery article:nth-last-child(24n) { transition-delay: 1.2s; }

.gallery.inactive article { opacity: 0; }
.gallery.inactive article.from-left   { transform: translateX(-14em); }
.gallery.inactive article.from-right  { transform: translateX(14em); }
.gallery.inactive article.from-top    { transform: translateY(-7em); }
.gallery.inactive article.from-bottom { transform: translateY(7em); }

@media screen and (max-width: 480px) {
  .gallery { flex-wrap: nowrap; flex-direction: column; }
  .gallery article { width: 100%; }
}

/* ===================== HEADER ===================== */

#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 10000;
  background: linear-gradient(135deg, #2563eb, #06b6d4, #6366f1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  height: 75px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

#header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #38bdf8, #22c55e, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#header h1 a { font-size: 1.25em; }

#header nav {
  position: absolute;
  right: 0.5em;
  top: 0;
  height: 3em;
  line-height: 3em;
}

#header nav ul { margin: 0; }

#header nav ul li {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 0.9em;
}

#header nav ul li a {
  position: relative;
  color: white;
  font-weight: 600;
  padding: 8px 12px;
  text-decoration: none;
  transition: 0.3s;
}

#header nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: #facc15;
  transition: 0.3s;
}

#header nav ul li a:hover::after { width: 100%; }
#header nav ul li a:hover { color: #facc15; transform: translateY(-2px); }

@media screen and (max-width: 736px) {
  #header {
    height: 2.5em;
    line-height: 2.5em;
  }
  #header h1 {
    text-align: center;
    position: relative;
    left: 0; top: 0;
    height: 2.5em;
    line-height: 2.5em;
  }
  #header h1 a { font-size: 1em; }
  #header nav { display: none; }
}

body { padding-top: 3em; }

@media screen and (max-width: 736px) {
  body { padding-top: 2.5em; }
}

/* ===================== MAIN ===================== */

.main {
  display: flex;
  position: relative;
  margin: 0;
  overflow-x: hidden;
}

.main > .content {
  width: 45em;
  max-width: calc(100% - 4em);
  margin: 0 auto;
}

.main > .content > :last-child { margin-bottom: 0; }
.main.fullscreen { min-height: 100%; }

.main.style1 {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3em 0;
}

.main.style1 h2 { font-size: 4.25em; line-height: 1em; }

.main.style1 > .content {
  transition: opacity 1s ease;
  transform: translateZ(0);
  opacity: 1;
  margin: 0;
}

.main.style1.inactive > .content { opacity: 0; }

.main.style2 {
  align-items: center;
  justify-content: center;
  padding: 3em 0;
  overflow: hidden;
}

.main.style2 > .content {
  transition: transform 1s ease;
  transform: translateZ(0);
  position: relative;
  width: 35%;
  margin: 0;
}

.main.style2.left  { justify-content: flex-start; }
.main.style2.right { justify-content: flex-end; }

.main.style2.inactive.left  > .content { transform: translateX(-100%); }
.main.style2.inactive.right > .content { transform: translateX(100%); }

.main.style3 { text-align: center; padding: 6em 0; }
.main.style3 .content > header { margin-bottom: 2em; }
.main.style3.primary   { background: #ffffff; }
.main.style3.secondary { background: #f5f6f7; }

.main.dark { color: #ffffff; }
.main.dark a { color: inherit; }
.main.dark .button.style2 { border-color: #ffffff; }
.main.dark .button.style2:hover  { background-color: rgba(255, 255, 255, 0.125); }
.main.dark .button.style2:active { background-color: rgba(255, 255, 255, 0.25); }
.main.dark .button.style2.down   { background-image: url("images/dark-arrow.svg"); }

body.is-touch .main { background-attachment: scroll !important; }

@media screen and (max-width: 1920px) { .main.style2 .content { width: 40%; } }
@media screen and (max-width: 1280px) { .main.style2 .content { width: 50%; } }
@media screen and (max-width: 1000px) { .main.style2 .content { width: 60%; } }

@media screen and (max-width: 736px) {
  .main > .content br { display: none; }
  .main.fullscreen { height: auto !important; }
  .main.style1 { padding: 4em 15px; }
  .main.style1 h2 { font-size: 3em; }
  .main.style2 { padding: 6em 15px; }
  .main.style2:before, .main.style2:after { display: none !important; }
  .main.style2 .button.anchored { display: none; }
  .main.style2 .content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    transform: none;
  }
  .main.style3 { text-align: center; padding: 3em 10px; }
}

@media screen and (max-width: 480px) {
  .main > .content { max-width: calc(100% - 1.5em); }
}

/* ===================== HERO CAROUSEL ===================== */

.pixellab-carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}

.pixellab-carousel .slide {
  position: absolute;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.pixellab-carousel .slide.active { opacity: 1; }

.pixellab-carousel img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.pixellab-carousel .slide::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.pixellab-carousel .hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 80%;
  max-width: 800px;
  text-align: left;
  z-index: 20;
  background: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-text h2 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 15px rgba(0,0,0,0.3);
}

.hero-text p {
  color: #ffffff;
  font-size: 1.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

#intro {
  position: relative !important;
  overflow: hidden;
}

#intro .button.anchored {
  position: absolute !important;
  bottom: 40px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 4rem !important;
  height: 4rem !important;
  line-height: 4rem !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===================== SECTION BACKGROUNDS ===================== */

#one {
  background: url("images/overlay.png"), url("../../images/two.jpg");
  background-size: 256px 256px, cover;
  background-attachment: fixed, fixed;
  background-position: top left, center center;
}

#two {
  background: url("images/overlay.png"), url("../../images/two_v2.jpg");
  background-size: 256px 256px, cover;
  background-attachment: fixed, fixed;
  background-position: top left, center center;
}

/* ===================== CURSOS ===================== */

#one .content.box.style2 { max-width: 900px; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.course-card {
  background: white;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  font-size: 14px;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.course-card h3 { font-size: 1.6rem; margin-bottom: 5px; }
.course-card .age { font-weight: bold; color: #555; margin-bottom: 10px; font-size: 13px; }

@media (max-width: 980px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .courses-grid { grid-template-columns: 1fr; } }

.course-btn {
  margin-top: 10px;
  padding: 8px 14px;
  background: #1f6ed5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ===================== MODAL CURSOS ===================== */

.course-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.course-modal.active { display: flex; }

.course-modal .modal-content {
  background: #1e293b;
  color: #f8fafc;
  width: 90%;
  max-width: 550px;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.course-modal .modal-content h2 {
  color: #38bdf8;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(56, 189, 248, 0.1);
  padding-bottom: 0.5rem;
}

.close-course-modal {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* ===================== GALERIA SWIPER ===================== */

.gallerySwiper { width: 100%; padding: 40px 0; }
.gallerySwiper img { width: 100%; border-radius: 10px; }

.swiper-slide {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.caption { padding: 10px; }
.caption h4 { margin: 5px 0; font-size: 18px; }
.caption p  { font-size: 14px; color: #555; }

.gallery-item { cursor: pointer; transition: transform 0.3s ease; }
.gallery-item:hover { transform: scale(1.03); }

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;  /* imagen arriba, texto abajo */
}

.gallery-item::before {
    content: '';
    display: block;
    padding-top: 75%; /* proporción 4:3 */
    position: relative;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;   /* mismo valor que el padding-top */
    object-fit: cover;
    object-position: center;
}

.gallery-item:hover { 
    transform: scale(1.03); 
}

.gallery-item .caption {
    position: relative;   /* ya no es absolute */
    background: white;
    padding: 10px 12px;
    text-align: center;
}

.gallery-item .caption h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
}

.gallery-item .caption p {
    margin: 0;
    font-size: 0.82rem;
    color: #666;
}
/* ===================== MODAL GALERIA ===================== */

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.gallery-modal.active { display: flex; }

.gallery-modal .modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  max-height: 90vh;        /* nunca supera el 90% de la pantalla */
  overflow-y: auto;        /* scroll si el contenido es largo */
  box-sizing: border-box;
}

.gallery-modal .modal-content img {
  width: 100%;
  max-height: 60vh;        /* limita la altura de la imagen */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.gallery-modal .modal-content h3 {
  margin: 15px 0 8px;
  font-size: 1.2rem;
}

.gallery-modal .modal-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.close-modal {
  position: absolute;
  right: 30px; top: 20px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* ===================== REVEAL ANIMATION ===================== */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== CTA SECTION ===================== */

.cta-section {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
}

.cta-section h2 { font-size: 3rem; margin-bottom: 20px; }

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 18px 40px;
  background: white;
  color: #2563eb;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover { transform: scale(1.1); }

/* ===================== FOOTER ===================== */

#footer { margin-top: 0; }

.pixellab-footer {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  color: white;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-brand h3 { font-size: 26px; margin-bottom: 10px; }
.footer-brand p  { color: #ccc; line-height: 1.6; }

.footer-contact h4,
.footer-social h4 { margin-bottom: 15px; color: white; }

.footer-contact p { margin: 8px 0; color: #ccc; font-size: 15px; }
.footer-contact i { margin-right: 8px; color: #ff4d6d; }

.map-link {
  display: inline-block;
  margin-top: 10px;
  color: #6c63ff;
  text-decoration: none;
  font-weight: 600;
}
.map-link:hover { text-decoration: underline; }

.social-icons { display: flex; gap: 15px; }

.social-icons a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #ff4d6d, #6c63ff);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
}

/* ===================== BOTON WHATSAPP ===================== */

.whatsapp-btn {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 60px; height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: whatsappPulse 2s infinite;
  text-decoration: none;
  z-index: 9999;
  transition: 0.3s;
}

@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ===================== BOTON VOLVER ARRIBA ===================== */

#scrollTopBtn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 55px; height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  transform: scale(1.15);
  background: linear-gradient(135deg, #22c55e, #06b6d4);
}

/* ===================== CONTADOR DE VISITAS ===================== */

.visit-counter {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 12px;
}

.visit-counter-item {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: #94a3b8;
	letter-spacing: 0.03em;
}

.visit-counter-item i {
	color: #38bdf8;
	font-size: 12px;
}

.visit-counter-item strong {
	color: #e2e8f0;
	font-weight: 700;
	font-size: 14px;
	min-width: 2ch;
}

/* ===================== LOGO ===================== */

.logo-header { height: 50px !important; width: auto !important; display: block; }
.logo-link { display: inline-block; }

.course-card-icon .fa-roblox {
    font-size: 2.5rem; /* Ajusta este valor hasta que se vea del mismo tamaño que tus otros emojis */
    color: #ffffff;    /* Color blanco para que resalte en el modo oscuro */
}
@media screen and (max-width: 736px) {
  .pixellab-carousel img {
    object-fit: contain;
    background-color: #111;
  }
}

/* ===================== PRECIOS ===================== */

#precios {
  padding: 80px 20px;
  text-align: center;
  background: #f5f6f8;
  color: #1a1a2e;
}

#precios h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}

#precios .section-subtitle {
  display: block;
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
}

/* Banner */
.precios-banner {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  max-width: 780px;
  margin: 0 auto 1.25rem auto;
  text-align: left;
  overflow: hidden;
}

.precios-banner-main {
  flex-shrink: 0;
  padding: 1.5rem 2rem;
}

.precios-banner-label {
  display: block;
  font-size: 16px;
  color: #1551b9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.precios-banner-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.precios-banner-currency {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
}

.precios-banner-number {
  font-size: 3rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
}

.precios-banner-period {
  font-size: 0.9rem;
  color: #6b7280;
}

.precios-banner-divider {
  width: 1px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.precios-banner-descuentos {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
}

.precios-banner-desc-title {
  font-size: 14px;
  color: #0d4dcc;
  margin-bottom: 2px;
}

.precios-banner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.precios-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.precios-tag--convenio {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.precios-tag--beca {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.precios-tag-precio {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.precios-banner-nota {
  font-size: 14px;
  color: #2c0b7a;
  line-height: 1.5;
  margin-top: 2px;
}

/* Info row */
.precios-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.88rem;
  color: #6b7280;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.precios-info-sep {
  color: #d1d5db;
}

/* Grid */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

/* Cards */
.precio-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.precio-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.precio-card.featured {
  border: 2px solid #2563eb;
}

.precio-card.featured:hover {
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.15);
}

/* Icono centrado */
.precio-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.25rem;
  color: #b5c0d1;
}

.precio-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.precio-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111827;
}

.precio-edad {
  font-size: 0.78rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Features */
.precio-features {
  list-style: none;
  padding: 0.75rem 0;
  margin: 0.25rem 0;
  width: 100%;
  text-align: left;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.precio-features li {
  font-size: 0.88rem;
  color: #374151;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.4;
}

.precio-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

/* Botón */
.precio-btn {
  display: block;
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: auto;
  background: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.precio-btn:hover {
  background: #f9fafb;
  border-color: #93c5fd;
  color: #2563eb;
}

.precio-btn--featured {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.precio-btn--featured:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

/* Nota final */
.precios-nota-final {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 780px) {
  .precios-banner {
    flex-direction: column;
  }
  .precios-banner-divider {
    width: 100%;
    height: 1px;
  }
  .precios-banner-main,
  .precios-banner-descuentos {
    padding: 1.25rem;
  }
}

@media (max-width: 700px) {
  .precios-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 500px) {
  #precios h2 { font-size: 1.8rem; }
  .precios-banner-number { font-size: 2.4rem; }
  .precios-info-row { font-size: 0.82rem; }
}

/* ==========================================
   CUENTOS PARA DESCARGAR
   ========================================== */

.cuentos-descarga {
	margin: 45px auto 20px;
	text-align: center;
	max-width: 850px;
}

.cuentos-descarga h3 {
	color: #38bdf8 !important;
	font-size: 24px;
	margin-bottom: 8px;
}

.cuentos-descarga p {
	color: #cbd5e1;
	font-size: 14px;
	margin-bottom: 22px;
}

.cuentos-botones {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.cuento-btn {
	width: 105px;
	padding: 12px 10px;
	border-radius: 12px;
	background: linear-gradient(145deg, #0f2742, #123b63);
	border: 1px solid rgba(56, 189, 248, 0.35);
	text-decoration: none !important;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.cuento-btn span {
	color: #ffffff !important;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
}

.cuento-btn small {
	color: #38bdf8 !important;
	font-size: 11px;
	margin-top: 4px;
}

.cuento-btn:hover {
	transform: translateY(-4px);
	border-color: #38bdf8;
	box-shadow: 0 8px 25px rgba(56, 189, 248, 0.20);
	background: linear-gradient(145deg, #123b63, #164b78);
}

.cuento-btn:hover small {
	color: #ffffff !important;
}


/* En celulares */
@media screen and (max-width: 736px) {

	.cuentos-descarga {
		margin-top: 35px;
	}

	.cuentos-descarga h3 {
		font-size: 21px;
	}

	.cuentos-botones {
		gap: 9px;
	}

	.cuento-btn {
		width: 85px;
		padding: 10px 8px;
	}

	.cuento-btn span {
		font-size: 18px;
	}

	.cuento-btn small {
		font-size: 10px;
	}
}