:root {
  /* Interaction Design Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.announcement-bar {
  position: relative;
  background-color: var(--primary);
  color: var(--on-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--space-md);
  height: 36px;
  overflow: hidden;
}

.announcement-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement-text {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.3s;
}

.announcement-text a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.announcement-arrow {
  background: none;
  border: none;
  color: var(--on-primary);
  cursor: pointer;
  padding: 0 var(--space-xs);
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.1s;
  z-index: 2;
}

.announcement-arrow:hover {
  opacity: 1;
}
.announcement-arrow:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .announcement-arrow {
    display: none;
  }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Header & Navigation Details */
.header-logo {
  height: 2.5rem;
}

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

.nav-desktop {
  display: flex;
  gap: var(--space-xl);
  flex: 1;
  justify-content: center;
}

.nav-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.btn-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .header-logo {
    height: 1.8rem; /* Slightly bigger logo on mobile */
  }
  .nav-desktop {
    display: none;
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Remove double padding so hamburger can sit further left */
  }
  .btn-hamburger {
    display: flex;
    flex: 1;
    justify-content: flex-start;
  }
  .logo-link {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  .nav-actions .btn-outline {
    display: none; /* Hide contact button on mobile header to save space, keeping it super minimal */
  }
}

/* Mobile Nav Popover (Dropdown style) */
#mobile-nav {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
  top: 52px; /* Anchor just below header */
  left: 0;
  border: none;
  border-bottom: 1px solid var(--surface-container-high);
  background: var(--surface);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
#mobile-nav::backdrop {
  background: rgba(43, 24, 16, 0.2);
  backdrop-filter: blur(2px);
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  align-items: flex-start;
}
.mobile-nav-content a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-surface);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--surface-container-high);
  width: 100%;
  transition: opacity 0.2s;
}
.mobile-nav-content a:active {
  opacity: 0.7;
}
.mobile-nav-content a.btn {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  width: max-content;
  border: 1px solid var(--primary);
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid var(--primary);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  min-height: 85svh;
  height: 85dvh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 4rem;
}
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.desktop-video {
  display: block;
  object-fit: cover;
  background-color: #000;
}
.mobile-video {
  display: none;
}

@media (max-width: 768px) {
  .mobile-video {
    display: block;
  }
  .desktop-video {
    display: none;
  }
}

.hero-content {
  text-align: center;
  color: white;
  padding: var(--space-lg);
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-content p.heading-h6 {
  font-size: var(--text-sm);
}
.hero-content h1 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: var(--heading-h4);
  font-weight: 300;
}
.hero-content .btn {
  font-size: var(--text-xs);
  padding: 0.5rem 1.5rem !important;
}

/* Horizontal Scroll Snap Carousel (Founders Fav & Reels) */
.carousel-container {
  width: 100%;
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-bottom: var(--space-md);
}
.carousel-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.carousel-item {
  scroll-snap-align: start;
  flex: 0 0 calc(25% - var(--space-md)); /* Desktop: 4 items */
  position: relative;
}

@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - var(--space-md)); /* Tablet: 3 items */
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - var(--space-md)); /* Mobile: 2 items */
  }
}

.product-card {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  width: 100%;
  container-type: inline-size;
  container-name: product;
  display: block;
  transition: transform 0.3s ease;
}

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

.product-img-wrapper {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-dim);
  margin-bottom: var(--space-xs);
  transition: box-shadow 0.3s ease;
}

.product-card:hover .product-img-wrapper {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Quick View Popover */
.quickview-popover {
  margin: auto;
  padding: 0;
  border: none;
  background: var(--surface);
  max-width: 800px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.quickview-popover::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.quickview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.quickview-text {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* About Section Split */
.about-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: var(--space-2xl);
  align-items: center;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-md);
}
.category-card {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  text-decoration: none;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.3s ease;
}
.category-card:hover img {
  transform: scale(1.05);
}
.category-title {
  background: var(--surface);
  color: var(--on-surface);
  padding: var(--space-xs) var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* Reels Carousel */
.reel-item {
  scroll-snap-align: center;
  flex: 0 0 calc(20% - var(--space-md));
  aspect-ratio: 9/16;
  position: relative;
  background: var(--surface-dim);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .reel-item { flex: 0 0 calc(33.333% - var(--space-md)); }
}

@media (max-width: 768px) {
  .reel-item { flex: 0 0 calc(50% - var(--space-md)); }
}

/* Contact CTA Section */
.contact-cta {
  background: var(--primary-container);
  color: var(--on-primary-container);
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}
.contact-cta h2 {
  color: var(--on-primary);
  margin-bottom: var(--space-md);
}

/* Instagram Feed */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 0;
}
.insta-item {
  aspect-ratio: 1/1;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background-color: var(--primary); /* #2B1810 */
  color: var(--on-primary); /* #FFFFFF */
  padding: var(--space-4xl) var(--space-xl) var(--space-lg);
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-brand {
  padding-right: var(--space-xl);
}

.footer-logo {
  height: 2.5rem;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-lg);
}

.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--secondary); /* #CBB279 */
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-heading {
  color: var(--secondary);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.footer-highlight {
  color: var(--secondary) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1 !important;
  margin-top: var(--space-md);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  color: var(--on-primary);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-contact {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--secondary);
}

.footer-whatsapp {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.footer-whatsapp:hover {
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1400px;
  margin: var(--space-4xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Split Section Header (Desktop: Split, Mobile: Center/Stacked) */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  text-align: left;
}
.section-header-split .view-all-desktop {
  display: block;
}
.view-all-mobile {
  display: none;
  text-align: center;
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .section-header-split {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .section-header-split .view-all-desktop {
    display: none;
  }
  .view-all-mobile {
    display: block;
  }
}

/* Typography Utilities */
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-xs);
}

/* Carousel Section Wide Layout */
.carousel-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Carousel Interactive Controls */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--surface);
  color: var(--on-surface);
  border: 1px solid var(--surface-container-high);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  visibility: hidden;
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.carousel-wrapper:hover .carousel-nav-btn {
  opacity: 1;
  visibility: visible;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn.prev {
  left: -24px;
}

.carousel-nav-btn.next {
  right: -24px;
}

@media (max-width: 1600px) {
  .carousel-nav-btn.prev { left: var(--space-sm); }
  .carousel-nav-btn.next { right: var(--space-sm); }
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    display: none; /* Hide arrows on mobile, rely on swipe */
  }
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--outline);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Hover Image Reveal */
.product-img-wrapper {
  position: relative;
  overflow: hidden;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.announcement-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-img-primary {
  transition: opacity 0.5s ease;
}

.product-img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-img-primary {
  opacity: 0;
}

.product-card:hover .product-img-secondary {
  opacity: 1;
}

/* Testimonials / Happy Clients */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.testimonial-card {
  background: var(--surface-container-low);
  padding: var(--space-xl);
  border: 1px solid var(--outline-variant);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}
.testimonial-stars {
  color: var(--secondary);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--on-surface);
  flex-grow: 1;
}
.testimonial-client {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--outline);
}
.testimonial-name {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--on-surface-variant);
}

/* Mobile Hero Mute Toggle */
.mute-toggle-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.15s var(--ease-out);
}

@media (min-width: 769px) {
  .mute-toggle-btn {
    display: none !important;
  }
}

.mute-toggle-btn * {
  pointer-events: none;
}

.btn:active {
  transform: scale(0.96);
}

.mute-toggle-btn:active {
  transform: scale(0.92);
}

.mute-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.mute-toggle-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Client Marquee Section */
.client-marquee-container {
  overflow: hidden;
  width: 100%;
  padding: var(--space-xl) 0;
  position: relative;
  background: var(--surface);
}

.client-marquee-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: marquee 30s linear infinite;
}

.client-marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: clamp(200px, 30vw, 300px);
  aspect-ratio: 3/4;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.marquee-item:hover img {
  transform: scale(1.02);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--space-md) / 2))); }
}

.mute-toggle {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}
.mute-toggle:hover {
  background: rgba(0,0,0,0.8);
}

.reel-modal {
  margin: auto;
  padding: 0;
  border: none;
  background: var(--surface);
  max-width: 600px;
  width: 90%;
  height: 90dvh;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s var(--spring), display 0.3s allow-discrete;
}

.reel-modal[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .reel-modal[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

.reel-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.close-reel-btn {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.reel-modal-content {
  flex-grow: 1;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reel-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reel-modal-footer {
  padding: var(--space-md);
  background: var(--surface);
  border-top: 1px solid var(--surface-dim);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interaction Design: Loading Skeletons */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}