/*
Theme Name: Huenu Landing
Theme URI: https://huenu.ar/
Author: Huenu
Description: Tema WordPress para la landing institucional de Huenu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: huenu-landing
*/

/* ============================================================
   HUENÚ — Custom Stylesheet
   Complementary to Tailwind CSS CDN (play.min.js)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #131F2F;
}

h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, label, span {
  font-family: 'Encode Sans Semi Condensed', sans-serif;
}

/* ── Scroll Animations (Intersection Observer) ────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.10s; }
.fade-in-delay-2 { transition-delay: 0.20s; }
.fade-in-delay-3 { transition-delay: 0.30s; }
.fade-in-delay-4 { transition-delay: 0.40s; }

/* ── Header scroll shadow ─────────────────────────────────── */
#site-header {
  transition: box-shadow 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

/* ── Mobile menu slide ────────────────────────────────────── */
#mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
#mobile-menu.open {
  max-height: 320px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #00FF01;
  color: #131F2F;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: rgba(0,255,1,0.88);
  box-shadow: 0 4px 18px rgba(0,255,1,0.3);
}
.btn-primary:hover .icon-arrow { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #00FF01;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid #00FF01;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: rgba(0,255,1,0.1);
}
.btn-outline:hover .icon-arrow { transform: translateX(4px); }

.icon-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Nav buttons */
.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
  padding: 0;
}
.nav-btn:hover { color: #00FF01; }

.nav-btn-cta {
  background-color: #00FF01;
  color: #131F2F;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.nav-btn-cta:hover { background-color: rgba(0,255,1,0.88); }

/* ── Why Cards hover ──────────────────────────────────────── */
.why-card {
  transition: transform 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); }

/* ── Product Card hover ───────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(150,158,152,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}
.product-card-consult {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #00FF01;
  color: #131F2F;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.product-card-consult:hover { background-color: rgba(0,255,1,0.88); }
.product-card-consult:hover .icon-arrow { transform: translateX(4px); }

/* ── Catalog Cards ───────────────────────────────────────── */
.equipment-tabs {
  display: flex;
  gap: 10px;
  margin: 0 auto 44px;
  padding: 8px;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(150,158,152,0.22);
  border-radius: 8px;
  background: #f6f7f7;
  scrollbar-width: thin;
}
.equipment-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: #131F2F;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.equipment-tab:hover {
  border-color: rgba(0,255,1,0.55);
}
.equipment-tab.is-active {
  background: #131F2F;
  border-color: #131F2F;
  color: #00FF01;
  box-shadow: 0 8px 20px rgba(19,31,47,0.16);
}
.catalog-group + .catalog-group {
  margin-top: 64px;
}
.catalog-group.is-hidden {
  display: none;
}
#equipos .fade-in {
  opacity: 1;
  transform: none;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(150,158,152,0.22);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(19,31,47,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,255,1,0.4);
  box-shadow: 0 14px 38px rgba(19,31,47,0.16);
}
.catalog-card-title {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: #131F2F;
}
.catalog-card-title h4 {
  margin: 0;
  color: #00FF01;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}
.catalog-media {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  background: #f7f8f8;
  border-bottom: 1px solid rgba(150,158,152,0.14);
}
.catalog-media img,
.catalog-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  display: block;
}
.catalog-media video {
  background: #000;
}
.catalog-empty {
  margin: 0;
  padding: 24px;
  border: 1px dashed rgba(150,158,152,0.35);
  border-radius: 8px;
  color: rgba(19,31,47,0.68);
}
.catalog-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px 14px;
  flex: 1;
}
.catalog-desc {
  margin: 0;
  color: #243148;
  font-size: 1.03rem;
  line-height: 1.6;
}
.catalog-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #243148;
  line-height: 1.45;
}
.catalog-specs li + li {
  margin-top: 12px;
}
.catalog-specs li {
  position: relative;
  padding-left: 32px;
}
.catalog-specs li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #00FF01;
  font-weight: 800;
  font-size: 1.1rem;
}
.catalog-actions {
  padding: 10px 24px 24px;
}
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00C800;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}
.catalog-link:hover {
  color: #00A000;
  text-decoration: underline;
}
.catalog-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 8px;
  border: 0;
  background: #00FF01;
  color: #131F2F;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-consult:hover {
  background: rgba(0,255,1,0.88);
  box-shadow: 0 8px 22px rgba(0,255,1,0.25);
}

/* ── Form ─────────────────────────────────────────────────── */
.form-group {
  position: relative;
  margin-bottom: 24px;
}
.form-label {
  display: block;
  color: #131F2F;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #969E98;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.form-icon-top {
  position: absolute;
  left: 16px;
  top: 14px;
  color: #969E98;
  pointer-events: none;
  display: flex;
}
.form-control {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 1px solid rgba(150,158,152,0.3);
  border-radius: 8px;
  background: #fff;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  color: #131F2F;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  border-color: #00FF01;
  box-shadow: 0 0 0 3px rgba(0,255,1,0.12);
}
.form-control::placeholder { color: #969E98; }
textarea.form-control {
  resize: none;
  padding-top: 12px;
}
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #00FF01;
  color: #131F2F;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-submit:hover {
  background-color: rgba(0,255,1,0.88);
  box-shadow: 0 4px 18px rgba(0,255,1,0.25);
}
.btn-submit:hover .icon-send { transform: translateX(4px); }
.icon-send { transition: transform 0.2s ease; display: inline-block; }

/* ── WhatsApp link ────────────────────────────────────────── */
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00FF01;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.wa-link:hover { color: rgba(0,255,1,0.75); }

/* ── Download link ────────────────────────────────────────── */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00FF01;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.download-link:hover { color: rgba(0,255,1,0.75); }
.download-link span { text-decoration: underline; }

/* ── Feature list ─────────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(19,31,47,0.8);
  font-size: 1rem;
}

/* ── Decorative blobs ─────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

/* ── Lucide icons fix ─────────────────────────────────────── */
[data-lucide] { display: inline-block; }
svg.lucide { display: inline-block; }

/* ── Responsive helpers ───────────────────────────────────── */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}
