@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-primary: #8B6A4F;
  --color-accent: #0A3B5C;
  --color-bg: #EDE5D0;
  --max-width: 90vw;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

a {
  display: inline-block;
  color: #0A3B5C;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: 600;
  color: #0A3B5C;
  text-transform: uppercase;
}
h1 {
    font-size: 64px;
}
h2 {
  font-size: 30px;
}
p strong {
  color: #0A3B5C;
  font-weight: 500;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

body {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #2D2D2D;
  line-height: 1.6;
}
button, input {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #0A3B5C;
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
}
.stopwatch, .badge, .portfolio, .trust, .earth, .mail, .linkedin{ color: #8B6A4F; }

/* Layout Helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.row > * {
  flex-shrink: 0;
}
[class^="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.col-1  { width: 8.333333%; }
.col-2  { width: 16.666666%; }
.col-3  { width: 25%; }
.col-4  { width: 33.333333%; }
.col-5  { width: 41.666666%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333333%; }
.col-8  { width: 66.666666%; }
.col-9  { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666666%; }
.col-12 { width: 100%; }
.offset-1  { margin-left: 8.333333%; }
.offset-2  { margin-left: 16.666666%; }
.offset-3  { margin-left: 25%; }
.offset-4  { margin-left: 33.333333%; }
.offset-5  { margin-left: 41.666666%; }
.offset-6  { margin-left: 50%; }
.offset-7  { margin-left: 58.333333%; }
.offset-8  { margin-left: 66.666666%; }
.offset-9  { margin-left: 75%; }
.offset-10 { margin-left: 83.333333%; }
.offset-11 { margin-left: 91.666666%; }
.center {
  margin-left: auto;
  margin-right: auto;
}
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ----------------------------------- */

header {
  padding:  0;
  background: #EDE5D0;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25);
  position: sticky; 
  top: 0; 
  z-index: 100;
}
header .logo a {
  display: flex;
}
.nav .row > div {
  display: flex;
  align-items: center;
}
.nav .col-3:first-child {
  justify-content: start;
}
.nav .col-6 {
  justify-content: center;
}
.nav .col-6 a.cta {
  display: none;
}
.nav .col-3:last-child {
  justify-content: end;
}
.nav a {
  text-decoration: none;
  color: #0a3b5c;
}
.nav a img {
  max-width: 90px;
}
.nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}
.nav ul li {
  padding: 0 25px;
  font-size: 20px;
  text-transform: uppercase;
}
.nav ul li a:hover {
  text-decoration: underline;
  color: #8B6A4F;
  transition: all 0.3s ease;
}
.cta {
  border: 2px solid #0a3b5c;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a3b5c;
  background: #f8f8f6;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.cta:hover {
  background: #0a3b5c;
  color: #fff;
  transition: all 0.3s ease;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: #0A3B5C;
  transition: 0.3s;
}

/* hero section */
#hero {
  text-align: center;
  background-image: url(img/hero-colca.jpg);
  background-repeat: no-repeat;
  background-position: center -100px;
  background-size: cover;
}
.hero-fog {
  background: linear-gradient(to top, #FFFFFF, #8B6A4F00);
}
#hero .hero-fog .container {
  padding: 50px;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#hero h1 {
  font-size: 64px;
}
#hero p {
  font-size: 24px;
  font-weight: 500;
  padding: 0 50px;
}
.hero-cta {
  background-image:url(img/fondo-azul-patron.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
  padding: 35px 0;
}
.hero-cta .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-cta h3 {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 22px;
}
.hero-cta a {
  display: inline-block;
  margin-left: 100px;
  font-weight: 600;
}
.hero-cta a:hover {
  background-color: #EDE5D0;
  color: #0A3B5C;
}

/* nosotros section */
#nosotros {
  padding: 100px 0;
}
#nosotros h2 {
  color: #2D2D2D;
  margin-bottom: 40px;
}
#nosotros h2 strong {
  font-weight: 600;
  color: #0A3B5C;
}
#nosotros h3 {
  font-size: 26px;
  text-transform: none;
  color: #2D2D2D;
}
#nosotros svg {
  max-width: 50px;
  margin-bottom: 20px;
}
#nosotros span {
  font-size: 14px;
  text-transform: uppercase;
  padding: 0 25px;
  color: #0A3B5C;
}
#nosotros .nosotros-btns {
  padding: 75px 0;
}
#nosotros .nosotros-btns .icon {
  color: #8B6A4F;
}
#nosotros .nosotros-btns .controladores {
  margin-bottom: 50px;
}
.controladores button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 210px;
  border-radius: 10px;
  border: solid 2px #FFFFFF;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
  cursor: pointer;
}
.controladores button.active,
.controladores button:hover {
  border: solid 2px #0A3B5C;
}
#nosotros .nosotros-textos {
  position: relative;
  min-height: 120px;
}
#nosotros .nosotros-textos p {
  font-size: 18px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0; 
  width: 100%;
  transition: opacity 0.5s ease;
  margin: 0;
}
#nosotros .nosotros-textos p.active-text {
  opacity: 1;
  position: relative;
  background: radial-gradient(rgb(10 59 92 / 10%), transparent 75%);
}
#nosotros .nosotros-textos p strong {
  font-weight: 500;
  color: #0A3B5C;
}

/*patrocinadores section*/
#patrocinadores {
  background-image:url(img/fondo-beige-patron-20.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  background-color: #EDE5D0;
}
#patrocinadores h3 {
  font-size: 26px;
  text-transform: none;
  margin-bottom: 50px;
}
#patrocinadores p {
  margin-bottom: 30px;
  font-size: 18px;
  text-align: left;
}
#patrocinadores p:last-child {
  margin-bottom: 0;
}
#patrocinadores img {
  max-height: 120px;
}
#patrocinadores .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
#patrocinadores .logos img:first-child {
  margin-right: 50px;
}

/* colca section */
#colca {
  padding: 100px 0;
}
#colca h2 {
  margin-bottom: 25px;
}
#colca h2 strong {
  font-weight: 600;
  color: #8B6A4F;
}
#colca p {
  font-size: 18px;
}

/* roadmap section */
#roadmap {
  background-image:url(img/fondo-beige-patron-20.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
  background-color: #EDE5D0;
  text-align: left;
}
#roadmap h2 {
  margin-bottom: 50px;
}
#roadmap p {
  margin-bottom: 20px;
}
#roadmap p.mensaje {
  font-size: 22px;
}
#roadmap p.mensaje strong {
  font-weight: 600;
}
#roadmap p.disclaimer {
  font-size: 10px;
  margin-left: 16.666666%;
}
#roadmap a.rrss-icon {
  margin-right: 10px;
}
#roadmap .icon {
  color: #8B6A4F;
}
#roadmap .roadmap-form form {
  display: flex;
  flex-direction: column;
}
#roadmap .roadmap-form form input {
  border: none;
  border-bottom: solid 1px #2D2D2D;
  padding: 3px 0;
  margin-bottom: 25px;
  background-color: transparent;
  color: #8B6A4F;
  text-transform: uppercase;
}
#roadmap .roadmap-form .col-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  margin-bottom: 15px;
}
#roadmap .roadmap-form form button.cta {
  padding: 15px 20px;
  cursor: pointer;
}
#roadmap .roadmap-form form input:focus-visible {
  outline: auto;
}

/* footer */
#footer {
  padding-top: 25px;
  background: #FFFFFF;
  color: #0A3B5C;
}
#footer .icon {
  color: #0A3B5C;
}
#footer::after {
  content: "";
  display: table;
  clear: both;
  width: 100%;
  height: 20px;
  background-color: #0A3B5C;
  margin-top: 25px;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  p, h1, h2, h3 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  
  [class^="col-"] {
    width: 100%;
  }

  [class^="offset-"] {
    margin-left: 0;
  }

  .menu {
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    background: #EDE5D0;
    border-top: 1px solid #8B6A4F;
    display: none;
    flex-direction: column;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
  }
  .menu.open {
    display: flex;
    animation: fadeDown 0.25s ease;
    padding: 20px 0;
  }
  .menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav .row {
    flex-direction: row;
  }
  .nav .col-3:first-child {
    width: 50%;
  }
  .nav .col-6 {
    width: 50%;
    justify-content: end;
  }
  .nav .col-3:last-child {
    display: none;
  }
  .nav .col-6 a.cta {
    display: inline-block;
    width: max-content;
    margin: auto;
  }
  
  h1 {
    font-size: 60px;
  }
  h2 {
    font-size: 20px;
  }

  #hero {
    background-position: center -50px;
  }
  #hero .hero-fog .container{
    padding: 40px 0;
    min-height: 500px;
  }
  #hero p {
    font-size: 18px;
    padding: 0;
  }
  .hero-cta .container {
    padding: 0;
  }
  .hero-cta h3 {
    font-size: 16px;
  }
  .hero-cta a {
    margin-left: 0;
    font-size: 16px;
    padding: 5px 20px;
  }

  #nosotros h2 {
    margin-bottom: 20px;
  }
  #nosotros .controladores .row {
    justify-content: center;
  }
  #nosotros .controladores .col-2 {
    margin-left: 0;
    width: 33%;
    padding: 3px;
  }
  #nosotros .controladores button {
    height: 150px;
  }
  #nosotros .nosotros-btns .icon {
    max-width: 30px;
    margin-bottom: 0;
  }
  #nosotros .nosotros-btns span {
    font-size: 11px;
    padding: 0 3px;
  }

  #patrocinadores h3 {
    font-size: 18px;
  }
  #patrocinadores .logos {
    padding-top: 30px;
  }
  #patrocinadores .logos img:first-child {
    margin-right: 0;
    margin-bottom: 50px;
  }

  #colca p, #roadmap p {
    font-size: 18px;
  }
  #roadmap p.mensaje {
    font-size: 20px;
  }
  #roadmap .roadmap-rrss {
    display: flex;
  }
  #roadmap a.rrss-icon {
    display: flex;
  }
  #roadmap .roadmap-form form button.cta {
    padding: 10px 15px;
    font-size: 14px;
  }
  #roadmap p.disclaimer {
    margin-left: 0;
  }
  

  #footer .col-1 {
    width: auto;
    padding-left: 0;
  }
}