@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300..900;1,8..60,300..900&family=Fredoka:wght@400;600;700&display=swap');

:root {
  /* On Hong Colors */
  --oh-red-deep: #BA1E12;
  --oh-red-bright: #DB2524;
  --oh-blue: #003792;
  --oh-cyan: #75B6BC;
  --oh-gray-light: #E7EAE1;
  --oh-beige: #F7E4C6;
  
  /* Gato de la Suerte Colors */
  --gs-yellow: #FFD401;
  --gs-blue-light: #78B5FF;

  /* Typography - Brand Manual Alignment */
  --font-display: 'Source Serif 4', serif; /* Manual: Source Serif Variable */
  --font-sans: 'Libre Franklin', sans-serif; /* Manual: Franklin Gothic */
  --font-accent: 'Fredoka', sans-serif; /* Alternative for Appetite */

  /* Glass Effects */
  --glass-bg: rgba(247, 228, 198, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--oh-gray-light);
  color: #2D2D2D;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--oh-red-bright);
  color: white;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
}

/* Navigation - Glassmorphism */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--oh-blue);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: var(--oh-blue);
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-wrapper img {
  height: 55px;
  object-fit: contain;
  transition: height 0.3s ease;
  filter: brightness(0) invert(1);
}

nav.scrolled .logo-wrapper img {
  height: 45px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  line-height: 0.9;
}

.logo-kanji {
  display: block;
  font-size: 0.8rem;
  color: var(--oh-cyan);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: white;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--oh-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--oh-cyan);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

#lang-toggle:hover {
  background: rgba(255,255,255,0.2) !important;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(117,182,188,0.1), transparent),
              radial-gradient(circle at bottom left, rgba(219,37,36,0.05), transparent),
              var(--oh-beige);
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

/* Background Video Effects */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: videoFadeInOut 20s infinite ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 228, 198, 0.6); /* Color beige con transparencia para que el texto sea visible */
  z-index: 1;
}

@keyframes videoFadeInOut {
  0%, 10% { opacity: 0; } /* Inicia oculto, fondo amarillo visible */
  30%, 70% { opacity: 0.8; } /* Aparece el video lentamente */
  90%, 100% { opacity: 0; } /* Vuelve a desaparecer */
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  text-align: left;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  z-index: 2;
}

.tagline {
  font-family: var(--font-accent);
  color: var(--oh-red-deep);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 1;
  color: var(--oh-blue);
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: #4A4A4A;
  max-width: 90%;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 110%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}

.iso-hero-badge {
  position: absolute;
  bottom: 10%;
  right: -5%;
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 250px;
  border: 1px solid var(--oh-cyan);
}

.iso-hero-badge p {
  font-size: 0.75rem;
  margin: 0;
  font-weight: 700;
  color: var(--oh-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.1rem 2.8rem;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--oh-red-bright);
  color: white;
  box-shadow: 0 10px 25px rgba(219, 37, 36, 0.25);
}

.btn-primary:hover {
  background-color: var(--oh-red-deep);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(186, 30, 18, 0.4);
}

/* Sections */
section {
  padding: 8rem 0;
}

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

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 3.2rem;
  margin-bottom: 4rem;
  color: var(--oh-blue);
  font-weight: 900;
}

.section-subtitle {
  display: block;
  font-family: var(--font-sans);
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 500;
}

/* Tradition Section (MìLà Style) */
.tradition-section {
  background-color: #FBFAF5;
  padding: 6rem 0;
}

.tradition-main-title {
  color: var(--oh-red-bright) !important;
  font-size: 4rem;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}

.tradition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.tradition-card {
  background: white;
  border: 3px solid var(--oh-red-bright);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.tradition-card:hover {
  transform: translateY(-8px);
}

.tradition-card-image {
  background-color: #E6FFF0; /* Light variant bg */
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tradition-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.tradition-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tradition-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--oh-red-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tradition-card-content h3 i {
  width: 20px;
}

.tradition-card-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.tradition-card-footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: #777;
  text-align: right;
  font-weight: 500;
}

/* ISO Section */
.iso-section {
  background-color: white;
}

.iso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.iso-content h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--oh-red-deep);
}

.iso-card {
  background: var(--oh-beige);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.iso-card::after {
  content: 'Premium';
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0,0,0,0.03);
  bottom: -30px;
  right: -10px;
}

/* Stickers / Badges */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.badge-cr { background: #E0EFFF; color: #003792; }
.badge-iso { background: #FFE5E5; color: #BA1E12; }

/* ── Premium Product Catalog Redesign ────────────────────── */
.page-header { background: var(--oh-blue); color: white; padding: 160px 0 60px; text-align: center; }
.page-header h1 { font-family: var(--font-display); color: var(--oh-beige); margin-bottom: 1rem; font-size: clamp(2.5rem, 6vw, 4.5rem); text-transform: uppercase; letter-spacing: -1px; }

.category-header { 
    margin: 8rem 0 4rem; 
    text-align: left; 
    border-bottom: 1px solid rgba(0,0,0,0.08); 
    padding-bottom: 1rem;
    position: relative;
}
.category-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--oh-red-deep);
}
.category-header h2 { 
    font-family: var(--font-display); 
    font-size: 2.8rem; 
    color: var(--oh-blue); 
    text-transform: uppercase; 
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}
.category-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 3.5rem 2.5rem; 
}

.product-card { 
    background: #FFFFFF;
    border-radius: 24px; 
    padding: 0; 
    text-align: left; 
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 40px 80px rgba(0, 55, 146, 0.08);
    border-color: rgba(117, 182, 188, 0.3);
}

.product-card-image-wrap {
    background: radial-gradient(circle at center, rgba(247, 228, 198, 0.35) 0%, rgba(247, 228, 198, 0.05) 100%);
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.product-card img { 
    width: 100%; 
    height: 240px; 
    object-fit: contain; 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.08));
    position: relative;
    z-index: 2;
}

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

.product-card-content {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--oh-blue);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.product-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
}

.badge-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--oh-red-deep);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-glass.b-red { color: var(--oh-red-deep); }
.badge-glass.b-blue { color: var(--oh-blue); }

.product-card-hover-action {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--oh-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.product-card:hover .product-card-hover-action {
    opacity: 1;
    transform: translateX(0);
}

.retail-callout {
    background: var(--oh-beige);
    border-radius: 30px;
    padding: 5rem;
    margin: 8rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 900px) {
    .retail-callout { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.5rem; }
    .category-header h2 { font-size: 2.2rem; }
}

/* Product Grid Adjustments */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--oh-cyan);
  box-shadow: 0 20px 40px rgba(117,182,188,0.1);
}

/* Gato de la Suerte */
.gato-section {
  padding: 4rem 0;
}

.gato-banner {
  background: var(--gs-yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px;
  padding: 4rem;
  gap: 3rem;
  box-shadow: 0 30px 60px rgba(255, 212, 1, 0.25);
}

.gato-text h2 {
  font-family: var(--font-accent);
  font-size: 3.5rem;
  color: var(--oh-red-deep);
  margin-bottom: 1.5rem;
  line-height: 1;
}

/* Footer */
footer {
  background-color: var(--oh-blue);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--oh-beige);
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: var(--oh-cyan);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-col p a {
  color: var(--oh-beige);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col p a:hover {
  opacity: 1;
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--oh-blue);
  cursor: pointer;
  padding: 0.5rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

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

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

/* Responsive (Tablets & Small Laptops) */
@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content h1 { font-size: 3.5rem; }
  .hero p { margin: 0 auto 2.5rem; }
  .iso-grid { grid-template-columns: 1fr; }
  .tradition-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Responsive (Celulares y Tablets pequeñas) */
@media (max-width: 768px) {
  /* Tipografía */
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2.2rem; }
  .tradition-main-title { font-size: 2.5rem; }
  
  /* Navegación y Menú Hamburguesa */
  .mobile-menu-btn { display: block; }
  
  .nav-links { 
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Ajuste de Componentes */
  .tradition-grid { grid-template-columns: 1fr; }
  .tradition-card-image { height: 250px; }
  .gato-banner { flex-direction: column; text-align: center; padding: 3rem 2rem; }
  .iso-card { padding: 2rem; text-align: center; }
  nav .container { padding: 0.8rem 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
/* Blog Embed Styles */
.blog-embed-section {
    padding: 4rem 0;
    background: var(--oh-beige);
}

.blog-embed-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 900px;
    position: relative;
}

.blog-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .blog-embed-container {
        height: 700px;
        border-radius: 20px;
    }
}

/* ── Cart Notification Toast ────────────────────── */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--oh-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Cart Badge in Navbar */
.cart-badge-count {
    background: var(--oh-red-bright);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50px;
    position: absolute;
    top: -5px;
    right: -10px;
    display: none;
}

/* Cart Button in Product Card */
.add-to-cart-btn {
    background: var(--oh-red-deep);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 1.5rem;
}
.add-to-cart-btn:hover {
    background: var(--oh-red-bright);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(186, 30, 18, 0.2);
}

