:root {
  --primary: #6b1d2f;
  --secondary: #c59b27;
  --bg-light: #fbf9f6;
  --bg-alt: #f4f0e8;
  --text-dark: #1a1a1a;
  --text-muted: #555555;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.fast-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.fast-intro .intro-content {
  text-align: center;
}

.fast-intro .intro-brand {
  font-size: 3rem;
  color: var(--primary);
  letter-spacing: 1px;
  opacity: 0;
  animation: fastFadeIn 0.3s forwards;
}

.fast-intro .intro-thread-line {
  width: 0;
  height: 2px;
  background: var(--secondary);
  margin: 10px auto 0;
  animation: fastDrawLine 0.4s 0.2s forwards;
}

@keyframes fastFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fastDrawLine {
  to {
    width: 100%;
  }
}

.site-header {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 249, 246, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(107, 29, 47, 0.1);
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(251, 249, 246, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--primary),
    var(--primary) 1.5px,
    transparent 1.5px,
    transparent 5px,
    var(--secondary) 5px,
    var(--secondary) 6.5px,
    transparent 6.5px,
    transparent 10px
  );
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
}

.realistic-threads {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.thread {
  position: absolute;
  top: 0;
  width: 1.5px;
  background: repeating-linear-gradient(
    135deg,
    var(--primary) 0,
    var(--primary) 2px,
    #3a0f19 2px,
    #3a0f19 4px
  );
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  transform-origin: top center;
  animation: naturalSway 3s ease-in-out infinite alternate;
}

.thread::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.th-1 {
  height: 45px;
  left: 12%;
  animation-duration: 3.2s;
  animation-delay: 0.1s;
}
.th-2 {
  height: 75px;
  left: 35%;
  animation-duration: 2.8s;
  animation-delay: 0.5s;
}
.th-3 {
  height: 30px;
  left: 55%;
  animation-duration: 3.5s;
  animation-delay: 0.2s;
}
.th-4 {
  height: 90px;
  left: 78%;
  animation-duration: 3.1s;
  animation-delay: 0.8s;
}
.th-5 {
  height: 50px;
  left: 92%;
  animation-duration: 3.6s;
  animation-delay: 0.4s;
}

@keyframes naturalSway {
  0% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(6deg);
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-call-btn {
  padding: 8px 18px !important;
  font-size: 0.9rem !important;
  border-radius: 20px !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: #551624;
}
.btn-gold {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}
.btn-gold:hover {
  background-color: #b08922;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
}

.hero-section {
  position: relative;
  padding: 160px 20px;
  text-align: center;
  color: var(--white);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  animation: heroSlideshow 20s infinite ease-in-out;
}

@keyframes heroSlideshow {
  0%,
  20% {
    background:
      linear-gradient(rgba(26, 26, 26, 0.8), rgba(107, 29, 47, 0.85)),
      url("images/bg1.png") center/cover;
  }
  25%,
  45% {
    background:
      linear-gradient(rgba(26, 26, 26, 0.8), rgba(107, 29, 47, 0.85)),
      url("images/bg2.png") center/cover;
  }
  50%,
  70% {
    background:
      linear-gradient(rgba(26, 26, 26, 0.8), rgba(107, 29, 47, 0.85)),
      url("images/bg3.png") center/cover;
  }
  75%,
  95% {
    background:
      linear-gradient(rgba(26, 26, 26, 0.8), rgba(107, 29, 47, 0.85)),
      url("images/bg4.png") center/cover;
  }
  100% {
    background:
      linear-gradient(rgba(26, 26, 26, 0.8), rgba(107, 29, 47, 0.85)),
      url("images/bg1.png") center/cover;
  }
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badges-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.hero-badge,
.status-badge {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-open {
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
}

.status-open::before {
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
}

.status-closed {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

.status-closed::before {
  background: #e74c3c;
  box-shadow: 0 0 10px #e74c3c;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#typewriter-text {
  color: var(--secondary);
}

.cursor {
  display: inline-block;
  width: 4px;
  height: 4rem;
  background: var(--secondary);
  vertical-align: middle;
  animation: blink 0.8s infinite;
  margin-left: 8px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 45px;
  line-height: 1.8;
}

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

.section-padding {
  padding: 100px 0;
}

.alt-bg {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.elegant-card {
  background: var(--white);
  border-radius: 8px;
  padding: 35px 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.elegant-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-top-color: var(--secondary);
}

.steps-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  text-align: center;
}

.img-wrapper {
  position: relative;
  margin-bottom: 30px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.elegant-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.step-num {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.elegant-card h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 700;
}

.elegant-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-grid {
  text-align: left;
}

.about-grid .elegant-card {
  padding: 0;
  overflow: hidden;
}

.about-grid img {
  margin-bottom: 0;
  height: 280px;
  border-radius: 8px 8px 0 0;
}

.card-text {
  padding: 35px;
}

.map-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border-top: none;
}

.map-wrapper iframe {
  display: block;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.contact-info .elegant-card {
  padding: 40px 25px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--primary);
}

.footer {
  background: #111;
  color: #888;
  padding: 50px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1eb956;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .cursor {
    height: 3.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
    justify-content: space-between;
  }

  .brand-logo img {
    height: 35px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .header-call-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 15px !important;
  }

  .mobile-toggle {
    display: flex;
    margin-left: 5px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(251, 249, 246, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    max-height: 250px;
    padding: 15px 0;
  }

  .nav-link {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .hero-section {
    padding: 100px 15px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .cursor {
    height: 2.2rem;
  }
}

.btn-sm-call {
  padding: 8px 14px !important;
  font-size: 0.85rem !important;
  border-radius: 20px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
    justify-content: space-between;
  }

  .brand-logo img {
    height: 34px !important;
  }

  .brand-name {
    font-size: 1rem !important;
  }

  .brand-sub {
    display: none;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-toggle {
    display: flex !important;
    width: 24px;
    height: 18px;
  }
}
