* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Moche, sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 80px;
}

body {
  line-height: 1.6;
  color: #000;
  background: #f6efea;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #000;
  background: #f6efea;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #000;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

nav a.active {
  font-weight: 600;
  color: #d93d28;
}

/* Language Toggle */
.language-toggle {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem;
  border-radius: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  font-weight: 500;
  color: #666;
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 109, 89, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.lang-btn:hover {
  color: #000;
  transform: translateY(-1px);
}

.lang-btn:hover::before {
  opacity: 1;
}

.lang-btn.active {
  background: linear-gradient(135deg, #ff6d59, #ff8a75);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 109, 89, 0.3);
}

.lang-btn.active::before {
  opacity: 0;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  border-bottom: 2px solid #000;
  align-items: center;
  justify-content: center;
}

.hero-content {
  padding: 5rem 5% 5rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 65px;
  line-height: 1.3em;
  font-weight: 300;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.fade-in-word {
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 .highlight {
  background: #ffb74d;
  padding: 0 1rem;
  display: inline-block;
  animation: pixelGlow 3s ease-in-out infinite, fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.hero h1 .highlight:hover {
  transform: scale(1.05) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes pixelGlow {
  0%,
  100% {
    background: #ffb74d;
    box-shadow: 0 0 5px rgba(255, 183, 77, 0.3);
  }
  25% {
    background: #ff6d59;
    box-shadow: 0 0 15px rgba(255, 109, 89, 0.5);
  }
  50% {
    background: #ffaa6c;
    box-shadow: 0 0 20px rgba(255, 170, 108, 0.6);
  }
  75% {
    background: #ffe381;
    box-shadow: 0 0 15px rgba(255, 227, 129, 0.5);
  }
}

.process-content-p {
  background-color: none;
  font-size: 12px;
}

/* process Section */
.process {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 80vh;
  border-bottom: 2px solid #000;
}

.process-content {
  background: #b8ddd4;
  padding: 5rem 5% 5rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px solid #000;
}

.process h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.process h2 .highlight {
  background: #e9a0cb;
  padding: 0 1rem;
  display: inline-block;
  transform: rotate(-4deg);
}

.process p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.benefits {
  padding: 5rem 10%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: transparent;
  border: none;
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.benefit-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.benefit-card:hover .benefit-card-inner,
.benefit-card.flipped .benefit-card-inner {
  transform: rotateY(180deg);
}

.benefit-card-front,
.benefit-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 2px solid #000;
  display: flex;
  flex-direction: column;
}

.benefit-card-front {
  background: #fff;
  padding: 1rem;
}

.benefit-card-back {
  transform: rotateY(180deg);
  text-align: justify;
  padding: 1rem;
}

.benefit-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #000;
}

.benefit-card-front p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

.benefit-card-back p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #000;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.partners {
  background-color: #fff;
  padding: 2rem 0;
  overflow: hidden;
  border-bottom: 2px solid #000;
}

.partners-scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.partners-logo {
  display: inline-flex;
  gap: 6rem;
  align-items: center;
  animation: scroll-partners 10s linear infinite;
  will-change: transform;
}

.partners-logo img {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partners-logo img:hover {
  opacity: 1;
}

/* Pause animation on hover */
.partners-scroll-container:hover .partners-logo {
  animation-play-state: paused;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

.partner-logo {
  background-color: rgb(41, 41, 41);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-me {
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #000;
}

.about-me-container {
  background-color: #fff;
  position: relative;
  padding: 1.5rem;
  transform: rotate(-2deg);
}

.about-me-content {
  text-align: left;
  max-width: 900px;
  background-color: #f4e27c;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  transform: rotate(2deg);
  position: relative;
  z-index: 1;
}

.about-me h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI";
}

.about-me p,
.about-me ol {
  font-size: 1rem;
  line-height: 1.8;
  list-style-type: none;
  font-weight: 400;
}

.about-me ol li {
  margin-top: 12px;
}

.about-me-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #000;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.linkedin-btn {
  background: #0077b5;
  color: #fff;
}

.linkedin-btn:hover {
  background: rgb(74, 171, 223);
  transform: translateY(-2px);
}

.cv-btn {
  background: #d93d28;
  color: #fff;
}

.cv-btn:hover {
  background: rgb(211, 99, 87);
  transform: translateY(-2px);
}

.about-me-image {
  max-width: 300px;
  max-height: 400px;
  justify-self: center;
  align-self: center;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 2px solid #000;
}

.faq-image {
  max-height: 400px;
  width: auto;
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.faq-questions {
  padding: 2rem;
  border-left: 2px solid #000;
}

.faq-questions h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.faq-questions h2 .highlight {
  background: #d4e157;
  transform: rotate(-3deg);
}

.faq-item {
  border-bottom: 1px solid #00000020;
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid #00000020;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.2s;
  gap: 1rem;
}

.faq-item h3:hover {
  opacity: 0.7;
}

.faq-item h3 .bullet {
  flex-shrink: 0;
}

.faq-item h3::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.faq-item.active h3::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item p {
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
  color: #1a1a1a;
}

.faq-item.active p {
  max-height: 300px;
  margin-top: 1rem;
  opacity: 1;
  padding-left: 24px;
  padding-right: 24px;
}

.bullet {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #ff6d59;
  border-radius: 50%;
  margin-right: 10px;
}

.contact {
  padding: 4rem 10%;
  text-align: center;
  background-color: #171717;
  color: #f6efea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact h2 .highlight {
  background: #cce764;
  padding: 0 1rem;
  display: inline-block;
  transform: rotate(-2deg);
  color: #000;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 300;
  color: #f6efea;
  max-width: 800px;
}

.contact a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffaa6c;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 2px;
  transition: background 0.3s;
}

.copyright {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 48px;
}

.contact a:hover {
  background: #ff6d59;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero,
  .process,
  .faq {
    grid-template-columns: 1fr;
  }

  .process-image,
  .faq-image {
    display: none;
  }

  .about-me {
    padding: 3rem 2rem;
  }

  .about-me-container {
    transform: rotate(0deg);
    padding: 1rem;
  }

  .about-me-content {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
    transform: rotate(0deg);
  }

  .about-me-image {
    max-width: 250px;
    max-height: 350px;
    margin: 0 auto;
  }

  .about-me h2 {
    font-size: 2rem;
    text-align: center;
  }

  .hero h1,
  .process h2 {
    font-size: 2.5rem;
  }

  .hero-content,
  .process-content {
    padding: 3rem 5%;
  }

  .process-content {
    padding: 3rem 5%;
    border-bottom: 2px solid #000;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #f6efea;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    font-size: 1.2rem;
    transition: right 0.3s ease;
    border-left: 2px solid #000;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .language-toggle {
    position: fixed;
    top: 1.35rem;
    right: 4rem;
    z-index: 1001;
    gap: 0.2rem;
    padding: 0.2rem;
  }

  .lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .process h2 {
    font-size: 2rem;
  }

  .process-content {
    border-bottom: 2px solid #000;
  }

  .about-me {
    padding: 2rem 1rem;
  }

  .about-me-container {
    transform: rotate(0deg);
    padding: 0.5rem;
  }

  .about-me-content {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .about-me-image {
    max-width: 200px;
    max-height: 280px;
  }

  .about-me h2 {
    font-size: 1.8rem;
  }

  .about-me p,
  .about-me ol {
    font-size: 0.95rem;
  }

  .about-me ol li {
    margin-top: 8px;
  }

  .about-me-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .about-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  /* Benefit cards mobile fixes */
  .benefits {
    padding: 3rem 5%;
  }

  .benefit-card {
    height: auto;
    min-height: 220px;
  }

  .benefit-card-front,
  .benefit-card-back {
    min-height: 220px;
  }

  .benefit-card-front {
    padding: 1.5rem 1rem;
    justify-content: center;
    align-items: center;
  }

  .benefit-card-back {
    padding: 1.5rem 1rem;
    justify-content: center;
    text-align: left;
  }

  .benefit-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .benefit-card-front p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .benefit-card-back p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* Disable hover effect on mobile, only use click/tap */
  .benefit-card:hover .benefit-card-inner {
    transform: none;
  }

  .benefit-card.flipped .benefit-card-inner {
    transform: rotateY(180deg);
  }
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 300;
}
