/* styles.css - Versión consolidada */
:root {
  --primary-color: #5D4037;
  --secondary-color: #8B4513;
  --accent-color: #e6d7b8;
  --light-bg: #f8f4e6;
  --dark-text: #333;
  --light-text: #fff;
  --gray-text: #666;
  --border-color: #ddd;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* Menú hamburguesa para móviles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s;
}

/* Market Ticker Styles */
.market-ticker-container {
    width: 100%;
    background: linear-gradient(to right, #3c2415, #5e3a22, #3c2415);
    overflow: hidden;
    position: relative;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index:1;
    top:80px;
}

.market-ticker {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.ticker-label {
    margin-right: 8px;
    color: rgba(255,255,255,0.8);
}

.ticker-value {
    font-weight: 700;
}

.trend-up {
    color: #4caf50;
    margin-left: 5px;
}

.trend-down {
    color: #f44336;
    margin-left: 5px;
}

.trend-stable {
    color: #ffeb3b;
    margin-left: 5px;
}

/* Pausar animación al pasar el mouse */
.market-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary {
  background-color: #4a2e1b;
  color: var(--light-text);
  border: 1px solid var(--primary-color);
  
}

.btn-primary:hover {
  background-color: #4a2e1b;
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/index/header/slider/Banner-conectando-el-cafe-colombiano-con-el-mundo_1.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  color: var(--light-text);
  margin-top: 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-producer {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.cta-btn-producer:hover {
  background-color: #4a2e1b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-btn-buyer {
  background-color: var(--light-text);
  color: var(--primary-color);
}

.cta-btn-buyer:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  margin-bottom: 40px;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Stats Section */
.stats {
  background-color: var(--light-bg);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: var(--primary-color);
}

/* How It Works Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-bg);
}

.testimonial {
  background-color: var(--light-text);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-text {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
}

.author-info p {
  font-size: 14px;
  color: var(--gray-text);
  margin: 5px 0 0;
}

/* CTA Section */
.cta-section {
/*  background-color: var(--primary-color);*/
  color: var(--light-text);
  text-align: center;
}
.prefooter-about {
  background-image: url('/images/about/pŕe-footer/Se_parte_de_nuestra_historia.jpg');
  background-size: cover;
  background-position: center;

}

.prefooter-home{
  background-image: url('/images/index/pre-footer/Listo-para-revolucionar-tu-negocio-de-cafe.jpg');
  background-size: cover;
  background-position: center;
}

.prefooter-resources{
    background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-get-started {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/how-it-works/pre-footer/Listo-para-comenzar.jpg');
  background-size: cover;
  background-position: center;
}

/* About Page Styles */
.about-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about/header/slider/Sobre_nosotros.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  margin-top: 80px;
  text-align: center;
}

.how-it-works-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/how-it-works/header/slider/Como-funciona.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  margin-top: 80px;
  text-align: center;
}

.contact-hero{
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contact/header/slider/Contacto.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  margin-top: 80px;
  text-align: center;  
}

.about-hero h1, .how-it-works-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-content {
  padding: 60px 0;
}

.about-section {
  margin-bottom: 60px;
}

.about-section h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-section p {
  margin-bottom: 20px;
  font-size: 18px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  text-align: center;
  margin-bottom: 40px;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.team-member p {
  color: var(--gray-text);
}

/* How It Works Page */
.how-it-works-content {
  padding: 60px 0;
}

.process-section {
  margin-bottom: 80px;
}

.process-section h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  margin-bottom: 60px;
  align-items: center;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step-content {
  flex: 1;
  padding: 0 30px;
}

.process-step-image {
  flex: 1;
  text-align: center;
}

.process-step-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.process-step h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.process-step p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Marketplace Page */
.marketplace-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/marketplace/header/slider/marketplace.jpeg");
  padding: 60px 0;
  text-align: center;
  margin-top: 80px;
  background-size: cover;
  background-position: center;
}

.marketplace-header h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 15px;
}

.marketplace-header p {
  font-size: 18px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 30px;
}

.filter-bar {
  background-color: var(--light-text);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin-right: 15px;
}

.filter-label {
  margin-right: 10px;
  font-weight: 500;
}

.filter-select {
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--light-text);
}

.view-options {
  display: flex;
}

.view-option {
  padding: 8px 15px;
  background-color: #f1f1f1;
  border: none;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.view-option.active {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  background-color: #f1f1f1;
  background-size: cover;
  background-position: center;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.product-title {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--dark-text);
}

.product-description {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
}

.product-rating {
  display: flex;
  align-items: center;
}

.product-rating span {
  color: #ffc107;
  margin-right: 5px;
}

.order-book {
  margin-top: 50px;
  background-color: var(--light-text);
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.order-book-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-book-header h2 {
  margin: 0;
  font-size: 24px;
}

.order-book-tabs {
  display: flex;
  background-color: var(--light-bg);
  flex-wrap: wrap;
}

.order-book-tab {
  padding: 15px 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.order-book-tab.active {
  background-color: var(--light-text);
  border-bottom: 3px solid var(--secondary-color);
}

.order-book-content {
  padding: 20px;
  overflow-x: auto;
}

.order-book-table {
  width: 100%;
  border-collapse: collapse;
}

.order-book-table th {
  background-color: var(--light-bg);
  padding: 12px 15px;
  text-align: left;
  font-weight: 500;
}

.order-book-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.order-book-table tr:hover {
  background-color: #f9f9f9;
}

.buy-order {
  color: #28a745;
}

.sell-order {
  color: #dc3545;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-item.active {
  background-color: var(--primary-color);
  color: var(--light-text);
  border-color: var(--primary-color);
}

.pagination-item:hover:not(.active) {
  background-color: #f1f1f1;
}

/* Resources Page */
.resources-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/resources/header/slider/Recursos-y-conocimientos.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  margin-top: 80px;
  text-align: center;
}

.resources-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.resources-hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.resources-content {
  padding: 60px 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.resource-card {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-image {
  height: 200px;
  background-color: #f1f1f1;
  background-size: cover;
  background-position: center;
}

.resource-info {
  padding: 20px;
}

.resource-category {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.resource-title {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--dark-text);
}

.resource-description {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--gray-text);
}

.resource-date {
  display: flex;
  align-items: center;
}

.resource-author {
  display: flex;
  align-items: center;
}

/* Contact Page */
.contact-content {
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  padding-right: 50px;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-details {
  margin-top: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
}

.contact-text h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-text p {
  margin: 0;
  color: var(--gray-text);
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Login/Register Pages */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  background-color: var(--light-bg);
}

.auth-card {
  background-color: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  padding: 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.auth-header p {
  color: var(--gray-text);
}

.auth-tabs {
  display: flex;
  margin-bottom: 30px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.auth-tab.active {
  border-bottom: 2px solid var(--secondary-color);
  color: var(--primary-color);
}

.auth-form .btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
}

.auth-footer {
  text-align: center;
  margin-top: 30px;
  color: var(--gray-text);
}

.auth-footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Footer Styles */
footer {
  background-color: #3c2415;
  color: var(--light-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-column p {
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--light-text);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: rgba(255,255,255,0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .feature, .team-member {
    width: 45%;
  }
  
  .step {
    width: 45%;
  }
  
  .step:not(:last-child):after {
    display: none;
  }
  
  .footer-column {
    width: 45%;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  nav ul li {
    margin: 10px 20px;
  }
  
  .buttons {
    display: none;
  }
  
  .buttons.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 20px 20px;
  }
  
  .hero {
    padding: 60px 0;
    height: auto;
    background-image: url("/images/index/header/slider/Banner-conectando-el-cafe-colombiano-con-el-mundo_1.jpg");
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .ticker-item {
    padding: 0 10px;
    font-size: 12px;
  }
  
  .feature, .step {
    width: 100%;
  }
  
  .process-step {
    flex-direction: column !important;
  }
  
  .process-step-image {
    margin-bottom: 30px;
  }
  
  .team-member {
    width: 100%;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .footer-column {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    margin: 5px 0;
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-btn {
    margin-right: 0;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .auth-card {
    padding: 20px;
  }
  
  .feature, .step {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ESTILOS PARA NUEVAS SECCIONES V2
   ======================================== */

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pricing-card-featured {
  border: 3px solid var(--secondary-color);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.pricing-header h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-price {
  margin: 20px 0;
}

.pricing-price .currency {
  font-size: 24px;
  color: var(--gray-text);
  vertical-align: top;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
}

.pricing-price .period {
  font-size: 18px;
  color: var(--gray-text);
  margin-left: 5px;
}

.pricing-description {
  color: var(--gray-text);
  font-size: 16px;
  margin: 20px 0;
  min-height: 60px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--dark-text);
  font-size: 15px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 16px;
}

.pricing-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
}

/* Coffee Santa Maria Section */
.coffee-santa-maria {
  padding: 80px 0;
  position: relative;
}

.coffee-santa-maria::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 0;
}

.coffee-santa-maria .container {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-card-featured {
    transform: scale(1);
  }
  
  .pricing-card-featured:hover {
    transform: translateY(-10px);
  }
  
  .pricing-price .amount {
    font-size: 36px;
  }
  
  .coffee-santa-maria > div > div {
    grid-template-columns: 1fr !important;
  }
}

/* Mejoras a Features para los servicios */
.feature ul {
  list-style: none;
  padding: 0;
}

.feature ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Ajustes para botones dentro de features */
.feature .btn {
  font-size: 14px;
  padding: 10px 20px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Animación sutil para las tarjetas de servicios */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }
.feature:nth-child(5) { animation-delay: 0.5s; }
.feature:nth-child(6) { animation-delay: 0.6s; }

/* Mejora visual para enlaces en el menú */
nav ul li a.active {
  color: var(--secondary-color);
  font-weight: 600;
}


/* ========================================
   ESTILOS PARA DROPDOWN MENU Y PÁGINAS DE SERVICIOS
   ======================================== */

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown .dropbtn i {
  font-size: 12px;
  transition: transform 0.3s;
}

.dropdown:hover .dropbtn i {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
  top: 100%;
  left: 0;
  margin-top: 10px;
}

.dropdown-content a {
  color: var(--dark-text);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, padding-left 0.3s;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
  border-bottom: none;
  border-radius: 0 0 5px 5px;
}

.dropdown-content a:first-child {
  border-radius: 5px 5px 0 0;
}

.dropdown-content a:hover {
  background-color: var(--light-bg);
  padding-left: 25px;
  color: var(--secondary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Hero Sections */
.service-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  position: relative;
  text-align: center;
  color: var(--light-text);
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 0;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.service-hero p {
  font-size: 24px;
  font-weight: 300;
}

/* Hero backgrounds específicos */
.eudr-hero {
  background-image: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%);
}

.usa-hero {
  background-image: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.brand-hero {
  background-image: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
}

.green-coffee-hero {
  background-image: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
}

.roasted-hero {
  background-image: linear-gradient(135deg, #422006 0%, #92400e 100%);
}

/* Service Introduction */
.service-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-intro h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.service-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 20px;
}

/* Service Content Grid */
.service-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.content-block {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.content-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.content-block h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.content-block p {
  color: var(--gray-text);
  line-height: 1.6;
  text-align: center;
}

/* Stats Container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--gray-text);
}

/* Coffee Types Grid */
.coffee-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.coffee-type-card {
  background-color: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.coffee-type-card.featured {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.coffee-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.coffee-type-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.coffee-type-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.coffee-type-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.coffee-type-card p {
  color: var(--gray-text);
  margin-bottom: 20px;
  text-align: center;
}

.coffee-type-card ul {
  list-style: none;
  padding: 0;
}

.coffee-type-card ul li {
  padding: 8px 0;
  color: var(--dark-text);
  border-bottom: 1px solid var(--border-color);
}

.coffee-type-card ul li:last-child {
  border-bottom: none;
}

/* Regions Grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.region-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.region-card:hover {
  transform: translateY(-5px);
}

.region-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.region-card h3 i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.region-card p {
  color: var(--gray-text);
  line-height: 1.6;
  font-size: 15px;
}

/* Requirements Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.requirement-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.requirement-card:hover {
  transform: translateY(-5px);
}

.requirement-card i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.requirement-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.requirement-card p {
  color: var(--gray-text);
  line-height: 1.6;
}

/* Target Market Grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.example-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-left: 4px solid var(--secondary-color);
}

.example-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.example-card p {
  color: var(--gray-text);
  line-height: 1.6;
}

/* Origins Showcase */
.origins-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.origin-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.origin-card:hover {
  transform: translateY(-5px);
}

.origin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.origin-header h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin: 0;
}

.origin-badge {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.origin-badge.premium {
  background-color: #d97706;
}

.origin-description {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}

.origin-profile h4 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.origin-profile ul {
  list-style: none;
  padding: 0;
}

.origin-profile ul li {
  padding: 8px 0;
  color: var(--dark-text);
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.origin-profile ul li:last-child {
  border-bottom: none;
}

.origin-roast {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
  color: var(--gray-text);
  font-size: 14px;
}

/* Roast Levels */
.roast-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.roast-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.roast-card:hover {
  transform: translateY(-5px);
}

.roast-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.roast-icon.light-roast {
  background: linear-gradient(135deg, #d4a574 0%, #c19a6b 100%);
}

.roast-icon.medium-roast {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
}

.roast-icon.dark-roast {
  background: linear-gradient(135deg, #3e2723 0%, #1b0000 100%);
}

.roast-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.roast-card p {
  color: var(--gray-text);
  line-height: 1.6;
}

/* Packaging Grid */
.packaging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.package-option {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  border: 2px solid transparent;
}

.package-option.featured {
  border-color: var(--secondary-color);
}

.package-option:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.package-option h3 {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.package-option p {
  color: var(--gray-text);
  font-size: 14px;
}

/* Contact Form Container */
.contact-form-container {
  max-width: 800px;
  margin: 40px auto 0;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-text);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
  width: 100%;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Responsive Design for Service Pages */
@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 32px;
  }
  
  .service-hero p {
    font-size: 18px;
  }
  
  .service-intro h2 {
    font-size: 28px;
  }
  
  .service-intro p {
    font-size: 16px;
  }
  
  .service-content-grid,
  .coffee-types-grid,
  .regions-grid,
  .requirements-grid,
  .origins-showcase,
  .roast-levels,
  .packaging-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 25px;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

/* Mobile Menu Dropdown */
@media (max-width: 768px) {
  nav ul li.dropdown {
    position: relative;
  }
  
  nav ul li.dropdown .dropdown-content {
    position: static;
    background-color: rgba(255,255,255,0.1);
    box-shadow: none;
    margin-left: 20px;
  }
  
  nav ul li.dropdown .dropdown-content a {
    color: var(--light-text);
    border-bottom-color: rgba(255,255,255,0.2);
  }
  
  nav ul li.dropdown .dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
  }
}
