:root {
  --bg: #0b0e12;
  --bg-alt: #12161c;
  --fg: #f2f4f6;
  --muted: #9aa4b0;
  --accent: #0fffcf;
  --accent-dark: #0bcfa8;
  --border: #232a33;
  --card-bg: #171c23;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo svg { display: block; }

.main-nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* Banner */
.banner {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  background: var(--bg-alt);
}

.banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

/* Sections */
.product-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.9rem;
  margin: 0 0 4px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 28px;
}

/* Carousel */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dark) var(--bg-alt);
}

.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 4px; }

.carousel-btn {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--fg);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #05130f;
}

.carousel-btn.prev { margin-right: 8px; }
.carousel-btn.next { margin-left: 8px; }

.product-card {
  scroll-snap-align: start;
  flex: none;
  width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dark);
}

.product-card .photo-wrap {
  width: 100%;
  height: 220px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .info {
  padding: 12px 14px 16px;
}

.product-card .modelo {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.product-card .precio {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 8px 0 0;
}

.carousel-status {
  color: var(--muted);
  padding: 20px 0;
}

/* F-One section */
.fone-section {
  padding: 56px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.fone-inner {
  max-width: 720px;
}

.fone-inner p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #05130f;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #05130f;
}

/* Contact form */
.contact-section { padding: 56px 0 80px; }

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-row label {
  font-size: 0.88rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
}

.form-status.ok { color: var(--accent); }
.form-status.error { color: #ff6b6b; }

/* Footer */
.site-footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open { max-height: 320px; }

  .nav-link {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }

  .section-inner { padding: 0 16px; }

  .banner img { height: 200px; }
  .banner { max-height: 200px; }
}
