/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0E0E0E;
  color: #EDE8DF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== VARIABLES ===== */
:root {
  --bg:           #0E0E0E;
  --surface:      #181818;
  --surface-2:    #222222;
  --accent:       #E8921A;
  --accent-light: #F5B042;
  --accent-dim:   rgba(232, 146, 26, 0.12);
  --text:         #EDE8DF;
  --text-muted:   #8A8278;
  --border:       rgba(255, 255, 255, 0.08);
  --border-accent:rgba(232, 146, 26, 0.3);
  --radius:       12px;
  --radius-sm:    8px;
  --max-width:    1140px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

em {
  font-style: italic;
  color: var(--accent-light);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #0E0E0E;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 146, 26, 0.35);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===== TYPE HELPERS ===== */
.section-eyebrow {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 56px;
  width: auto;
  display: block;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #0E0E0E;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile menu open state */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero-section {
  padding: 100px 28px 88px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 146, 26, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 146, 26, 0.04) 0%, transparent 60%);
  border-radius: 20px;
}

/* When a real <img> is inside hero-image-placeholder */
.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.placeholder-inner {
  text-align: center;
  color: var(--text-muted);
}

.placeholder-inner span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.35;
}

.placeholder-inner p {
  font-size: 0.8rem;
  opacity: 0.45;
}

/* ===== INTRO ===== */
.intro-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  margin-top: 8px;
}

.intro-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===== BARRAS ===== */
.barras-section {
  padding: 100px 0;
  background: var(--bg);
}

.barras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.barra-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.barra-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}

.barra-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.barra-card:hover::after {
  background: var(--accent);
}

.barra-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  margin: -20px -20px 16px -20px;
  width: calc(100% + 40px);
}

.barra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.barra-body {
  flex: 1;
}

.barra-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.barra-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.barra-footer {
  margin-top: 4px;
}

.price-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border-accent);
}

.price-custom {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border);
}

.barras-cta {
  margin-top: 56px;
  text-align: center;
  padding: 52px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.barras-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* ===== WHY ===== */
.why-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.why-card {
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: var(--border-accent);
}

.why-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== GALLERY ===== */
.gallery-section {
  padding: 100px 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.gallery-item:hover {
  border-color: var(--border-accent);
  transform: scale(1.01);
}

/* When real images are dropped in */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* ===== CLIENTES ===== */
.clientes-section {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clientes-eyebrow {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Marquee ── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(2);
  opacity: 0.6;
  flex-shrink: 0;
  transition: filter 0.3s, opacity 0.3s;
}

.marquee-track img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ===== VIDEO ===== */
.video-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.video-wrapper {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ===== CONTACTO ===== */
.contacto-section {
  padding: 100px 0;
  background: var(--bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacto-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 8px;
}

.contacto-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contacto-datos {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.dato-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dato-item strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.dato-item a,
.dato-item span {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.dato-item a:hover {
  color: var(--accent);
}

.contacto-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.contacto-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-group select option {
  background: var(--bg);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-feedback {
  font-size: 0.875rem;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
}

.form-feedback--ok {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback--err {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .contacto-form-wrap { padding: 28px 20px; }
}

.reqs-list li strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.reqs-list li span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Stagger children */
.barra-card:nth-child(2)  { transition-delay: 0.05s; }
.barra-card:nth-child(3)  { transition-delay: 0.10s; }
.barra-card:nth-child(4)  { transition-delay: 0.15s; }
.barra-card:nth-child(5)  { transition-delay: 0.20s; }
.barra-card:nth-child(6)  { transition-delay: 0.05s; }
.barra-card:nth-child(7)  { transition-delay: 0.10s; }
.barra-card:nth-child(8)  { transition-delay: 0.15s; }
.barra-card:nth-child(9)  { transition-delay: 0.20s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .intro-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    border-bottom: 1px solid var(--border);
    padding: 20px 28px 28px;
    gap: 20px;
  }

  .nav-links.mobile-open a {
    font-size: 1rem;
    color: var(--text);
  }

  .hero-section {
    padding: 72px 20px 60px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .barras-grid {
    grid-template-columns: 1fr;
  }

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

  .barras-cta {
    padding: 36px 24px;
  }

  .contacto-reqs {
    padding: 28px 20px;
  }

  .container {
    padding: 0 20px;
  }
}
