/*
Theme Name: Vetsept Theme
Theme URI: https://www.tseptbiopharma.com/
Author: AI Assistant
Description: Tema para Landing Page Vetsept Home & Pets (NeuroCopy Architecture).
Version: 2.0.1
Text Domain: vetsept
*/

:root {
  --green: #3BAA35;
  --green-dark: #1A3D1C;
  --green-light: #E8F5E4;
  --green-glow: #7DD87A;
  --blue: #2B7EC1;
  --blue-light: #E3F0FB;
  --amber: #C47A10;
  --amber-light: #FEF3DC;
  --bg-warm: #F7F6F1;
  --dark: #141414;
  --white: #ffffff;
  
  --font-main: 'DM Sans', sans-serif;
  --font-heading: 'Syne', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Layout */
.container {
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    width: 90%; /* 5% margin en móvil para legibilidad */
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.btn-primary {
  background-color: var(--green);
  color: var(--white);
}
.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
}
.btn-blue {
  background-color: var(--blue);
  color: var(--white);
}
.btn-amber {
  background-color: var(--amber);
  color: var(--white);
}

/* 1. Top Bar */
.top-bar {
  background-color: var(--green);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 12.5px;
  font-weight: 500;
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    position: relative;
  }
  .top-bar span:nth-child(even) {
    display: none;
  }
  .site-nav {
    top: 0;
  }
  .site-nav .container {
    justify-content: center;
  }
}

/* 2. Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 16px 0;
}
.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img {
  height: 85px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 500;
}
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}
.nav-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* 3. Hero */
.hero-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1F4A22 100%);
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-section p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-bar-hero {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--green-glow);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #2a5a2e; /* placeholder until photo is provided */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.disclaimer-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-ctas { flex-direction: column; }
  .hero-visual { aspect-ratio: auto; }
  .hero-visual img { height: auto; object-fit: contain; }
  .disclaimer-badge { right: 24px; bottom: 16px; padding: 12px; font-size: 0.85rem;}
}

/* 4. Pain Mirror */
.pain-section {
  background-color: var(--bg-warm);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  position: relative;
}
.pain-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--green-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.pain-card span {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}
.pain-bridge {
  text-align: center;
  margin-top: 48px;
  font-size: 1.25rem;
  font-weight: 500;
}
@media (max-width: 960px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* 5. Reframe (Table) */
.reframe-section {
  background-color: var(--white);
}
.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: stretch;
}
.comparison-header .col {
  padding: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}
.comparison-header .col-feature { background: #fff; }
.comparison-header .col-comun { background: #f0f0f0; color: #666; }
.comparison-header .col-vetsept { background: var(--green-dark); color: var(--green-glow); }

.comparison-body .comparison-row {
  border-bottom: 1px solid #eee;
}
.comparison-body .comparison-row:last-child { border-bottom: none; }
.col-feature {
  padding: 24px;
  background: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.col-comun {
  padding: 24px;
  background: #fafafa;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-vetsept {
  padding: 24px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 600px) {
  .comparison-row { grid-template-columns: 1fr; }
  .col-feature { background: #f9f9f9; text-align: center; justify-content: center;}
}

/* 6. Productos */
.products-section {
  background-color: var(--bg-warm);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}
.card-green { border-top: 8px solid var(--green); }
.card-amber { border-top: 8px solid var(--amber); }
.card-blue { border-top: 8px solid var(--blue); }

.product-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.card-green .product-tag { background: var(--green-light); color: var(--green-dark); }
.card-amber .product-tag { background: var(--amber-light); color: #8A560B; }
.card-blue .product-tag { background: var(--blue-light); color: #1E5C8F; }

.product-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.card-green .product-icon { color: var(--green); }
.card-amber .product-icon { color: var(--amber); }
.card-blue .product-icon { color: var(--blue); }

.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.product-tagline {
  font-weight: 600;
  color: #555;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.product-copy {
  color: #666;
  margin-bottom: 24px;
  flex-grow: 1;
}
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}
.product-disclaimer {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 24px;
  font-style: italic;
}
.product-card .btn {
  width: 100%;
}
@media (max-width: 960px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* 7. Cómo funciona */
.how-it-works-section {
  background-color: var(--white);
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 24px;
}
.step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.step p {
  color: #666;
}
.step-warning {
  margin-top: 16px;
  background: var(--amber-light);
  color: #8A560B;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.steps-container::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #ccc, #ccc 8px, transparent 8px, transparent 16px);
  z-index: 1;
}
.tech-insight {
  margin: 64px auto 0;
  max-width: 600px;
  text-align: center;
  padding: 24px;
  background: var(--bg-warm);
  border-radius: 16px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .steps-container { grid-template-columns: 1fr; }
  .steps-container::before { display: none; }
}

/* 8. Testimoniales */
.testimonials-section {
  background-color: var(--green-dark);
  color: var(--white);
}
.testimonials-section .section-header h2 {
  color: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  border-radius: 16px;
}
.testimonial-stars {
  color: #FFD700;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.author-info strong {
  display: block;
}
.author-info span {
  color: var(--green-glow);
  font-size: 0.85rem;
}
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--green-glow);
  display: block;
}
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 32px; }
}

/* 9. FAQ */
.faq-section {
  background-color: var(--bg-warm);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  overflow: hidden;
}
.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--green);
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #555;
}
.faq-item.is-open .faq-answer {
  padding: 0 24px 24px;
  max-height: 500px;
}

/* 10. Cierre Identitario */
.cierre-section {
  background-color: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 120px 0;
}
.cierre-content {
  max-width: 800px;
  margin: 0 auto;
}
.cierre-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}
.cierre-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--green-glow);
  font-style: italic;
  margin-bottom: 40px;
}
.cierre-content p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.cierre-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0;
}
.cierre-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.cierre-tribu {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 600px) {
  .cierre-ctas { flex-direction: column; }
}

/* Footer & Modals */
.site-footer {
  background: var(--white);
  padding: 64px 0 40px;
  text-align: center;
  border-top: 1px solid #eee;
}
.footer-links {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

/* Modals from old CSS (Kept for compatibility) */
.fx-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.fx-modal.is-active {
  display: flex;
}
.fx-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.fx-modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  z-index: 2001;
}
.fx-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 2rem; cursor: pointer;
  color: #888;
}
.field {
  margin-bottom: 20px;
  text-align: left;
}
.field label {
  display: block; font-weight: 600; margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
}
.fx-qty-field {
  margin-bottom: 24px;
}
.fx-qty-controls {
  display: flex; align-items: center; gap: 16px;
}
.fx-qty-btn {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid #ddd; background: #f9f9f9; cursor: pointer;
}
.fx-qty-controls input {
  width: 60px; text-align: center; border: 1px solid #ddd; padding: 10px; border-radius: 8px;
}

.legal-topbar { padding: 20px; background: #f9f9f9; }
.legal-back-link { font-weight: bold; display: flex; align-items: center; gap: 8px;}
.legal-main { padding: 60px 0; }
.legal-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
