/* ==========================================================================
   MARCO POLO COMPANY - HOJA DE ESTILOS PRINCIPAL (PREMIUM DESIGN SYSTEM)
   ========================================================================== */

/* 1. CONFIGURACIÓN DEL SISTEMA DE DISEÑO (TOKENS) */
:root {
  /* Paleta Cromática Institucional (HSL Tailored) */
  --primary-green: hsl(165, 46%, 17%);         /* #173E33 - Matcha & Logo */
  --primary-green-light: hsl(165, 45%, 24%);
  --primary-green-dark: hsl(165, 50%, 10%);
  --primary-green-glow: hsla(165, 46%, 17%, 0.15);
  
  --accent-terracota: hsl(25, 46%, 51%);       /* #B87A4C - Café Tostado & Acentos */
  --accent-terracota-light: hsl(25, 46%, 60%);
  --accent-terracota-dark: hsl(25, 46%, 42%);
  --accent-terracota-glow: hsla(25, 46%, 51%, 0.2);

  --bg-alabaster: #FCFAF5;                     /* Crema Alabaster */
  --bg-alabaster-card: #F5F1E8;                /* Crema Alabaster un poco más oscuro */
  --bg-dark-slate: hsl(160, 10%, 12%);         /* #1C2220 - Texto y contrastes oscuros */
  
  --text-primary: #1C2220;
  --text-muted: hsl(160, 5%, 38%);
  --text-light: #ffffff;
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(252, 250, 245, 0.75);
  --glass-bg-dark: rgba(23, 62, 51, 0.85);
  --glass-border: rgba(23, 62, 51, 0.08);
  --glass-border-light: rgba(252, 250, 245, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(23, 62, 51, 0.05);

  /* Tipografías */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Animaciones y Transiciones */
  --transition-ease: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET Y BASES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-alabaster);
  color: var(--text-primary);
  line-height: 1.625;
  overflow-x: hidden;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alabaster);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green-light);
  border: 2px solid var(--bg-alabaster);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-terracota);
}

/* Estructura */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* 3. ELEMENTOS DE TEXTO E IMAGEN COMUNES */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--primary-green-dark);
  font-weight: 600;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-terracota);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.text-lead {
  font-size: 1.188rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

strong {
  color: var(--primary-green-dark);
  font-weight: 600;
}

/* Grillas */
.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Botones */
.btn-primary, .btn-secondary, .nav-btn-cta, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.938rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-ease);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-terracota);
  color: var(--white);
  box-shadow: 0 4px 14px var(--accent-terracota-glow);
}

.btn-primary:hover {
  background-color: var(--accent-terracota-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-terracota-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-btn-cta {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.nav-btn-cta:hover {
  background-color: var(--accent-terracota);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px var(--accent-terracota-glow);
}

/* ==========================================================================
   4. CABECERA (MAIN HEADER)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-ease);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

/* Header con Scroll (Estilo Glassmorphism) */
.main-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-text {
  height: 38px;
  width: auto;
  transition: var(--transition-ease);
}

.main-header.scrolled .header-logo-text {
  height: 32px;
}

/* Navegación */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--primary-green);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-terracota);
  transition: var(--transition-ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-terracota-dark);
}

/* Botón Hamburguesa Móvil */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition-fast);
}

.hamburger::before { top: -8px; left: 0; }
.hamburger::after { bottom: -8px; left: 0; }

/* Menú móvil abierto */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}


/* ==========================================================================
   5. SECCIÓN HERO (NAVIGATOR OF TASTE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4rem 0;
  background-color: var(--bg-alabaster);
  background-image: 
    radial-gradient(circle at 80% 20%, hsla(165, 46%, 17%, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, hsla(25, 46%, 51%, 0.03) 0%, transparent 40%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-tagline {
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-terracota);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

/* Brújula Hero & Animaciones */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.compass-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-compass-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(23, 62, 51, 0.12));
  animation: float-compass 6s ease-in-out infinite;
  transition: var(--transition-slow);
}

.hero-compass-img:hover {
  transform: rotate(15deg) scale(1.03);
  filter: drop-shadow(0 20px 45px rgba(23, 62, 51, 0.18));
}

.compass-ring-animation {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 1px dashed var(--accent-terracota-light);
  border-radius: 50%;
  opacity: 0.35;
  animation: rotate-ring 40s linear infinite;
  pointer-events: none;
}

@keyframes float-compass {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ==========================================================================
   6. SECCIÓN FILOSOFÍA (CIENCIA & ARTE)
   ========================================================================== */
.filosofia-section {
  padding: 8rem 0;
  background-color: var(--bg-alabaster);
  border-top: 1px solid rgba(23, 62, 51, 0.04);
}

/* Tarjeta Técnica de Ingeniería */
.tech-card {
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(23, 62, 51, 0.04);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-terracota));
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e0e0e0;
}

.tech-card-header .tech-dot:nth-child(1) { background-color: var(--accent-terracota); }
.tech-card-header .tech-dot:nth-child(2) { background-color: var(--primary-green); }

.tech-label {
  margin-left: auto;
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.formula-line {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-green-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.formula-var {
  color: var(--accent-terracota);
}

.formula-divider {
  height: 1px;
  background-color: var(--glass-border);
  margin: 1.5rem 0;
}

.formula-desc {
  font-size: 0.938rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.compass-mini-svg {
  position: absolute;
  bottom: -10px;
  right: -10px;
  opacity: 0.03;
  color: var(--primary-green);
  transform: scale(2.5);
}


/* ==========================================================================
   7. SECCIÓN SOLUCIONES HORECA (TARJETAS)
   ========================================================================== */
.soluciones-section {
  padding: 8rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--glass-border);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Tarjetas de Soluciones */
.solutions-grid {
  margin-top: 2rem;
}

.solution-card {
  background-color: var(--bg-alabaster);
  border: 1px solid var(--glass-border);
  padding: 3rem 2.25rem;
  border-radius: 6px;
  transition: var(--transition-ease);
  display: flex;
  flex-direction: column;
}

.solution-icon-wrapper {
  color: var(--accent-terracota);
  margin-bottom: 1.75rem;
  background-color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(23, 62, 51, 0.03);
  transition: var(--transition-ease);
  border: 1px solid var(--glass-border);
}

.solution-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.solution-card p {
  font-size: 0.938rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-features {
  border-top: 1px solid rgba(23, 62, 51, 0.06);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-features li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-green-dark);
  position: relative;
  padding-left: 1.25rem;
}

.card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-terracota);
}

/* Efectos Hover de las tarjetas */
.solution-card:hover {
  transform: translateY(-8px);
  background-color: var(--white);
  border-color: var(--accent-terracota-light);
  box-shadow: 0 20px 40px rgba(184, 122, 76, 0.06);
}

.solution-card:hover .solution-icon-wrapper {
  background-color: var(--accent-terracota);
  color: var(--white);
  transform: scale(1.05);
}


/* ==========================================================================
   8. SECCIÓN MATCHA (LA TRILOGÍA ESENCIAL)
   ========================================================================== */
.matcha-section {
  padding: 8rem 0;
  background-color: var(--primary-green-dark);
  color: var(--white);
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(184, 122, 76, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(23, 62, 51, 0.8) 0%, transparent 50%);
}

.matcha-section h2.section-title {
  color: var(--white);
}

.matcha-section p {
  color: hsla(0, 0%, 100%, 0.75);
}

.matcha-section strong {
  color: var(--white);
}

.text-terracota {
  color: var(--accent-terracota-light) !important;
}

.matcha-intro-grid {
  align-items: flex-end;
  margin-bottom: 5rem;
}

.matcha-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

/* Ficha del Matcha */
.matcha-card {
  background-color: rgba(252, 250, 245, 0.04);
  border: 1px solid var(--glass-border-light);
  padding: 2.5rem;
  border-radius: 6px;
  transition: var(--transition-ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Tarjeta Barista Destacada */
.featured-matcha-card {
  background-color: rgba(252, 250, 245, 0.08);
  border-color: var(--accent-terracota-light);
  transform: scale(1.03);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(184, 122, 76, 0.15);
  pointer-events: none;
  opacity: 0.5;
}

.matcha-badge {
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.matcha-badge.ceremonial {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.matcha-badge.barista {
  background-color: var(--accent-terracota);
  color: var(--white);
}

.matcha-badge.culinario {
  background-color: #3d5a4d;
  color: #c7dcd0;
}

.matcha-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.matcha-card-desc {
  font-size: 0.938rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.matcha-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.813rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: hsla(0, 0%, 100%, 0.5);
  font-weight: 500;
}

.spec-val {
  color: var(--white);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.matcha-card:hover {
  transform: translateY(-6px);
  background-color: rgba(252, 250, 245, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

.featured-matcha-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent-terracota);
  background-color: rgba(252, 250, 245, 0.12);
}

.matcha-cta-bottom {
  text-align: center;
  margin-top: 5rem;
}


/* ==========================================================================
   9. SECCIÓN CONTACTO Y FORMULARIO B2B
   ========================================================================== */
.contacto-section {
  padding: 8rem 0;
  background-color: var(--bg-alabaster);
  border-top: 1px solid var(--glass-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-green-dark);
}

.contact-detail-item svg {
  color: var(--accent-terracota);
  flex-shrink: 0;
}

/* Caja del Formulario */
.contact-form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 45px rgba(23, 62, 51, 0.04);
  padding: 3.5rem;
  border-radius: 8px;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b2b-qualify-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-ease);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.813rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  letter-spacing: 0.02em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  font-family: var(--font-sans);
  padding: 0.875rem 1.125rem;
  font-size: 0.938rem;
  background-color: var(--bg-alabaster);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  color: var(--text-primary);
  transition: var(--transition-fast);
  width: 100%;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23173E33' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  padding-right: 2.5rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-terracota-light);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--accent-terracota-glow);
}

/* Validaciones y Errores */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #d32f2f;
  background-color: #fff8f8;
}

.error-msg {
  font-size: 0.75rem;
  color: #d32f2f;
  font-weight: 500;
  display: none;
  margin-top: 0.25rem;
}

.form-group.invalid .error-msg {
  display: block;
}

.btn-submit {
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 15px var(--primary-green-glow);
  margin-top: 1rem;
  align-self: flex-start;
  width: auto;
}

.btn-submit:hover {
  background-color: var(--accent-terracota);
  box-shadow: 0 6px 20px var(--accent-terracota-glow);
  transform: translateY(-2px);
}

.submit-arrow {
  margin-left: 0.75rem;
  transition: var(--transition-fast);
}

.btn-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Estado de Agradecimiento (Success State) */
.thank-you-card {
  text-align: center;
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(23, 62, 51, 0.06);
  color: var(--primary-green);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(23, 62, 51, 0.1);
}

.thank-you-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.thank-you-card p {
  font-size: 1.063rem;
  max-width: 480px;
  margin: 0 auto 1.5rem auto;
}

.thank-you-note {
  font-size: 0.875rem !important;
  color: var(--text-muted);
}

.thank-you-card button {
  margin-top: 2rem;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   10. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.main-footer {
  background-color: var(--bg-dark-slate);
  color: var(--white);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .footer-logo-text {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1); /* Pone las letras blancas */
  margin-bottom: 1.5rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.938rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links li {
  font-size: 0.938rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

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

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-terracota-light);
  font-weight: 500;
}

.inline-svg {
  flex-shrink: 0;
}

.disabled-link {
  font-style: italic;
  opacity: 0.35;
  cursor: not-allowed;
}

/* Barra de Copyright inferior */
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 0;
}


/* ==========================================================================
   11. ADAPTABILIDAD RESPONSIVA (MEDIA QUERIES)
   ========================================================================== */

/* 1024px - iPad Pro / Laptops pequeños */
@media (max-width: 1024px) {
  .grid-2-cols {
    gap: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .matcha-cards-container {
    gap: 1.5rem;
  }
  .featured-matcha-card {
    transform: scale(1.0);
  }
  .featured-matcha-card:hover {
    transform: translateY(-6px) scale(1.0);
  }
  .contact-grid {
    gap: 3rem;
  }
}

/* 768px - Tablets y móviles grandes */
@media (max-width: 768px) {
  /* Reset de grillas */
  .grid-2-cols, .grid-3-cols, .matcha-cards-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
    padding-top: 2rem;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* Muestra el logo arriba en móviles */
  }
  
  .compass-wrapper {
    max-width: 280px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .filosofia-section, .soluciones-section, .matcha-section, .contacto-section {
    padding: 5rem 0;
  }
  
  .matcha-intro-grid {
    margin-bottom: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .btn-submit {
    width: 100%;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-copyright {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Menú de navegación móvil responsivo */
  .mobile-nav-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(23, 62, 51, 0.05);
    z-index: 1050;
    transition: var(--transition-ease);
    padding: 6rem 2rem 2rem 2rem;
  }

  .primary-navigation.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.125rem;
  }

  .nav-btn-cta {
    width: 100%;
    margin-top: 1.5rem;
  }
}

/* 480px - Móviles pequeños */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  .formula-line {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   CATÁLOGO DE INSUMOS B2B Y WHATSAPP FLOAT
   ========================================================================== */

.catalog-section {
  padding: 8rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--glass-border);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-top: 3rem;
}

.catalog-card {
  background-color: var(--bg-alabaster-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-ease);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(23, 62, 51, 0.02);
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(23, 62, 51, 0.06);
  border-color: var(--accent-terracota-light);
}

.catalog-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: var(--primary-green-dark);
}

.catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.catalog-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: var(--primary-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(23, 62, 51, 0.2);
}

.catalog-badge.special {
  background-color: var(--accent-terracota);
}

.catalog-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary-green-dark);
  font-family: var(--font-serif);
}

.catalog-desc {
  font-size: 0.938rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.catalog-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: auto;
}

.catalog-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(23, 62, 51, 0.1);
  font-size: 0.875rem;
}

.catalog-spec-item:last-child {
  border-bottom: none;
}

.catalog-spec-name {
  font-weight: 600;
  color: var(--primary-green-dark);
}

.catalog-spec-val {
  color: var(--text-muted);
  text-align: right;
  max-width: 60%;
}

.catalog-cta-bottom {
  text-align: center;
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white) !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-ease);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Media Queries Adicionales para el Catálogo */
@media (max-width: 1024px) {
  .catalog-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-image-wrapper {
    height: 220px;
  }
  .catalog-content {
    padding: 1.75rem;
  }
  .catalog-cta-bottom {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .catalog-cta-bottom .btn-primary,
  .catalog-cta-bottom .btn-secondary {
    width: 100%;
  }
}
