:root {
  --primary: #9c2a2a;
  --primary-dark: #821f1f;
  --primary-light: #b65541;
  --primary-soft: #fdf0ed;
  --white: #ffffff;
  --cream: #fefaf5;
  --gray-light: #f2eae2;
  --gray: #dfd5ca;
  --text-dark: #2c241e;
  --text: #4f4238;
  --text-light: #8b7a6b;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 15px 30px rgba(156, 42, 42, 0.2);

  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.34, 1.2, 0.64, 1);
  --transition-extra-smooth: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgb(255, 255, 255);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--gray);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}
.logo-img:hover {
  transform: scale(1.02);
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: width 0.3s var(--transition-smooth);
  border-radius: 2px;
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
}

main {
  padding-top: 150px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 60px;
  text-decoration: none;
  transition:
    transform 0.25s var(--transition-bounce),
    background 0.25s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-block {
  width: 100%;
}

.hero {
  background: linear-gradient(125deg, var(--primary), #6b1e1e);
  padding: 5rem 0 6rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.02) 40px,
    rgba(255, 255, 255, 0.02) 80px
  );
  pointer-events: none;
  z-index: -1;
}
.hero-container {
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.hero-content .highlight {
  position: relative;
  display: inline-block;
}
.hero-content .highlight::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.hero-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.hero-subtext {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-large {
  text-align: center;
  margin-bottom: 2rem;
}
.logo-large img {
  max-width: 280px;
  width: 80%;
  height: auto;
}

.page-hero {
  background: linear-gradient(125deg, var(--primary), #6b1e1e);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.02) 40px,
    rgba(255, 255, 255, 0.02) 80px
  );
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.welcome {
  padding: 5rem 0;
  background: var(--white);
}
.welcome-container {
  max-width: 950px;
  margin: 0 auto;
}
.welcome-card {
  background: var(--primary-soft);
  padding: 3rem;
  border-radius: 48px;
  text-align: center;
  border: 1px solid var(--gray);
  transition:
    transform 0.4s var(--transition-smooth),
    box-shadow 0.4s var(--transition-smooth);
}
.welcome-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.welcome-card h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.welcome-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.welcome-highlight {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  margin: 1.2rem 0;
}

.features {
  padding: 5rem 0;
  background: var(--cream);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--primary);
  font-weight: 500;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--gray);
  transition:
    transform 0.4s var(--transition-smooth),
    border-color 0.3s ease,
    box-shadow 0.4s var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.products {
  padding: 5rem 0;
  background: var(--white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--gray);
  transition:
    transform 0.3s var(--transition-smooth),
    border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.product-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.product-img.placeholder {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
}
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.product-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.quote {
  padding: 4rem 0;
  background: var(--primary-soft);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}
.quote-container blockquote {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.4;
}
.quote-container cite {
  display: block;
  margin-top: 1rem;
  color: var(--primary);
  font-style: normal;
  font-size: 0.9rem;
}

.events {
  padding: 5rem 0;
  background: var(--white);
}
.events-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.events-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.events-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.events-list {
  list-style: none;
  margin: 1.5rem 0;
}
.events-list li {
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
}
.events-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.events-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--transition-smooth);
}
.events-image img:hover {
  transform: scale(1.01);
}

.history {
  padding: 5rem 0;
  background: var(--white);
}
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.history-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.history-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.history-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--transition-smooth);
}
.history-image img:hover {
  transform: scale(1.01);
}

.values {
  padding: 5rem 0;
  background: var(--cream);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--gray);
  transition: transform 0.3s var(--transition-smooth);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.value-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.timeline {
  padding: 5rem 0;
  background: var(--white);
}
.timeline-grid {
  max-width: 750px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.timeline-year {
  width: 80px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.products-detailed {
  padding: 5rem 0;
  background: var(--white);
}
.products-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.product-detailed-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid var(--gray);
  transition:
    transform 0.3s var(--transition-smooth),
    box-shadow 0.3s var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.product-detailed-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.product-detailed-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}
.product-detailed-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-detailed-card li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px dashed var(--gray-light);
}
.product-detailed-card li:last-child {
  border-bottom: none;
}
.product-detailed-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.services {
  padding: 5rem 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--gray);
  transition:
    transform 0.3s var(--transition-smooth),
    box-shadow 0.3s var(--transition-smooth);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.service-card h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cta {
  background: linear-gradient(125deg, var(--primary), var(--primary-dark));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 80px
  );
  pointer-events: none;
  z-index: -1;
}
.cta-container h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-container p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 1.8rem;
}
.cta-container .btn {
  background: var(--white);
  color: var(--primary);
  padding: 0.9rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
}
.cta-container .btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.contact-section {
  padding: 5rem 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.contact-detail {
  margin-bottom: 1.5rem;
}
.contact-detail h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-detail p,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.contact-form {
  background: var(--cream);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--gray);
}
.contact-form h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-size: 0.8rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(156, 42, 42, 0.1);
}
.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-group.checkbox input {
  width: auto;
}
.form-group.checkbox label {
  margin: 0;
  font-size: 0.8rem;
}
.form-group.checkbox a {
  color: var(--primary);
}

.map {
  padding: 0 0 5rem;
}
.map-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--gray);
}
.map-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.map-card p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.legal {
  padding: 5rem 0;
  background: var(--white);
}
.legal-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid var(--gray);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--transition-smooth);
}
.legal-box:hover {
  transform: translateY(-4px);
}
.legal-box h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}
.legal-box h2:first-child {
  margin-top: 0;
}
.legal-box p,
.legal-box ul {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
.legal-box a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.legal-box a:hover {
  border-bottom-color: var(--primary);
}
.legal-box ul {
  margin-left: 1.5rem;
}

.footer {
  background: #2c241e;
  color: #a59b8f;
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--primary);
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo-img {
  height: 70px;
  width: 70px;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-contact p,
.footer-contact a {
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
  color: #a59b8f;
}
.footer-contact a:hover {
  color: var(--primary-light);
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #a59b8f;
  text-decoration: none;
  font-size: 0.85rem;
  transition:
    color 0.2s,
    transform 0.2s;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.social-icon:hover {
  background: var(--primary);
  transform: translateY(-4px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #7a6e62;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--transition-extra-smooth),
    transform 0.7s var(--transition-extra-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .products-grid,
  .products-detailed-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .logo-img {
    height: 80px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  main {
    padding-top: 130px;
  }
  .hero {
    padding: 4rem 0;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  .features-grid,
  .products-grid,
  .products-detailed-grid,
  .services-grid,
  .values-grid,
  .history-grid,
  .events-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .welcome-card {
    padding: 1.8rem;
  }
  .welcome-card h2 {
    font-size: 1.6rem;
  }
  .legal-box {
    padding: 1.5rem;
  }
  .timeline-item {
    flex-direction: column;
    gap: 0.3rem;
  }
  .timeline-year {
    width: auto;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .events-content h2 {
    font-size: 1.5rem;
  }
  .cta-container h2 {
    font-size: 1.5rem;
  }
  .contact-form {
    padding: 1.2rem;
  }
}
