/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital,wght@0,400;0,700;1,400;1,700&family=Quicksand:wght@300..700&display=swap');

:root {
  --clr-prin: #1757a1;
  --clr-nav: #b40f0f;
  --clr-red: #b40f0f;
  --clr-blue: #1757a1;
  --clr-skyblue: #36c0f2;
  --clr-midblue: #3674a5;
  --clr-darkblue: #032247;
  --clr-btn: #1757a1;
  --clr-btn-h: #053590;
  --clr-btn-alt: #12124233;
  --clr-btn-alt-h: #12124288;
  --clr-fnt: #1f1f1f;
  --clr-bright: #fafafa;
  --clr-liner: #1f1f1f;
  --clr-dark: #1f1f1f;
  --clr-tit: var(--clr-darkblue);
  --clr-footer: #454555;
  --clr-wp: #25d366;
  --padx: 20%;
  --pady: 4rem;
  --pad-sec: 2rem 12%;
  --iso: 260px;
  --ff-btn: "Quicksand", Arial, sans-serif;
  --ff-title: "DM Serif Text", Arial, serif;
  --ff-alttitle: "DM Serif Text", Arial, serif;
  --ff-p: "Quicksand", Arial, sans-serif;
  --fnt-h1: clamp(2.4rem, 4vw, 3.8rem);
  --fnt-h2: clamp(2.4rem, 4vw, 3.8rem);
  --fnt-h3: clamp(2.0rem, 3.2vw, 2.6rem);
  --fnt-h4: clamp(1.6rem, 2.8vw, 2.2rem);
  --fnt-h5: clamp(1rem, 2.1vw, 1.6rem);
  --fnt-p: clamp(1.0rem, 2.0vw, 1.4rem);
  --fnt-btn: clamp(1rem, 1.8vw, 1.4rem);
  --btn-pad: 1rem 1.5rem;
  --brad: 6px;
  --fz: 16px;
  --gap: 2rem;
  --minigap: 1rem;
}

::selection {
  background: var(--clr-blue);
  color: white;
}

@media (max-width: 1080px) {
  :root {
    --padx: 10%;
    --btn-pad: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --padx: 8%;
  }
}

html, body {
  background: var(--clr-bright);
  color: var(--clr-fnt);
  font-size: var(--fz);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.scroll-padding-top {
  scroll-padding-top: 60px;
}

a, button {
  cursor: pointer;
}

ul, li, a {
  text-decoration: none;
  list-style-type: none;
  color: inherit;
}

h1 {
  font-size: var(--fnt-h1);
  font-weight: 500;
  font-family: var(--ff-title);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--fnt-h2);
  font-weight: 500 !important;
  margin-bottom: 1rem;
  color: var(--clr-blue);
}

h3 {
  font-size: var(--fnt-h3);
  margin-bottom: 1rem;
}

h4 {
  font-size: var(--fnt-h4);
  font-weight: 600;
  margin-bottom: .75rem;
  /* text-transform: uppercase; */
  letter-spacing: 1.2;
  color: var(--clr-blue);
}

h5 {
  font-weight: 600;
  font-size: var(--fnt-h5);
  /* text-transform: uppercase; */
  letter-spacing: 1.2px;
}

p, li, div {
  font-size: var(--fnt-p);
}

h2, h3, h4, h5 {
  font-family: var(--ff-alttitle);
}

p, li, ul, a, div {
  font-family: var(--ff-p);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

.fs-h2 {
  font-size: var(--fnt-h2);
}

.fs-h3 {
  font-size: var(--fnt-h3);
}

.fs-h4 {
  font-size: var(--fnt-h4);
}

.fs-h5 {
  font-size: var(--fnt-h5);
}

.txtc {
  text-align: center;
}

.txtr {
  text-align: right;
}

.txt-shadow {
  text-shadow: 0 0 12px #000000aa;
}

.list-style li {
  list-style-type: disc;
  margin-left: 1.2rem;
}

.fw-600 {
  font-weight: 600;
}

.resp {
  max-width: 100%;
  height: auto;
}

.resph {
  width: auto;
  max-height: 100%;
}

.flexo {
  display: flex;
}

.unouno > * {
  flex: 1;
}

.gap {
  gap: var(--gap);
}

.minigap {
  gap: var(--minigap);
}

.spacer {
  height: 2rem;
}

.minispacer {
  height: 1rem;
}

.jccenter {
  justify-content: center;
}

.jcstart {
  justify-content: flex-start;
}

.jcend {
  justify-content: flex-end;
}

.jcsb {
  justify-content: space-between;
}

.aicenter {
  align-items: center;
}

.aistart {
  align-items: flex-start;
}

.aiend {
  align-items: flex-end;
}

.aisb {
  align-items: space-between;
}

.liner {
  width: 100%;
  height: 2px;
  background-color: var(--clr-liner);
  margin: 1rem 0;
}

.relative {
  position: relative;
}

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

.underhover::after {
  content: '';
  /* position: absolute; */
  display: block;
  background: transparent;
  margin: auto;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  transform-origin: center;
  transition: width 150ms ease-out, background 150ms ease-in-out;
}

.underhover:hover::after {
  width: 100%;
  background: white;
}

.underline {
  position: relative;
  /* margin-bottom: 2rem; */
}

.underline::after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-bright);
}

.underline.unctr::after {
  left: 50%;
  transform: translateX(-50%);
}

.underh1 {
  position: relative;
}

.hide {
  display: none !important;
}

.pady {
  padding-top: var(--pady);
  padding-bottom: var(--pady);
}

.padx {
  padding-left: var(--padx);
  padding-right: var(--padx);
}

.pad-1 {
  padding: 1rem;
}

.pad-2 {
  padding: 2rem;
}

.fade-in {
  transition: opacity ease-in .6s, transform ease-out .6s, filter ease-out .6s;
}

.fopa {
  opacity: 0;
}

.fadeUp {
  transform: translate(0, 80px);
}

.left {
  transform: translate(80px, 0);
}

.right {
  transform: translate(-80px, 0);
}

.fblur {
  filter: blur(18px);
}

.inView {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0px);
}

.fade-in1b {
  animation: fadeInB 1200ms;
}

.delay1 {
  animation: delay 1s;
}

.delay2 {
  animation: delay 2s;
}

.delay3 {
  animation: delay 3s;
}

.delay4 {
  animation: delay 4s;
}

.boxhover:hover, .boxhover:focus {
  box-shadow: 0 0 24px var(--clr-sec);
  transition: box-shadow 350ms ease-out;
}

@keyframes fadeInB {
  0% { opacity: 0; transform: translate(0, 150px); }
  /* 36% { opacity: 0; transform: translate(0, 150px); } */
  100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes delay {
  0% { opacity: 0; }
  66% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: .8; }
}

.mow {
  height: 1.2rem;
  transition: opacity 150ms;
}
.mow:hover {
  opacity: .8;
}

.column {
  flex-direction: column;
}

.button {
  font-family: var(--ff-btn);
  font-size: var(--fnt-btn);
  color: var(--clr-bright);
  font-weight: 800;
  padding: var(--btn-pad);
  border-radius: var(--brad);
  background-color: var(--clr-btn);
  transition: background-color ease-out 100ms, box-shadow 100ms ease-out;
  letter-spacing: 1.2px;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.button.alt {
  background-color: var(--clr-btn-alt);
  border: 1px solid white;
  color: white;
  transition: outline ease-out 100ms, background-color ease-out 100ms;
}

.button:hover, .button:focus {
  background-color: var(--clr-btn-h);
}

.button.alt:hover, .button.alt:focus {
  background-color: var(--clr-btn-alt-h);
}

.brad {
  border-radius: var(--brad);
  overflow: hidden;
}

.hf {
  height: 100%;
}

.opacity-hover {
  transition: opacity 100ms ease-out;
}

.opacity-hover:hover {
  opacity: .7;
}

.outline {
  outline: solid 2px var(--clr-btn);
  outline-offset: -2px;
}

.outline-glow {
  box-shadow: 0 0 18px var(--clr-btn-h);
}

.hover-glow {
  transition: box-shadow 100ms;
}

.hover-glow:hover {
  box-shadow: 0 0 18px var(--clr-btn);
}

.pointer {
  cursor: pointer;
}

.bg-blue {
  background-color: var(--clr-blue);
}

.bg-white {
  background-color: white;
}


.clr-red {
  color: var(--clr-red);
}

.clr-blue {
  color: var(--clr-blue);
}

.bg-blue {
  background: var(--clr-blue);
}

.bg-skyblue {
  color: var(--clr-skyblue);
}

.bg-midblue {
  background: var(--clr-midblue);
}

.bg-darkblue {
  background: var(--clr-darkblue);
}

.clr-white {
  color: white;
}

.p-spacer p {
  margin-bottom: 1.2rem;
}

@media (max-width: 480px) {
  .to-column-480 {
    flex-direction: column;
  }
  .to-column-reverse-480 {
    flex-direction: column-reverse;
  }
}



#wp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  height: 68px;
  width: 68px;
  cursor: pointer;
  background-color: var(--clr-wp);
  border-radius: 100px;
  transition: box-shadow 250ms;
  z-index: 998;
}

#wp:hover {
  box-shadow: 0 0 12px black;
}

#wp:hover .wp-button {
  transform: scale(.8);
}

.wp-button {
  width: 100%;
  height: 100%;
  padding: 1rem;
  border-radius: 100px;
  background-position: center;
  background-size: cover;
  z-index: 990;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 100ms ease-out;
}

.wp-button img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  transition: opacity 150ms;
}

.underline-block {
  display: inline !important;
  background: url('../img/bg-red.png');
  background-size: 100% 20%;
  background-repeat: repeat-x;
  background-position: 0 85%;
}


/* contacto */

#contacto {
  /* background: #9a9aae; */
  background: var(--clr-blue);
  color: white;
}

#contacto h2 {
  color: white;
}

#contacto i {
  font-size: var(--fnt-h4);
}

.label {
  font-family: var(--ff-p);
  font-weight: 600;
}

.field {
  /* background: var(--clr-dark); */
  outline: solid 2px var(--clr-blue);
  outline-offset: -2px;
  border: 0;
  padding: 1rem;
  color: var(--clr-fnt);
  border-radius: var(--brad);
  width: 100%;
  margin-top: .5rem;
}








