/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

/* Hero menor para páginas internas */
.hero-small {
  height: 400px;
}

.hero-small h1 {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .hero-small h1 {
    font-size: 3rem;
  }
}

/* Section */
.section {
  padding: 4rem 0;
}

.section-muted {
  background-color: rgba(243, 242, 240, 0.3);
}

.section-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-primary .section-title {
  color: var(--primary-foreground);
}

/* Feature Cards */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(139, 21, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted-foreground);
}

/* Product Showcase */
.product-showcase {
  position: relative;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-showcase:hover img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: white;
}

.product-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-overlay p {
  color: rgba(255, 255, 255, 0.9);
}

/* Info Box */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(139, 21, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.info-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.info-content a:hover {
  color: var(--primary);
}

/* Contact Info Card */
.contact-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Map Container */
.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .legal-content h1 {
    font-size: 3rem;
  }
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.legal-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-content strong {
  color: var(--foreground);
  font-weight: 600;
}

.legal-box {
  background-color: rgba(243, 242, 240, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.legal-box p {
  margin-bottom: 0.5rem;
}

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

.legal-alert {
  background-color: rgba(255, 237, 213, 0.3);
  border-left: 4px solid #f59e0b;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-alert p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.legal-highlight {
  background-color: rgba(139, 21, 56, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* 404 Page */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.not-found-content {
  max-width: 600px;
  text-align: center;
}

.not-found h1 {
  font-size: 9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.not-found h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .not-found h2 {
    font-size: 2.5rem;
  }
}

.not-found p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .hero {
    height: 500px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prose {
  max-width: none;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
