@import url('https://fonts.googleapis.com/css2?family=DM+Sans&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300;1,300&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,600&display=swap');

@font-face {
  font-family: KanedaGothic;
  src: url(assets/KanedaGothic-ExtraBold.ttf);
  font-weight: 1 1000;
}

@font-face {
  font-family: KanedaGothic2;
  src: url(assets/KanedaGothic-ExtraLightItalic.ttf);
  font-weight: 1 1000;
}

@font-face {
  font-family: KanedaGothicR;
  src: url(assets/KanedaGothic-Regular.ttf);
  font-weight: 1 1000;
}

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  --color-primary: #9A302D;
  --color-primary-dark: #7A2522;
  --color-primary-deeper: #5a0505;
  --color-primary-light: #B8443F;
  --color-dark: #1E1E1E;
  --color-text: #4a4a4a;
  --color-text-light: #6e6e6e;
  --color-bg: #FAFAFA;
  --color-bg-warm: #FDF8F6;
  --color-white: #ffffff;
  --color-border: #e8e0dc;

  --font-display: "KanedaGothic", sans-serif;
  --font-display-light: "KanedaGothic2", sans-serif;
  --font-display-regular: "KanedaGothicR", sans-serif;
  --font-body: "Poppins", "Inter", "Open Sans", sans-serif;
  --font-serif: "Open Sans", sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 100px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body) !important;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

::selection {
  background: rgba(154, 48, 45, 0.2);
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
  padding: 0;
}

/* ============================================
   NAVBAR — INDEX (transparent → solid)
   ============================================ */
.navbar {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 999;
  transition: all var(--transition-smooth);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  opacity: 1;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.navbar.sticky {
  z-index: 999;
  background: rgba(154, 48, 45, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(154, 48, 45, 0.3);
}

.navbar.sticky::before {
  opacity: 0;
}

.navbar .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 999;
}

.navbar .logo {
  margin: 0;
}

.navbar .logo-img {
  width: 140px;
  cursor: pointer;
  transition: transform var(--transition-base), filter var(--transition-base);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.navbar .logo-img:hover {
  transform: scale(1.05);
}

.navbar .menu-list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  width: auto;
  z-index: 999;
  align-items: center;
}

.menu-list li {
  list-style: none;
}

.menu-list li a {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.menu-list li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.menu-list li a:hover::after {
  width: 60%;
}

.menu-list li a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION — INDEX
   ============================================ */
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.home img {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(154, 48, 45, 0.25) 100%);
  z-index: 1;
}

.home .content {
  z-index: 10;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  width: 100%;
  padding: 0 20px;
}

.home .content h1 {
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  font-family: var(--font-display) !important;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: -0.15em 0;
  width: auto;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  line-height: 0.9;
}

.home .content .laCalidad {
  font-size: clamp(80px, 14vw, 200px);
  margin: -0.15em 0;
  margin-top: 0;
}

.home .content .deSiempre {
  font-size: clamp(80px, 14vw, 200px);
  margin: -0.15em 0;
}

.home .content .Desde {
  font-size: clamp(60px, 11vw, 170px);
  font-weight: 300;
  font-family: var(--font-display-light) !important;
  margin: -0.1em 0;
  opacity: 0.9;
}

/* ============================================
   CONTAINER-1 — Philosophy Section
   ============================================ */
.container-1 {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 30px 80px;
  text-align: center;
  position: relative;
}

.container-1::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
}

.container-1 img {
  width: 220px;
  margin: 30px auto 30px auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-smooth);
}

.container-1 img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.container-1 h1 {
  color: var(--color-dark);
  font-family: var(--font-serif) !important;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  line-height: 1.6;
  margin: 25px auto;
  max-width: 700px;
}

.button-18 {
  display: inline-block;
  margin: 35px auto 40px auto;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  padding: 14px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.button-18::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  z-index: -1;
}

.button-18:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(154, 48, 45, 0.35);
}

.button-18:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================
   CONTAINER-2 — Products Showcase
   ============================================ */
.container-2 {
  margin-bottom: 80px;
  padding: 0 20px;
}

.container-2-titles {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  padding-top: 80px;
  padding-bottom: 20px;
}

.container-2 .Nuestros {
  color: var(--color-dark);
  font-family: var(--font-display) !important;
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.container-2 .Productos {
  color: var(--color-primary);
  font-family: var(--font-display) !important;
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

/* Product Cards */
.productos-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
  gap: 35px;
  max-width: 1200px;
}

.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  flex: 1;
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px 35px;
  transition: all var(--transition-smooth);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.producto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.producto:hover::before {
  transform: scaleX(1);
}

.titulo-producto {
  color: var(--color-primary);
  font-family: var(--font-display) !important;
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1;
}

.imagen-producto {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform var(--transition-smooth);
}

.imagen-producto-pan {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform var(--transition-smooth);
}

.producto:hover .imagen-producto,
.producto:hover .imagen-producto-pan {
  transform: scale(1.08) rotate(3deg);
}

.descripcion-producto {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-text-light);
  flex-grow: 1;
}

.boton-producto {
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.boton-producto:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154, 48, 45, 0.3);
}

.producto:nth-child(2) .titulo-producto,
.producto:nth-child(3) .titulo-producto {
  color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 80px;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 60%, #5a1815 100%);
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  border-radius: 0 0 50% 50%;
}

.container-f {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.wrapper .footer-widget {
  width: calc(20% - 30px);
  margin: 0 15px 50px;
  padding: 0 12px;
  line-height: 55px;
}

.wrapper .footer-widget:nth-child(1) {
  width: calc(35% - 30px);
  margin-right: 15px;
}

.wrapper .footer-widget .logo {
  margin-bottom: -80px;
  margin-top: -110px;
  width: 350px;
  vertical-align: middle;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.wrapper .footer-widget p {
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.wrapper .footer-widget .socials li {
  list-style: none;
}

.wrapper .footer-widget .socials li a {
  width: 44px;
  height: 44px;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wrapper .footer-widget .socials li a:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.wrapper .footer-widget h6 {
  color: var(--color-white);
  margin: 10px 0 30px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

.wrapper .footer-widget h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.links {
  width: auto;
  max-width: 500px;
}

.wrapper .footer-widget .links li {
  list-style: none;
  line-height: 2.2;
}

.wrapper .footer-widget .links li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-base);
  padding-left: 0;
}

.wrapper .footer-widget .links li a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.wrapper .footer-widget .links li i {
  margin-right: 8px;
  font-size: 13px;
  opacity: 0.7;
}

.copyright-wrapper {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 20px;
}

.copyright-wrapper p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.copyright-wrapper p a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
}

.copyright-wrapper p a:hover {
  color: var(--color-white);
}

.imagen-bread {
  margin-top: -300px;
  margin-left: 100px;
  overflow: hidden;
  opacity: 0.15;
}

/* ============================================
   ICON (Mobile menu toggle)
   ============================================ */
.icon {
  color: var(--color-white);
  font-size: 22px;
  cursor: pointer;
  display: none;
}

.menu-list .cancel-btn {
  position: absolute;
  right: 20px;
  top: 20px;
}

/* ============================================
   NAVBAR-2 — Internal Pages
   ============================================ */
.navbar-2 {
  position: fixed;
  background: var(--color-primary);
  width: 100%;
  height: 70px;
  z-index: 999;
  padding: 0;
  transition: all var(--transition-base);
  box-shadow: 0 2px 20px rgba(154, 48, 45, 0.3);
}

.navbar-2 .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
}

.navbar-2 .sticky {
  z-index: 999;
  background: var(--color-primary);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-2 .logo {
  margin: 0;
}

.navbar-2 .logo-img {
  width: 90px;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.navbar-2 .logo-img:hover {
  transform: scale(1.05);
}

.navbar-2 .menu-list {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ============================================
   SPLIT SECTIONS — Nosotros & Productos pages
   ============================================ */
.split-section {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.split-section .relative {
  position: relative;
}

.split-section-headings {
  width: 50%;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-size: cover;
}

.left {
  float: left !important;
}

.right {
  float: right !important;
}

.ssh-table {
  width: 100%;
  min-height: 500px;
  display: table;
}

.ssh-cell {
  display: table-cell;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  height: 800px;
  position: relative;
}

.ssh-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154, 48, 45, 0.05) 0%, rgba(0, 0, 0, 0.03) 100%);
  pointer-events: none;
}

.split-section-content {
  width: 50%;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.split-section-wrapper {
  padding: 0 80px;
  margin-top: 30px;
}

.page-section,
.small-section {
  display: block;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-sizing: border-box;
  padding: 140px 0;
}

.text {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.9;
}

.align-left {
  text-align: left !important;
}

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
  color: var(--color-dark);
}

.mb-50 {
  margin-bottom: 50px;
}

.mt-0 {
  margin-top: 0 !important;
}

.font-alt {
  font-family: var(--font-display-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: clamp(24px, 4vw, 46px);
  color: var(--color-dark);
  position: relative;
}

.font-alt::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 20px;
  border-radius: 3px;
}

h2 {
  font-size: 28px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.3em;
  line-height: 1.4;
  font-weight: 400;
}

h2,
.h2 {
  font-size: 50px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

p {
  margin: 0 0 1.5em 0;
}

/* ============================================
   TITLE BOX — Productos Gallery
   ============================================ */
.title-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.title-box h2 {
  font-family: var(--font-display-light) !important;
  font-size: clamp(50px, 8vw, 100px);
  margin-top: 80px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  color: var(--color-dark);
}

/* ============================================
   PRODUCT IMAGE GRID
   ============================================ */
.container-img {
  width: 100%;
  max-width: 1400px;
  margin: 50px auto 50px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px;
  grid-gap: 16px;
}

.container-img .box-img figure {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.container-img .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.container-img .box-img:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.container-img .box-img:nth-child(1) {
  grid-column-start: span 2;
}

.container-img .box-img:nth-child(4) {
  grid-row-start: span 2;
}

.container-img2 {
  width: 100%;
  max-width: 1400px;
  margin: -10px auto 60px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px;
  grid-gap: 16px;
}

.container-img2 .box-img2 figure {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.container-img2 .box-img2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.container-img2 .box-img2:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* ============================================
   CONTACT PAGE — Hero
   ============================================ */
.contact-home {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-home img {
  z-index: 0;
  position: absolute;
  overflow: hidden;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.contact-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154, 48, 45, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.contact-home .content {
  z-index: 10;
  color: var(--color-white);
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0 20px;
}

.contact-home .content h1 {
  font-family: var(--font-display-regular) !important;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: 6px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  margin: 0;
  padding: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.content {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5em;
  color: var(--color-dark);
}

.contact-wrapper {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0 60px;
}

.contact-wrapper>* {
  padding: 1.5em;
}

.contact-form {
  background: var(--color-white);
  padding: 50px 40px !important;
}

.contact-form h3 {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.contact-form h1 {
  color: var(--color-text-light);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  padding-bottom: 30px;
  line-height: 1.5;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.contact-form form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.contact-form form p {
  margin: 0;
  padding: 12px 16px;
}

.contact-form form .block {
  grid-column: 1 / 3;
}

.contact-form form button,
.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: var(--color-bg);
  outline: 0;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(154, 48, 45, 0.1);
}

.contact-form form button {
  background: var(--color-primary);
  border: 0;
  text-transform: uppercase;
  padding: 16px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  margin-top: 10px;
}

.contact-form form button:hover,
.contact-form form button:focus {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154, 48, 45, 0.35);
  outline: 0;
}

/* Contact Info Panel */
.contact-info {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 35px !important;
}

.contact-info h4 {
  text-align: center;
  margin: 0 0 1.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-info h1 {
  color: rgba(255, 255, 255, 0.65);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 5px;
  margin-top: 20px;
}

.contact-info h2 {
  color: var(--color-white);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  padding-bottom: 15px;
  text-align: center;
  line-height: 1.3;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  margin: 5px;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info a:hover {
  background: var(--color-white);
  transform: translateY(-3px);
}

.contact-info a:hover i {
  color: var(--color-primary) !important;
}

i.fa-brands.fa-facebook {
  padding-right: 0;
}

i.fa-brands.fa-instagram {
  padding-right: 0;
}

/* ============================================
   NOSOTROS — Home section (if used)
   ============================================ */
.home-container {
  max-width: 100vw;
}

.home-container .home-nosotros {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home-nosotros img {
  z-index: 0;
  position: absolute;
  overflow: hidden;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-nosotros .content {
  z-index: 10;
  color: var(--color-white);
  width: 100%;
  margin-top: 120px;
  overflow-y: hidden;
  margin-left: 620px;
}

.home-nosotros .content h1 {
  font-family: var(--font-display) !important;
  font-size: 150px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* ============================================
   GLOBAL UTILITY OVERRIDES
   ============================================ */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.bg-gray-lighter {
  background: var(--color-bg-warm);
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media screen and (max-width: 1024px) {
  .productos-wrapper {
    justify-content: center;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: calc(50% - 30px);
  }

  .container-img {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .container-img2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* ============================================
   RESPONSIVE — SMALL TABLET (max-width: 768px)
   ============================================ */
@media screen and (max-width: 768px) {
  .productos-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .producto {
    max-width: 400px;
    width: 100%;
  }

  .imagen-producto,
  .imagen-producto-pan {
    align-self: center;
  }

  .container-2-titles {
    padding-top: 50px;
    gap: 12px;
  }

  .container-2 .Nuestros,
  .container-2 .Productos {
    font-size: clamp(50px, 12vw, 80px);
  }

  /* Split sections stack */
  .split-section-headings,
  .split-section-content {
    width: 100%;
    float: none !important;
  }

  .split-section-headings {
    min-height: 300px;
  }

  .ssh-table {
    min-height: 350px;
  }

  .ssh-cell {
    height: 350px;
  }

  .page-section,
  .small-section {
    padding: 60px 0;
  }

  .split-section-wrapper {
    padding: 0 30px;
  }

  /* Footer */
  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 40px;
    text-align: center;
  }

  .wrapper .footer-widget h6::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .wrapper .footer-widget .socials {
    justify-content: center;
  }

  .wrapper .footer-widget .logo {
    margin: -80px auto -60px;
    display: block;
  }

  footer::before {
    display: none;
  }

  /* Contact form */
  .contact-wrapper {
    margin: 20px 0 40px;
  }

  .contact-form form {
    grid-template-columns: 1fr;
  }

  .contact-form form .block {
    grid-column: 1;
  }

  /* Navbar-2 */
  .navbar-2 .content {
    padding: 0 20px;
  }

  .home .content h1,
  .home .content .laCalidad,
  .home .content .deSiempre {
    font-size: clamp(60px, 14vw, 130px);
  }

  .home .content .Desde {
    font-size: clamp(50px, 11vw, 110px);
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

  /* Mobile nav toggle */
  .icon {
    display: block;
  }

  .navbar .menu-list,
  .navbar-2 .menu-list {
    position: fixed;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 320px;
    left: -100%;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transition: all var(--transition-smooth);
    z-index: 1000;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .navbar.show .menu-list,
  .navbar-2.show .menu-list {
    left: 0;
  }

  .navbar .menu-list li,
  .navbar-2 .menu-list li {
    margin: 10px 0;
    width: 100%;
  }

  .navbar .menu-list li a,
  .navbar-2 .menu-list li a {
    font-size: 18px;
    letter-spacing: 3px;
    padding: 14px 20px;
    display: block;
    margin: 0;
  }

  .menu-list li a::after {
    display: none;
  }

  .menu-list .cancel-btn {
    position: absolute;
    right: 20px;
    top: 25px;
    display: block;
    font-size: 24px;
  }

  /* Navbar adjustments */
  .navbar {
    padding: 10px 0;
  }

  .navbar .content {
    padding: 0 20px;
  }

  .navbar .logo-img {
    width: 120px;
    margin-top: 5px;
  }

  .navbar-2 {
    height: 65px;
  }

  .navbar-2 .content {
    height: 65px;
    padding: 0 20px;
  }

  .navbar-2 .logo-img {
    width: 80px;
  }

  .navbar.sticky {
    padding: 6px 0;
  }

  /* Hero */
  .home .content {
    padding: 0 15px;
  }

  .home .content h1,
  .home .content .laCalidad,
  .home .content .deSiempre {
    font-size: clamp(50px, 16vw, 100px);
    line-height: 0.85;
    margin: 0.05em 0;
  }

  .home .content .Desde {
    font-size: clamp(40px, 13vw, 85px);
    margin: 0.05em 0;
  }

  /* Container 1 */
  .container-1 {
    padding: 70px 20px 50px;
  }

  .container-1 img {
    width: 180px;
  }

  .container-1 h1 {
    font-size: 18px;
    line-height: 1.6;
  }

  .button-18 {
    padding: 12px 30px;
    font-size: 12px;
  }

  /* Container 2 */
  .container-2 {
    margin-bottom: 40px;
  }

  .container-2-titles {
    padding-top: 40px;
    gap: 10px;
  }

  .producto {
    padding: 30px 20px 25px;
    max-width: 100%;
    min-width: 0;
  }

  .titulo-producto {
    font-size: clamp(35px, 10vw, 50px);
  }

  .imagen-producto,
  .imagen-producto-pan {
    width: 150px;
    height: 150px;
  }

  /* Split sections */
  .split-section-headings,
  .split-section-content {
    width: 100%;
    float: none !important;
  }

  .left,
  .right {
    float: none !important;
  }

  .ssh-table {
    min-height: 280px;
    margin-top: 65px;
  }

  .ssh-cell {
    height: 280px;
  }

  .page-section {
    padding: 40px 0;
  }

  .split-section-wrapper {
    padding: 0 25px;
  }

  .font-alt {
    font-size: clamp(20px, 6vw, 32px);
    letter-spacing: 0.15em;
  }

  .text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Title box */
  .title-box h2 {
    font-size: clamp(40px, 12vw, 70px);
    margin-top: 50px;
  }

  /* Image grids */
  .container-img {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 15px;
    margin-top: 30px;
  }

  .container-img .box-img:nth-child(1) {
    grid-column-start: span 1;
  }

  .container-img .box-img:nth-child(4) {
    grid-row-start: span 1;
  }

  .container-img .box-img img {
    height: 220px;
  }

  .container-img2 {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 15px;
    margin-top: 10px;
  }

  .container-img2 .box-img2 img {
    height: 200px;
  }

  /* Contact page */
  .contact-home {
    height: 35vh;
    min-height: 280px;
  }

  .contact-home .content h1 {
    font-size: clamp(50px, 14vw, 100px);
    letter-spacing: 3px;
    padding: 0;
    margin: 0;
  }

  .contact-wrapper {
    display: block !important;
    border-radius: var(--radius-md);
  }

  .contact-form {
    padding: 30px 20px !important;
  }

  .contact-info {
    padding: 30px 20px !important;
    text-align: center;
  }

  /* Footer mobile */
  .wrapper .footer-widget .logo {
    width: 280px;
    margin: -60px auto -40px;
  }

  footer {
    padding-top: 50px;
  }

  .imagen-bread {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — Large screens (min-width: 700px)
   ============================================ */
@media (min-width: 700px) {
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
  }

  .contact-wrapper>* {
    padding: 2em;
  }

  .contact-info h4,
  .contact-info ul,
  .contact-info p {
    text-align: center;
    font-family: "Inter", sans-serif;
  }
}

/* ============================================
   ANIMATIONS — Scroll Reveal
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLine {
  from {
    width: 0;
  }

  to {
    width: 50px;
  }
}

/* Apply subtle animations on load */
.container-1 {
  animation: fadeInUp 0.8s ease-out;
}

.producto {
  animation: fadeInScale 0.6s ease-out both;
}

.producto:nth-child(1) {
  animation-delay: 0.1s;
}

.producto:nth-child(2) {
  animation-delay: 0.25s;
}

.producto:nth-child(3) {
  animation-delay: 0.4s;
}

/* ============================================
   UNUSED LEGACY CLASSES (kept for compatibility)
   ============================================ */
.container-2 .Panificados {
  display: none;
}

.container-2 .Pan {
  display: none;
}

.container-2 .Panificados-p {
  display: none;
}

.container-2 .Facturas {
  display: none;
}

.container-2 .Factura {
  display: none;
}

.container-2 .Facturas-p {
  display: none;
}

.container-2 .Nutricional {
  display: none;
}

.container-2 .Grisin {
  display: none;
}

.container-2 .Nutricional-p {
  display: none;
}

.Panificados-container {
  display: none;
}

.Facturas-container {
  display: none;
}

.Nutricional-container {
  display: none;
}

.button-1 {
  display: none;
}

.button-2 {
  display: none;
}

.button-3 {
  display: none;
}