@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@700;900&display=swap');

:root {
  /* Paleta de Colores */
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: #161616;
  --card-hover: #1e1e1e;
  --text: #f3f4f6;
  --muted: #a1a1aa;
  
  --accent: #ff5700;       /* Naranja fuego encendido */
  --accent-hover: #ff7632; /* Naranja más brillante */
  --accent-rgb: 255, 87, 0;
  
  --success: #22c55e;
  --whatsapp: #25d366;
  
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 87, 0, 0.3);
  
  /* Sombras y Efectos */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --glow: 0 0 25px rgba(255, 87, 0, 0.15);
  --glow-strong: 0 0 35px rgba(255, 87, 0, 0.3);
  
  /* Bordes y Anchos */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

/* Reset de Estilos */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 87, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 87, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Utilidades */
.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

.text-accent {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

/* Navbar Glassmorphism */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  background: rgba(255, 87, 0, 0.05);
  box-shadow: inset 0 0 10px rgba(255, 87, 0, 0.1);
  transition: all 0.3s ease;
}

.brand:hover .brand-icon {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 87, 0, 0.3);
  transform: rotate(15deg);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Menú Hamburguesa Móvil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
}

/* Botones con Estilo Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e04a00);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 87, 0, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Grillas */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tarjetas (Cards) de Alta Calidad */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow), var(--glow);
  background: var(--card-hover);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  aspect-ratio: 16/10;
  background-color: #1a1a1a;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.06);
}

.card-tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Títulos y Secciones */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

/* Héroe (Hero) */
.hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 87, 0, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 87, 0, 0.08);
  border: 1px solid rgba(255, 87, 0, 0.2);
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 2.5vw, 19px);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 16px;
  }
}

.hero-image-container {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow);
  overflow: hidden;
  transition: all 0.5s ease;
}

.hero-image-container:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow-strong);
  border-color: var(--border-hover);
}

.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Sección Sobre el Taller (2 Columnas) */
.about-section {
  background: linear-gradient(180deg, transparent, var(--bg-soft));
}

.about-grid {
  align-items: center;
}

.about-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-features {
  margin-top: 30px;
  list-style: none;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.about-features li::before {
  content: "✔";
  color: var(--accent);
  font-weight: bold;
}

.about-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}

.about-image:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
}

/* Call to Action Final */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 87, 0, 0.08) 0%, transparent 70%);
}

.cta-box {
  background: linear-gradient(135deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #ff8f3c);
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #060606;
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-nav-link:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 87, 0, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
