.header {

  background: #D6D3A3;

  color: black;

  padding: 30px 0 0 0;

}


.header-container {

  width: 90%;
  max-width: 1200px;

  margin: auto;

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

}


.logo {

  font-size: 64px;

  font-weight: 900;

  letter-spacing: -2px;

}


.header-right {

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 15px;

}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle .hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
  position: relative;
  transition: background .3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: #000;
  transition: transform .3s ease, top .3s ease, opacity .3s ease;
}

.nav-toggle .hamburger::before {
  top: -8px;
}

.nav-toggle .hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}


.tagline {

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 1px;

}


.nav-divider {

  width: 100%;

  height: 1px;

  background: #bbb;

}


.nav {

  display: flex;

  gap: 40px;

}


.nav a {

  text-decoration: none;

  color: black;

  font-weight: 700;

  font-size: 17px;

  letter-spacing: 1px;

  transition: .3s;

}


.nav a:hover {

  opacity: .6;

}


/* Separador ajedrezado */

.checker {

  margin-top: 20px;

  height: 14px;

  background:
    repeating-linear-gradient(90deg,
      black 0px,
      black 12px,
      #D6D3A3 12px,
      #D6D3A3 24px);

}


.hero {

  background: #141416;

  padding: 120px 0;

}

.hero-container {

  width: 90%;
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 80px;

}

.hero-title {

  font-size: 64px;

  font-weight: 900;

  line-height: 1.1;

  margin-bottom: 30px;

}

.hero-description {

  font-size: 18px;

  color: #bdbdbd;

  max-width: 500px;

  margin-bottom: 40px;

}

.hero-buttons {

  display: flex;

  gap: 20px;

}

.btn-primary {

  background: #D6D3A3;

  color: black;

  padding: 14px 28px;

  border: none;

  border-radius: 8px;

  font-weight: 700;

  cursor: pointer;

}

.btn-secondary {

  background: transparent;

  border: 1px solid #D6D3A3;

  color: #D6D3A3;

  padding: 14px 28px;

  border-radius: 8px;

  cursor: pointer;

}

.hero-visual {

  position: relative;

  height: 400px;

}

/* círculo */

.tech-circle {

  position: absolute;

  width: 300px;

  height: 300px;

  border-radius: 50%;

  border: 1px solid rgba(214, 211, 163, 0.3);

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

}



/* LOGO */

.tech-logo {

  width: 120px;
  height: auto;
  opacity: 0.9;

}

/* grid tecnológico */

.tech-grid {

  position: absolute;

  width: 100%;

  height: 100%;

  background-image:

    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 40px 40px;

}


/** SERVICES **/
.services {

  background: #141416;

  padding: 120px 0;

}

.services-container {

  width: 90%;
  max-width: 1200px;

  margin: auto;

  text-align: center;

}

.services-title {

  font-size: 42px;

  margin-bottom: 10px;

}

.services-subtitle {

  color: #bdbdbd;

  margin-bottom: 60px;

}

.services-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;

  justify-items: center;

}

.services-card-wrapper {
  width: 100%;
  max-width: 300px;
  padding: 20px;
  perspective: 1000px;
}

/* Services - Card */

.services-card {

  position: relative;

  padding-top: 50px;

  border: 3px solid #2a2a2d;

  transform-style: preserve-3d;

  background: #1e1e21;

  width: 100%;

  box-shadow: rgba(0, 0, 0, 0.5) 0px 30px 30px -10px;

  transition: all .5s ease;
}

.services-card:hover {

  transform: rotate3d(.5, 1, 0, 30deg);
}

/* Services - Card Content */

.services-card__content {

  background: linear-gradient(135deg,
      #D6D3A3,
      #c8c48e);

  padding: 60px 25px 25px 25px;

  transform-style: preserve-3d;

  transition: .5s;
}

.services-card__title {

  display: inline-block;

  color: #111;

  font-size: 22px;

  font-weight: 900;

  transform: translate3d(0, 0, 50px);
}

.services-card__text {

  margin-top: 10px;

  font-size: 14px;

  font-weight: 600;

  color: #1e1e21;

  transform: translate3d(0, 0, 30px);
}

.services-card__cta {

  margin-top: 1rem;

  display: inline-block;

  font-weight: 900;

  font-size: 10px;

  text-transform: uppercase;

  color: #111;

  background: white;

  padding: .5rem .7rem;

  transform: translate3d(0, 0, 20px);

  cursor: pointer;
}

/* Services - Icon */

.services-card__icon {

  position: absolute;

  top: 30px;
  right: 30px;

  height: 60px;
  width: 60px;

  background: white;

  border: 2px solid #D6D3A3;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;

  transform: translate3d(0, 0, 80px);

  box-shadow: rgba(0, 0, 0, 0.3) 0px 17px 10px -10px;
}


.services-card__icon i {

  font-size: 22px;
  color: #000000;

}

.services-card:hover .services-card__icon i{
  transform: rotate(10deg) scale(1.1);
  transition: 0.3s;
}


/** processos **/
.process {

  background: #141416;

  padding: 140px 0;

}

.process-container {

  width: 90%;
  max-width: 900px;

  margin: auto;

}

.process-title {

  font-size: 42px;

  margin-bottom: 10px;

  text-align: center;

}

.process-subtitle {

  color: #bdbdbd;

  text-align: center;

  margin-bottom: 80px;

}


/* timeline */

.timeline {

  position: relative;

  padding-left: 40px;

}

.timeline::before {

  content: "";

  position: absolute;

  left: 8px;

  top: 0;

  width: 2px;

  height: 100%;

  background: #D6D3A3;

  opacity: .4;

}

.timeline-item {

  display: flex;

  align-items: flex-start;

  margin-bottom: 60px;

}

.timeline-dot {

  width: 18px;

  height: 18px;

  background: #D6D3A3;

  border-radius: 50%;

  margin-right: 20px;

  position: relative;

  left: -10px;

}

.timeline-content h3 {

  margin-bottom: 10px;

  font-size: 20px;

}

.timeline-content p {

  color: #bdbdbd;

  line-height: 1.6;

}

/** CONTACTO **/

.contact {
  position: relative;
  padding: 140px 40px;
  background: #D6D3A3;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.contact-container {
  width: 100%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 44px;
  color: #111;
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 18px;
  color: #333;
}

/* Glow effect */

.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  animation: glowMove 8s ease-in-out infinite alternate;
}

@keyframes glowMove {
  from {
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-group {
  position: relative;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  outline: none;
  transition: all .3s ease;
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: #555;
  font-size: 14px;
  pointer-events: none;
  transition: all .25s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #000;
  background: white;
}

/* floating label */

.input-group input:focus+label,
.input-group textarea:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:not(:placeholder-shown)+label {

  top: -10px;
  left: 10px;
  background: #D6D3A3;
  padding: 0 6px;
  font-size: 12px;
}

/* button */

.contact-button {
  margin-top: 10px;
  padding: 18px;
  border-radius: 14px;
  border: none;
  background: black;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.contact-card {

  width: 420px;
  margin: auto;
  padding: 40px;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);

  border: 6px solid #000;
  box-shadow: 12px 12px 0 #000;

  transform: rotate(-1deg);
  transition: all .3s ease;

  position: relative;
  overflow: hidden;
}

.contact-card:hover {

  transform: rotate(0deg) scale(1.02);
  box-shadow: 18px 18px 0 #000;
}

.contact-card::before {

  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(400px circle at var(--x) var(--y),
      rgba(255, 255, 255, 0.6),
      transparent 40%);

  opacity: 0;
  transition: opacity .3s ease;

  pointer-events: none;
}

.contact-card:hover::before {
  opacity: 1;
}

.banner {

  position: absolute;
  top: 3px;
  right: -95px;

  background: #000;
  color: #fff;

  padding: 15px;
  width: 350px;

  text-align: center;

  transform: rotate(45deg);

  font-weight: bold;
  font-size: 16px;

  letter-spacing: 2px;

  overflow: hidden;
}

.banner-text {

  display: inline-block;

  transition: opacity .5s ease, transform .5s ease;

  width: 100%;

  position: absolute;
  left: 13%;
  top: 50%;

  transform: translateY(-50%);
}

.banner:hover .banner-text:first-child {

  opacity: 0;
  transform: translateY(-100%);
}

.banner:hover .banner-text:last-child {

  opacity: 1;
  transform: translateY(-40%);
}

.banner-text:last-child {

  opacity: 0;
  transform: translateY(60%);
}

.banner:hover {

  background: #ff4d4d;
}

.card__title {

  font-size: 22px;
  font-weight: 700;

  color: #000;

  text-transform: uppercase;

  margin-bottom: 10px;

  border-bottom: 2px solid #000;
  width: 50%;
}

.card__subtitle {

  font-size: 15px;
  color: #333;

  margin-bottom: 25px;
}

.contact-form {

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {

  padding: 14px;

  border: 3px solid #000;

  font-size: 14px;

  background: white;

  transition: all .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {

  outline: none;

  transform: scale(1.04);
}

.contact-button {

  border: 3px solid #000;

  background: #000;

  color: #fff;

  padding: 14px;

  font-size: 16px;

  font-weight: bold;

  text-transform: uppercase;

  cursor: pointer;

  transition: all .3s ease;
}

.contact-button:hover {

  background: white;
  color: #d6d3a3;

  transform: translateY(-4px);

  box-shadow: 0 5px 0 #000;
}

.magnetic-card {

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  will-change: transform;
}

/** FOOTER **/

.footer {

  padding: 80px 40px 40px;
  background: #111;
  color: white;
}

.footer-container {

  max-width: 1200px;
  margin: auto;
}

.footer-top {

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {

  font-size: 26px;
  margin-bottom: 15px;
}

.footer-brand p {

  color: #bbb;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {

  margin-bottom: 15px;
  font-size: 16px;
}

.footer-links ul {

  list-style: none;
  padding: 0;
}

.footer-links li {

  margin-bottom: 10px;
}

.footer-links a {

  text-decoration: none;
  color: #bbb;
  transition: all .3s ease;
}

.footer-links a:hover {

  color: white;
}

.social-icons {

  display: flex;
  gap: 12px;
}

.footer-icon {

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: #222;

  color: white;
  font-size: 16px;

  transition: all .3s ease;
}

.footer-icon:hover {

  background: white;
  color: black;

  transform: translateY(-3px);
}

.footer-bottom {

  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #333;

  text-align: center;
  color: #888;
  font-size: 14px;
}

.logo-footer img {
  width: 100px;
}

/* Media Queries - por módulo */

/* ====================
   992px - Tablet / Desktop menor
   ==================== */
@media (max-width: 992px) {
    /* Header */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .header-right {
        align-items: center;
    }

    /* Mobile menu overlay */
    .nav-toggle {
        display: block;
    }

    .header-right {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 80%);
        padding: 100px 20px 20px;
        background: rgba(0, 0, 0, 0.92);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        z-index: 60;
        overflow-y: auto;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s ease, opacity .35s ease;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 55;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-right.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header-right .tagline {
        color: white;
        text-align: center;
    }

    .header-right .nav-divider {
        display: none;
    }

    .header-right .nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .header-right .nav a {
        color: white;
        font-size: 18px;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
        height: 300px;
    }

    .hero-description {
        margin: 0 auto 40px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* ====================
   768px - Tablet vertical / Phablet
   ==================== */
@media (max-width: 768px) {
    /* Header */
    .logo {
        font-size: 48px;
    }

    /* Hero */
    .hero-title {
        font-size: 42px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Process */
    .process-container {
        width: 95%;
    }

    /* Contact */
    .contact-card {
        width: 90%;
    }
}

/* ====================
   480px - Mobile
   ==================== */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        width: 95%;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 15px;
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
    }

    /* Contact */
    .contact-card {
        width: 100%;
        padding: 30px;
    }

    .services-container,
    .process-container,
    .contact-container {
        width: 95%;
    }

    .hero {
        padding: 80px 0;
    }

    .services {
        padding: 80px 0;
    }

    .process {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 20px;
    }
}
