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

body {
  font-family: 'Inter', sans-serif;
  background-color: #050505;
  color: #e8e9ea;
  line-height: 1.5;
  scroll-behavior: smooth;
}

h1, h2, h3, .nav-logo, .btn, .proj-num, .srv-n {
  font-family: 'Space Grotesk', monospace;
  font-weight: 500;
}

em {
  font-style: normal;
  color: #c2a25b;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #c2a25b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: #e8e9ea;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #c2a25b;
}

.avail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(194, 162, 91, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #2ecc71;
}

.nav-cta {
  background: #c2a25b;
  color: #050505 !important;
  padding: 0.5rem 1.4rem;
  border-radius: 40px;
  font-weight: 600 !important;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #d9b46c;
  transform: translateY(-2px);
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  position: relative;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 20% 30%, rgba(194, 162, 91, 0.08) 0%, #050505 70%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(0.4);
  z-index: -1;
}

.hero-content {
  max-width: 750px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c2a25b;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.2rem;
  color: #b0b3b8;
  max-width: 550px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-white {
  background: white;
  color: #050505;
}

.btn-white:hover {
  background: #c2a25b;
  color: #050505;
  transform: translateY(-3px);
}

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: #c2a25b;
  background: rgba(194, 162, 91, 0.1);
  transform: translateY(-3px);
}

.btn-black {
  background: #c2a25b;
  color: #050505;
}

.strip {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
  margin: 2rem 0;
}

.strip-inner {
  display: inline-block;
  animation: scroll 25s linear infinite;
}

.strip-item {
  display: inline-block;
  margin: 0 2rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #aaa;
}

.strip-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #c2a25b;
  border-radius: 50%;
  margin-left: 2rem;
  vertical-align: middle;
}

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

section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.sec-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c2a25b;
  margin-bottom: 1rem;
}

.work-h {
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-h {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-p {
  color: #b0b3b8;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.skills {
  margin-top: 2rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.sk-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.sk-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.sk-bar {
  height: 100%;
  width: 0%;
  background: #c2a25b;
  border-radius: 10px;
}

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 1.5rem;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-tags-title {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #aaa;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.atag {
  background: rgba(255,255,255,0.05);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 0 5%;
  max-width: 1400px;
  margin: 2rem auto 0;
}

.work-count {
  color: #c2a25b;
  font-size: 0.9rem;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #0c0c0c;
  border-radius: 32px;
  margin: 3rem 5%;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -12px rgba(0,0,0,0.5);
}

.dark-bg {
  background: #0a0a0a;
}

.proj-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proj-num {
  font-size: 0.8rem;
  color: #c2a25b;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.proj-tag {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.proj-h {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.proj-desc {
  color: #b0b3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.proj-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pill {
  background: rgba(194, 162, 91, 0.12);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
}

.proj-link {
  color: #c2a25b;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow {
  transition: transform 0.2s;
}

.proj-link:hover .arrow {
  transform: translateX(5px);
}

.proj-visual {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.proj-visual-inner {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 35px -10px black;
}

.proj-visual-inner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.project:hover .proj-visual-inner img {
  transform: scale(1.02);
}

.services {
  background: #0b0b0b;
  border-radius: 40px;
  margin: 4rem 5%;
}

.services-inner {
  padding: 4rem;
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #111;
  padding: 2rem;
  border-radius: 24px;
  transition: all 0.2s;
}

.service-card:hover {
  background: #161616;
  transform: translateY(-5px);
}

.srv-n {
  font-size: 2rem;
  color: #c2a25b;
  margin-bottom: 1rem;
}

.srv-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.srv-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.srv-desc {
  color: #aaa;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.srv-tag {
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
}

.testimonials {
  background: #080808;
  border-radius: 40px;
  margin: 2rem 5%;
}

.test-inner {
  padding: 4rem;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.test-card {
  background: #111;
  padding: 2rem;
  border-radius: 24px;
}

.test-q {
  font-style: italic;
  color: #ddd;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-av {
  width: 44px;
  height: 44px;
  background: #c2a25b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #050505;
}

.test-name {
  font-weight: 600;
}

.test-role {
  font-size: 0.75rem;
  color: #aaa;
}

.cta-band {
  background: linear-gradient(135deg, #c2a25b 0%, #a07e42 100%);
  margin: 4rem 5%;
  padding: 4rem;
  border-radius: 40px;
  color: #050505;
  text-align: center;
}

.cta-h {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-sub {
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: #0c0c0c;
  border-radius: 40px;
  margin: 2rem 5% 4rem;
}

.contact-left {
  padding: 3rem;
}

.contact-h {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.contact-p {
  color: #b0b3b8;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #ddd;
  text-decoration: none;
}

.ci-dot {
  width: 6px;
  height: 6px;
  background: #c2a25b;
  border-radius: 50%;
}

.contact-right {
  background: #111;
  padding: 3rem;
  border-radius: 32px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.frow {
  display: flex;
  gap: 1rem;
}

.fg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.8rem;
  color: #aaa;
}

input, select, textarea {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  padding: 0.8rem;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  transition: border 0.2s;
  appearance: none; /* Desactiva la apariencia nativa para control completo */
  -webkit-appearance: none; /* Específico para Safari/Chrome en iOS */
  -moz-appearance: none; /* Específico para Firefox */
  cursor: pointer;
}

@media (max-width: 640px) {
  .contact-right {
    padding: 1.5rem; /* Reduce el padding en móviles si es necesario */
  }
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #c2a25b;
}

.form-success {
  color: #2ecc71;
  font-size: 0.85rem;
  display: none;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: #777;
}

.f-logo {
  font-weight: 600;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #fff, #c2a25b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.f-nav {
  display: flex;
  gap: 2rem;
}

.f-nav a {
  color: #aaa;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-h1 { font-size: 3rem; }
  .about, .project, .contact { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .services-inner, .test-inner { padding: 2rem; }
  .cta-h { font-size: 2rem; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-actions { flex-direction: column; }
  .proj-info { padding: 1.8rem; }
}

.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prevenir cualquier comportamiento extraño en selects y formularios */
select, select:focus, select:active {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.form button {
  cursor: pointer;
}

.form * {
  user-select: none;
  -webkit-user-select: none;
}