/* ============================================
   La Venta Advisors — Main Site Styles
   Brand: Charcoal serif + Teal accent
   ============================================ */

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

:root {
  --charcoal: #3D3D3D;
  --charcoal-dark: #2A2A2A;
  --teal: #1A9CB0;
  --teal-hover: #15859A;
  --teal-light: #E6F6F9;
  --navy: #1B2A4A;
  --bg-light: #F7F9FC;
  --white: #FFFFFF;
  --text: #3D3D3D;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-hover); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 156, 176, 0.3);
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  gap: 1px;
}

.nav__logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  letter-spacing: 0.04em;
}

.nav__logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--charcoal); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========== HERO ========== */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(170deg, var(--bg-light) 0%, var(--white) 60%);
  text-align: center;
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ========== PRODUCTS ========== */
.products {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card--coming-soon {
  cursor: default;
}
.product-card--coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.product-card__accent {
  height: 5px;
  width: 100%;
}

.product-card--rubricas .product-card__accent { background: #1A9CB0; }
.product-card--presentia .product-card__accent { background: linear-gradient(90deg, #1B2A4A, #F5C542); }
.product-card--garageprofit .product-card__accent { background: #2D8A4E; }
.product-card--clockguard .product-card__accent { background: #00B4D8; }
.product-card--timechecker .product-card__accent { background: #94A3B8; }

.product-card__content {
  padding: 28px 28px 32px;
}

.product-card__icon {
  margin-bottom: 18px;
}

.product-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 10px;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}

.product-card:hover .product-card__link {
  gap: 10px;
}

.product-card__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--bg-light);
}

.about__inner {
  max-width: 800px;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--charcoal-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer__logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer__logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__email {
  font-size: 1.05rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__email:hover { color: var(--teal); }

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

.footer__social-links a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__social-links a:hover { color: var(--teal); }

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .hero__title { font-size: 2.75rem; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav__links.active { display: flex; }

  .nav__hamburger { display: flex; }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__hamburger.active span:nth-child(2) { opacity: 0; }
  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero { padding: 130px 0 80px; }
  .hero__title { font-size: 2.25rem; }
  .hero__subtitle { font-size: 1.05rem; }

  .products { padding: 72px 0; }
  .products__grid { grid-template-columns: 1fr; gap: 20px; }

  .about { padding: 72px 0; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title { font-size: 1.85rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title { font-size: 1.85rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .product-card__content { padding: 22px 20px 26px; }
}
