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

html, body {
  width: 100%;
  overflow-x: hidden; /* Evita scroll horizontal indeseado */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  border: 1px solid #c5a059;
  color: #c5a059;
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: rgba(197, 160, 89, 0.1);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
}

input, select, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 10px 0;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom: 1px solid #c5a059;
}
input::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: #555;
}
input::placeholder, select::placeholder, textarea::placeholder {
  color: #555;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}
.hero-section .hero-logo-container {
  width: 150px;
  height: 150px;
  margin-bottom: 2rem;
  position: relative;
}
.hero-section .hero-logo-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  animation: pulse-glow 4s infinite ease-in-out;
}
.hero-section .hero-logo-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}
.hero-section h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.hero-section h1 span {
  display: block;
  font-size: 0.5em;
  font-family: "Fira Code", monospace;
  letter-spacing: 4px;
  color: #c5a059;
  margin-bottom: 10px;
  text-transform: uppercase;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
}
.philosophy-section {
  padding: 100px 20px;
  background-color: #0a0a0a;
}
.philosophy-section .split-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.philosophy-section .split-container .text-side {
  flex: 1;
}
.philosophy-section .split-container .text-side h2 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.philosophy-section .split-container .text-side h2 span {
  color: #c5a059;
}
.philosophy-section .split-container .text-side p {
  color: #a0a0a0;
  margin-bottom: 1rem;
}
.philosophy-section .split-container .code-block {
  flex: 1;
  background: #111;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.philosophy-section .split-container .code-block .line {
  display: block;
  margin-bottom: 5px;
}
.philosophy-section .split-container .code-block .line.comment {
  color: #6a9955;
}
.philosophy-section .split-container .code-block .line.keyword {
  color: #569cd6;
}
.philosophy-section .split-container .code-block .line.string {
  color: #ce9178;
}
.philosophy-section .split-container .code-block .line.var {
  color: #9cdcfe;
}
@media (max-width: 768px) {
  .philosophy-section .split-container {
    flex-direction: column;
  }
}

.projects-section {
  padding: 150px 20px;
  background-color: #0a0a0a;
  position: relative;
  z-index: 10;
}
.projects-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}
.projects-section .section-header h2 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: #ffffff;
}
.projects-section .section-header span {
  font-family: "Fira Code", monospace;
  color: #c5a059;
  font-size: 0.9rem;
}
.projects-section .project-list {
  max-width: 1200px;
  margin: 0 auto;
}
.projects-section .project-list .project-item {
  position: relative;
  padding: 40px 0;
  border-bottom: 1px solid #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.projects-section .project-list .project-item h3 {
  font-family: "Cinzel", serif;
  font-size: 3rem;
  color: #555;
  transition: color 0.3s;
  z-index: 2;
}
.projects-section .project-list .project-item .project-cat {
  font-family: "Fira Code", monospace;
  color: #555;
  font-size: 0.9rem;
  transition: color 0.3s;
  z-index: 2;
}
.projects-section .project-list .project-item:hover h3 {
  color: #ffffff;
  padding-left: 20px;
}
.projects-section .project-list .project-item:hover .project-cat {
  color: #c5a059;
}
.projects-section .project-preview-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 250px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.projects-section .project-preview-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  .projects-section .project-list .project-item h3 {
    font-size: 1.5rem;
  }
  .project-preview-img {
    display: none;
  }
}
.services-section {
  padding: 120px 20px;
  background-color: #0a0a0a;
  position: relative;
}
.services-section .section-title {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
}
.services-section .section-title span {
  color: #c5a059;
}
.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #222;
}
.services-section .service-card {
  padding: 3rem;
  border: 1px solid #222;
  transition: all 0.4s ease;
  position: relative;
  background: transparent;
  cursor: default;
}
.services-section .service-card .service-icon {
  font-size: 2rem;
  color: #444;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}
.services-section .service-card h3 {
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ffffff;
}
.services-section .service-card p {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #a0a0a0;
  line-height: 1.6;
}
.services-section .service-card:hover {
  background: rgba(20, 20, 20, 0.5);
  border-color: rgba(197, 160, 89, 0.3);
  z-index: 2;
}
.services-section .service-card:hover .service-icon {
  color: #c5a059;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.contact-section {
  padding: 100px 20px;
  background-color: #111111;
  text-align: center;
}
.contact-section .contact-container {
  max-width: 800px;
  margin: 0 auto;
}
.contact-section h2 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #c5a059;
}
.contact-section p {
  font-family: "Inter", sans-serif;
  color: #a0a0a0;
  margin-bottom: 3rem;
}
.contact-section .funnel-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}
.contact-section .funnel-form .form-group {
  position: relative;
}
.contact-section .funnel-form label {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: 0.8rem;
  color: #c5a059;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.contact-section .funnel-form input, .contact-section .funnel-form select, .contact-section .funnel-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 10px 0;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
}
.contact-section .funnel-form input:focus, .contact-section .funnel-form select:focus, .contact-section .funnel-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #c5a059;
}
.contact-section .funnel-form .service-selection {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.contact-section .funnel-form .service-selection label {
  cursor: pointer;
  border: 1px solid #444;
  padding: 10px 20px;
  border-radius: 50px;
  color: #a0a0a0;
  transition: all 0.3s;
}
.contact-section .funnel-form .service-selection label:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.contact-section .funnel-form .service-selection label input[type=checkbox] {
  display: none;
}
.contact-section .funnel-form .service-selection label:has(input:checked) {
  background-color: #c5a059;
  color: #0a0a0a;
  border-color: #c5a059;
  font-weight: bold;
}
.contact-section .funnel-form button {
  margin-top: 2rem;
  padding: 15px 40px;
  background: #c5a059;
  color: #0a0a0a;
  border: none;
  font-family: "Cinzel", serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: center;
}
.contact-section .funnel-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
}

.other-details {
  overflow: hidden;
  transition: all 0.4s ease;
  max-height: 100px;
  opacity: 1;
  margin-top: 1rem;
}
.other-details.hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}
.other-details input {
  border-bottom: 1px dashed #c5a059 !important;
  font-style: italic;
}
.other-details input::-moz-placeholder {
  color: #555;
}
.other-details input::placeholder {
  color: #555;
}

footer {
  padding: 60px 20px;
  background-color: #050505;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  margin-top: 0;
  position: relative;
  z-index: 10;
}
footer .contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
footer .contact-info a {
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer .contact-info a:hover {
  color: #c5a059;
}

.main-nav {
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.main-nav .logo {
  font-family: "Cinzel", serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}
.main-nav .logo .gold-text {
  color: #c5a059;
}
.main-nav .hamburger-menu {
  cursor: pointer;
  z-index: 1001;
}
.main-nav .hamburger-menu svg .line {
  transition: all 0.3s ease;
  transform-origin: center;
}
.main-nav .hamburger-menu.active .top {
  transform: translateY(20px) rotate(45deg);
}
.main-nav .hamburger-menu.active .mid {
  opacity: 0;
}
.main-nav .hamburger-menu.active .bot {
  transform: translateY(-20px) rotate(-45deg);
}

.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0a0a0a;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.fullscreen-menu.open {
  opacity: 1;
  pointer-events: all;
}
.fullscreen-menu .menu-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
}
.fullscreen-menu .menu-content .menu-link {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.3s;
  text-decoration: none;
}
.fullscreen-menu .menu-content .menu-link:hover {
  color: #c5a059;
}
.fullscreen-menu .menu-content .menu-link.contact-btn {
  font-size: 1.5rem;
  border: 1px solid #c5a059;
  padding: 10px 30px;
  margin-top: 20px;
  font-family: "Fira Code", monospace;
  color: #c5a059;
}
.fullscreen-menu .menu-content .menu-link.contact-btn:hover {
  background: #c5a059;
  color: #000;
}

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.text-gold {
  color: #c5a059;
}

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

html, body {
  width: 100%;
  overflow-x: hidden; /* Evita scroll horizontal indeseado */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}
.hero-section .hero-logo-container {
  width: 150px;
  height: 150px;
  margin-bottom: 2rem;
  position: relative;
}
.hero-section .hero-logo-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  animation: pulse-glow 4s infinite ease-in-out;
}
.hero-section .hero-logo-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}
.hero-section h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.hero-section h1 span {
  display: block;
  font-size: 0.5em;
  font-family: "Fira Code", monospace;
  letter-spacing: 4px;
  color: #c5a059;
  margin-bottom: 10px;
  text-transform: uppercase;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
}
body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}