/* --------- Global reset --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-orange: #fd9500;
  --brand-yellow: #ffc900;
  --brand-amber: #ffb33b;
  --brand-cream: #fbd8a5;
  --brand-caramel: #8b4d02;
  --brand-orange-rgb: 253, 149, 0;
  --brand-yellow-rgb: 255, 201, 0;
  --brand-amber-rgb: 255, 179, 59;
  --brand-cream-rgb: 251, 216, 165;
  --brand-caramel-rgb: 139, 77, 2;
  --font-heading: 'Fraunces', 'Poppins', serif;
  --color-primary: var(--brand-orange);
  --color-secondary: var(--brand-yellow);
  --color-dark: var(--brand-caramel);
  --color-light: #fff7e8;
  --color-muted: rgba(var(--brand-caramel-rgb), 0.68);
  --color-card: #fffaf2;
  --gradient-warm: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
  --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.12);
  --header-height: 80px;
  font-size: 16px;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  font-family: inherit;
  background: radial-gradient(circle at 18% 20%, rgba(var(--brand-cream-rgb), 0.45), transparent 36%),
    radial-gradient(circle at 82% 0%, rgba(var(--brand-amber-rgb), 0.22), transparent 30%),
    var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body.theme-dark {
  --color-light: #0c0b0f;
  --color-dark: #fdf7ed;
  --color-card: #16141b;
  --color-muted: rgba(253, 247, 237, 0.7);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  background: radial-gradient(circle at 20% 15%, rgba(var(--brand-yellow-rgb), 0.08), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(var(--brand-orange-rgb), 0.12), transparent 40%),
    #0c0b0f;
  color: var(--color-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

section {
  padding: 4rem 0;
  position: relative;
}

main {
  padding-top: var(--header-height);
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: var(--color-secondary);
}

.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.section-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.35rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3,
.section-heading {
  font-family: var(--font-heading);
}

.text-muted {
  color: var(--color-muted);
}

/* --------- Header --------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1300;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.theme-dark .site-header {
  background: rgba(12, 11, 15, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-bar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.logo-group img {
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
}

.nav-links a,
.nav-links .nav-parent {
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after,
.nav-links .nav-parent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

.nav-item.has-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.submenu-toggle {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.submenu-toggle i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.nav-item.open .submenu-toggle i {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.nav-item.open .submenu,
.nav-item:focus-within .submenu,
.nav-item:hover .submenu {
  display: grid;
}

.submenu-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.submenu-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.submenu-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.submenu-title {
  font-weight: 700;
  line-height: 1.1;
}

.submenu-card small {
  color: var(--color-muted);
}

.submenu-card:hover,
.submenu-card.active {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(var(--brand-yellow-rgb), 0.14));
  border-color: rgba(var(--brand-orange-rgb), 0.25);
}

body.theme-dark .submenu {
  background: rgba(14, 13, 18, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .submenu-card {
  background: rgba(22, 20, 27, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

body.theme-dark .submenu-card:hover,
body.theme-dark .submenu-card.active {
  background: linear-gradient(135deg, rgba(22, 20, 27, 0.95), rgba(var(--brand-orange-rgb), 0.18));
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

body.theme-dark .menu-toggle {
  border-color: transparent;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

body.theme-dark .nav-overlay {
  background: rgba(12, 11, 15, 0.92);
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

/* --------- Hero --------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 4rem 0;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--brand-caramel-rgb), 0.88), rgba(var(--brand-orange-rgb), 0.35));
  z-index: 1;
}

body.theme-dark .hero::before {
  background: linear-gradient(135deg, rgba(6, 6, 10, 0.9), rgba(var(--brand-orange-rgb), 0.25));
}

.hero::after {
  content: '';
  position: absolute;
  inset: -35% auto auto 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 35% 35%, rgba(var(--brand-orange-rgb), 0.4), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(var(--brand-yellow-rgb), 0.3), transparent 60%);
  filter: blur(18px);
  z-index: 0;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #f5f5f5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.hero-badges .pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

.scroll-cue {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #f7f7f7;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.scroll-cue i {
  animation: bounce 1.5s ease-in-out infinite;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-image {
  background-size: cover;
  background-position: center;
}

/* --------- Value strip --------- */
.value-strip {
  padding: 0;
  background: linear-gradient(135deg, rgba(var(--brand-orange-rgb), 0.16), rgba(var(--brand-caramel-rgb), 0.08));
  overflow: hidden;
}

.value-strip::before,
.value-strip::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.value-strip::before {
  background: rgba(var(--brand-orange-rgb), 0.32);
  top: -180px;
  left: -120px;
}

.value-strip::after {
  background: rgba(var(--brand-yellow-rgb), 0.38);
  bottom: -160px;
  right: -140px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 2.75rem 0;
  position: relative;
  z-index: 1;
}

.highlight-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(var(--brand-orange-rgb), 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.highlight-card:hover::after {
  opacity: 1;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-warm);
  color: var(--color-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 12px 25px rgba(var(--brand-orange-rgb), 0.35);
}

.highlight-card h3 {
  margin: 0 0 0.25rem;
}

.highlight-card p {
  margin: 0;
  color: var(--color-muted);
}

body.theme-dark .highlight-card {
  background: rgba(20, 18, 25, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

/* --------- Cards & grids --------- */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92));
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(var(--brand-orange-rgb), 0.16), transparent 50%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}

.card:hover::after {
  opacity: 1;
}

.card img.card-thumb {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1rem;
}

/* Home product cards */
.product-highlight {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 38vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(var(--brand-cream-rgb), 0.8), rgba(var(--brand-yellow-rgb), 0.25));
}

body.theme-dark .product-highlight {
  background: linear-gradient(135deg, rgba(20, 18, 25, 0.95), rgba(28, 25, 33, 0.92));
}

.product-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-caramel-rgb), 0.1), rgba(var(--brand-caramel-rgb), 0.75));
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

body.theme-dark .product-highlight::before {
  background: linear-gradient(180deg, rgba(6, 6, 10, 0.25), rgba(6, 6, 10, 0.85));
}

.product-highlight .card-media {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--brand-cream-rgb), 0.7), rgba(var(--brand-yellow-rgb), 0.2));
}

body.theme-dark .product-highlight .card-media {
  background: linear-gradient(135deg, rgba(20, 18, 25, 0.9), rgba(28, 25, 33, 0.9));
}

.product-highlight .card-thumb {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.product-floaters {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-highlight .product-floaters i {
  position: absolute;
  color: rgba(var(--brand-caramel-rgb), 0.25);
  font-size: clamp(1.4rem, 2vw, 2.4rem);
  animation: icon-float 6s ease-in-out infinite;
}

body.theme-dark .product-highlight .product-floaters i {
  color: rgba(253, 247, 237, 0.18);
}

.product-highlight .product-floaters i:nth-child(1) {
  top: 18%;
  left: 12%;
  animation-duration: 7s;
}

.product-highlight .product-floaters i:nth-child(2) {
  top: 32%;
  right: 16%;
  font-size: clamp(1.6rem, 2.4vw, 2.8rem);
  animation-duration: 6.5s;
  animation-delay: 0.5s;
}

.product-highlight .product-floaters i:nth-child(3) {
  bottom: 18%;
  left: 20%;
  animation-duration: 7.5s;
  animation-delay: 1s;
}

.product-highlight .product-floaters i:nth-child(4) {
  bottom: 16%;
  right: 18%;
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  animation-duration: 6.2s;
  animation-delay: 0.3s;
}

.product-highlight > :not(.card-media):not(.product-floaters) {
  position: relative;
  z-index: 2;
}

.product-highlight h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin: 0;
}

.product-highlight p {
  display: none;
}

.product-highlight .btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.product-highlight:hover::before,
.product-highlight:focus-within::before,
.product-highlight:active::before {
  opacity: 1;
}

.product-highlight:hover .card-thumb,
.product-highlight:focus-within .card-thumb,
.product-highlight:active .card-thumb {
  opacity: 1;
  transform: scale(1);
}

.product-highlight:hover .product-floaters,
.product-highlight:focus-within .product-floaters,
.product-highlight:active .product-floaters {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.product-highlight:hover,
.product-highlight:focus-within,
.product-highlight:active {
  color: #fff;
}

.product-highlight:hover .btn,
.product-highlight:focus-within .btn,
.product-highlight:active .btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: linear-gradient(120deg, var(--color-secondary), var(--color-primary), var(--color-secondary));
  background-size: 200% 200%;
  color: var(--color-dark);
  box-shadow: 0 16px 30px rgba(var(--brand-orange-rgb), 0.45);
  animation: btn-shimmer 1.6s ease-in-out infinite;
}

body.theme-dark .product-highlight:hover .btn,
body.theme-dark .product-highlight:focus-within .btn,
body.theme-dark .product-highlight:active .btn {
  color: #1a1510;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(var(--brand-orange-rgb), 0.14);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-inline li {
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

body.theme-dark .list-inline li {
  background: rgba(255, 255, 255, 0.08);
}

body.theme-dark .card {
  background: linear-gradient(145deg, rgba(22, 20, 27, 0.96), rgba(18, 17, 23, 0.9));
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .card::after {
  background: radial-gradient(circle at 20% 20%, rgba(var(--brand-orange-rgb), 0.2), transparent 50%);
}

/* --------- About / layout --------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 3rem;
}

.about-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  flex: 1 1 220px;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.theme-dark .feature {
  background: rgba(18, 17, 23, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}

/* --------- Contact --------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-orange-rgb), 0.12);
  color: var(--color-primary);
}

.contact-item i {
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.social-links i {
  font-size: 1rem;
}

.map-wrapper iframe {
  width: 100%;
  border: 0;
  border-radius: 24px;
  min-height: 320px;
  box-shadow: var(--shadow-soft);
}

/* --------- Home contact section --------- */
.contacto-index {
  position: relative;
}

.contacto-index .contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 1.75rem;
}

.contacto-index .contact-card {
  position: relative;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(var(--brand-cream-rgb), 0.5), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(var(--brand-amber-rgb), 0.25);
}

.contacto-index .contact-card::before {
  content: none;
}

.contacto-index .contact-card > * {
  position: relative;
  z-index: 1;
}

.contacto-index .contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.contacto-index .contact-item span {
  width: 42px;
  height: 42px;
  margin-top: 0.15rem;
}

.contacto-index .contact-item p {
  margin: 0.25rem 0 0;
}

.contacto-index .social-links {
  margin-top: 0.35rem;
}

.contacto-index .map-wrapper {
  align-self: stretch;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.contacto-index .map-wrapper iframe {
  border-radius: 0;
  height: 100%;
  min-height: 360px;
}

.contacto-index .section-title {
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
}

.contacto-index .section-heading {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.contacto-index .contact-card p {
  font-size: 0.95rem;
}

.contacto-index .contact-item strong {
  font-size: 0.98rem;
}

.contacto-index .contact-item p {
  font-size: 0.9rem;
}

.contacto-index .social-links a {
  border: none;
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.contacto-index .social-links a.social-instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.contacto-index .social-links a.social-facebook {
  background: #1877f2;
}

.contacto-index .social-links a.social-linkedin {
  background: #0a66c2;
}

.contacto-index .social-links a.social-x {
  background: #111;
}

.contacto-index .social-links a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

body.theme-dark .contacto-index .contact-card {
  background: linear-gradient(145deg, rgba(22, 20, 27, 0.96), rgba(18, 17, 23, 0.9));
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .contacto-index .map-wrapper {
  background: rgba(18, 17, 23, 0.9);
}

@media (max-width: 900px) {
  .contacto-index .contact-grid {
    grid-template-columns: 1fr;
  }

  .contacto-index .map-wrapper,
  .contacto-index .map-wrapper iframe {
    min-height: 300px;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: inherit;
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea {
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* --------- Cookie banner --------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 2.5rem));
  z-index: 1200;
}

.cookie-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-card);
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
}

.cookie-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.cookie-text p {
  margin: 0;
  color: var(--color-muted);
}

.cookie-text a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
}

.cookie-preferences {
  margin-top: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--color-card);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cookie-option:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.cookie-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(var(--brand-yellow-rgb), 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
}

body.theme-dark .cookie-card,
body.theme-dark .cookie-preferences {
  background: rgba(20, 18, 25, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .cookie-option {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .cookie-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
  }
}

/* --------- Floating buttons --------- */
.floating-buttons {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.floating-buttons a,
.floating-buttons button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  background: var(--color-primary);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-buttons .whatsapp {
  background: #25d366;
}

.floating-buttons button {
  background: var(--color-dark);
  color: var(--color-light);
}

.floating-buttons .lang-toggle {
  background: var(--color-secondary);
  color: #1a1510;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

.floating-buttons .lang-flag {
  width: 26px;
  height: 26px;
  display: block;
}

body.theme-dark .floating-buttons button {
  background: #fdf7ed;
  color: #1a1510;
}

body.theme-dark .floating-buttons .lang-toggle {
  background: var(--color-secondary);
  color: #1a1510;
}

.floating-buttons i {
  font-size: 1.25rem;
}

/* --------- Language menu --------- */
.lang-menu {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
}

.lang-menu-toggle,
.lang-menu .lang-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.lang-menu-toggle {
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

.lang-menu .lang-toggle {
  background: var(--color-secondary);
  color: #1a1510;
  text-decoration: none;
}

.lang-menu .lang-options {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lang-menu.is-open .lang-options {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu .lang-flag {
  width: 26px;
  height: 26px;
  display: block;
}

.lang-menu i {
  font-size: 1.25rem;
}

@media (hover: hover) and (pointer: fine) {
  .floating-buttons a:hover,
  .floating-buttons button:hover,
  .lang-menu-toggle:hover,
  .lang-menu .lang-toggle:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
    filter: brightness(1.05);
  }

  .floating-buttons a:hover i,
  .floating-buttons button:hover i,
  .lang-menu-toggle:hover i {
    animation: float-wiggle 0.6s ease;
  }
}

/* --------- Footer --------- */
.site-footer {
  background: #1c120a;
  color: #f3f3f3;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social .social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social .social-link:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
}

.footer-social .social-instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.footer-social .social-facebook {
  background: #1877f2;
}

.footer-social .social-linkedin {
  background: #0a66c2;
}

.footer-social .social-x {
  background: #111;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand img {
  width: 80px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact i {
  margin-top: 0.15rem;
  color: inherit;
}

.footer-contact span {
  color: inherit;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* --------- Utilities --------- */
.pill {
  background: rgba(0, 0, 0, 0.08);
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .product-highlight:hover .btn,
  .product-highlight:focus-within .btn,
  .product-highlight:active .btn {
    animation: none;
  }

  .product-floaters i {
    animation: none;
  }

  .floating-buttons a:hover i,
  .floating-buttons button:hover i {
    animation: none;
  }
}

/* --------- Modal --------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-card);
  color: inherit;
  border-radius: 24px;
  padding: 2rem;
  max-width: 1040px;
  width: min(94%, 1040px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.modal-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.modal img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.modal-media img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.modal-body h3 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.modal-body .text-muted {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(var(--brand-cream-rgb), 0.35);
  border: 1px solid rgba(var(--brand-amber-rgb), 0.2);
  color: rgba(var(--brand-caramel-rgb), 0.85);
  line-height: 1.65;
}

body.theme-dark .modal-body .text-muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(253, 247, 237, 0.78);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

body.theme-dark .modal-close {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 720px) {
  .modal {
    padding: 1.5rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-media {
    order: -1;
  }

  .modal-media img {
    min-height: 200px;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes float-wiggle {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-2px) rotate(-6deg);
  }
  70% {
    transform: translateY(1px) rotate(4deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes btn-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* --------- Responsive --------- */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    padding: 2rem 1.5rem;
    gap: 1rem;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1400;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.theme-dark .nav-links {
    background: #0d0c11;
  }

  body.menu-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .nav-links a {
    width: 100%;
    padding: 0.9rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    display: block;
  }

  .nav-item.has-submenu {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    display: none;
    padding: 0.5rem 0.4rem;
  }

  body.theme-dark .submenu {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-item:hover .submenu {
    display: none;
  }

  .nav-item.open .submenu {
    display: grid;
  }

  .submenu-toggle {
    align-self: flex-end;
    border-color: rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(1200px, 92%);
  }

  .section-title {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
  }

  .section-heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero {
    min-height: 70vh;
  }

  .hero::after {
    width: 360px;
    height: 360px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.05;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .floating-buttons {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-buttons a,
  .floating-buttons button {
    width: 48px;
    height: 48px;
  }

  .lang-menu {
    left: 1rem;
    bottom: 1rem;
  }

  .lang-menu-toggle,
  .lang-menu .lang-toggle {
    width: 48px;
    height: 48px;
  }

  .card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-item {
    gap: 0.75rem;
  }

  .contact-item span {
    width: 38px;
    height: 38px;
  }

  .contacto-index .contact-card {
    padding: 1.5rem;
  }

  .contacto-index .map-wrapper,
  .contacto-index .map-wrapper iframe {
    min-height: 240px;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .section-title {
    letter-spacing: 0.15rem;
  }

  .hero::after {
    width: 280px;
    height: 280px;
  }

  .floating-buttons {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .lang-menu {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}
