:root {
  --bg: #f6ead8;
  --surface: #fff8ec;
  --surface-strong: #ead0ad;
  --text: #193a2d;
  --muted: #6f6a5e;
  --primary: #264d3b;
  --primary-dark: #153225;
  --accent: #d79a55;
  --border: rgba(25, 58, 45, 0.16);
  --radius: 28px;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(31, 47, 36, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cabin Condensed", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 58px 0; }
.section__content { display: grid; gap: 28px; }
.section-heading { max-width: 720px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading--light { color: var(--surface); }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent); }
h1, h2, h3 { font-family: "Calistoga", Georgia, serif; font-weight: 400; line-height: .98; margin: 0; }
h1 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); max-width: 760px; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.14; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.55rem); line-height: 1.2; }
p { font-size: 1rem; line-height: 1.65; margin: 0; color: var(--muted); max-width: 65ch; }

.topbar { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 42px; padding: 8px 16px; background: var(--primary); color: var(--surface); }
.topbar p { color: inherit; font-size: 1rem; text-align: center; }
.topbar__close { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.topbar.is-hidden { display: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 234, 216, .86); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.02rem; }
.brand__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--surface); font-family: "Calistoga", Georgia, serif; }
.nav__menu { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 1rem; }
.nav__menu a:hover { color: var(--accent); }
.nav__toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); }

.hero { padding-top: 42px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero__content { display: grid; gap: 22px; }
.hero__text { max-width: 620px; font-size: 1rem; }
.button-group { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--primary); font-weight: 700; font-size: .96rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--primary); color: var(--surface); }
.button--secondary { background: transparent; color: var(--primary); }
.hero__cards { min-height: 460px; position: relative; border-radius: 34px; background: linear-gradient(145deg, var(--primary), var(--primary-dark)); box-shadow: var(--shadow); overflow: hidden; padding: 22px; }
.hero__cards::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: rgba(255,255,255,.10); filter: blur(10px); }
.floating-card { position: absolute; width: 230px; padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.floating-card span { display: block; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.floating-card strong { font-family: "Calistoga", Georgia, serif; font-size: 1.32rem; font-weight: 400; line-height: 1.15; }
.floating-card--large { width: 310px; left: 34px; top: 56px; }
.floating-card:not(.floating-card--large):not(.floating-card--accent) { right: 30px; top: 230px; }
.floating-card--accent { left: 80px; bottom: 54px; background: var(--surface-strong); }

.ticker {   overflow: hidden;   border-block: 1px solid var(--border);   background: var(--surface); }  
.ticker__track {   display: flex;   width: max-content;   gap: 14px;   padding: 10px 0;   animation: ticker 18s linear infinite; }  
.ticker span {   flex: 0 0 auto;   font-size: .88rem;   font-family: "Calistoga", Georgia, serif;   white-space: nowrap; }  
.ticker span::after {   content: "•";   margin-left: 14px;   color: var(--accent); } 
@keyframes ticker {   from { transform: translateX(0); }   to { transform: translateX(-50%); } } 

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card, .step-card { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(31,47,36,.07); }
.service-card__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: var(--surface-strong); font-size: 1.8rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-list span { padding: 7px 10px; border-radius: 999px; background: rgba(38,77,59,.09); color: var(--primary); font-size: .95rem; font-weight: 700; }
.section--filled { background: var(--primary); color: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: rgba(255,248,236,.08); border-color: rgba(255,248,236,.18); }
.step-card p { color: rgba(255,248,236,.78); }
.step-card span { color: var(--accent); font-weight: 700; font-size: 1.2rem; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); }
.banner h2 { max-width: 720px; }

.footer { background: var(--primary-dark); color: var(--surface); padding: 48px 0 24px; }
.footer p, .footer a { color: rgba(255,248,236,.76); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.footer__grid > div { display: grid; align-content: start; gap: 14px; }
.footer h3 { font-size: 1.22rem; }
.brand--footer .brand__mark { background: var(--surface); color: var(--primary); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,248,236,.16); color: rgba(255,248,236,.7); }

@media (max-width: 980px) {
  .hero__grid, .footer__grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cards { min-height: 430px; }
}
@media (max-width: 720px) {
  .section { padding: 46px 0; }
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; inset: 78px 16px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 14px; border-bottom: 1px solid var(--border); }
  .service-grid, .steps-grid { grid-template-columns: 1fr; }
  .banner { align-items: stretch; flex-direction: column; padding: 28px; }
  .floating-card { position: relative; inset: auto !important; width: 100%; margin-bottom: 14px; }
  .hero__cards { min-height: auto; }
}


/* Featured digital tools */
.service-grid--featured {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
  content: "Abrir página →";
  align-self: end;
  color: var(--accent);
  font-weight: 700;
  margin-top: 4px;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 58px rgba(31,47,36,.16);
  border-color: rgba(215,154,85,.55);
}
.service-card--featured {
  min-height: 350px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: var(--surface);
  animation: softPulse 4.2s ease-in-out infinite;
}
.service-card--featured:nth-child(2) { animation-delay: .18s; }
.service-card--featured:nth-child(3) { animation-delay: .36s; }
.service-card--featured:nth-child(4) { animation-delay: .54s; }
.service-card--featured p { color: rgba(255,248,236,.78); }
.service-card--featured h3 { font-size: clamp(1.55rem, 2.1vw, 2.05rem); }
.service-card--featured .service-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--primary);
  font-size: 2.25rem;
  transform: rotate(-4deg);
  animation: floatBadge 3.4s ease-in-out infinite;
}
.service-card--featured:nth-child(2) .service-card__icon { animation-delay: .25s; }
.service-card--featured:nth-child(3) .service-card__icon { animation-delay: .5s; }
.service-card--featured:nth-child(4) .service-card__icon { animation-delay: .75s; }
.service-card--featured .tag-list span {
  background: rgba(255,248,236,.13);
  color: var(--surface);
}
.service-card__shine {
  position: absolute;
  inset: -45% auto auto -55%;
  width: 70%;
  height: 200%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shine 4.5s ease-in-out infinite;
}
.service-card:nth-child(2) .service-card__shine { animation-delay: .3s; }
.service-card:nth-child(3) .service-card__shine { animation-delay: .6s; }
.service-card:nth-child(4) .service-card__shine { animation-delay: .9s; }
.service-card > *:not(.service-card__shine) { position: relative; z-index: 1; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 18px 44px rgba(31,47,36,.16); }
  50% { box-shadow: 0 28px 68px rgba(31,47,36,.24); }
}
@keyframes shine {
  0%, 45% { left: -70%; }
  70%, 100% { left: 125%; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card--featured,
  .service-card--featured .service-card__icon,
  .service-card__shine,
  .ticker__track {
    animation: none;
  }
}
@media (max-width: 980px) {
  .service-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--featured { min-height: 300px; }
}
@media (max-width: 720px) {
  .service-grid--featured { grid-template-columns: 1fr; }
  .service-card--featured { min-height: 280px; }
}

/* Large featured access panels */
.featured-services {
  display: grid;
  gap: 22px;
}
.feature-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
  align-items: center;
  min-height: 232px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,248,236,.92), rgba(234,208,173,.72));
  border: 1px solid var(--border);
  box-shadow: 0 20px 58px rgba(31,47,36,.10);
  color: var(--text);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature-panel::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -40%;
  width: 38%;
  height: 200%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
  opacity: .85;
  animation: panelShine 6s ease-in-out infinite;
}
.feature-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(215,154,85,.55);
  box-shadow: 0 28px 76px rgba(31,47,36,.16);
}
.feature-panel__copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 12px;
}
.feature-panel__copy h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.16;
}
.feature-panel__copy p:not(.eyebrow) {
  max-width: 540px;
  font-size: .98rem;
}
.feature-panel__visual {
  position: relative;
  min-height: 190px;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(255,248,236,.10), transparent 34%), linear-gradient(145deg, var(--primary), var(--primary-dark));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.feature-panel__visual::before,
.feature-panel__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,248,236,.14);
  border-radius: 999px;
  animation: orbitRotate 14s linear infinite;
}
.feature-panel__visual::before { width: 230px; height: 230px; }
.feature-panel__visual::after { width: 150px; height: 150px; animation-duration: 10s; animation-direction: reverse; }
.feature-panel__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255,248,236,.92);
  font-size: 1.9rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  animation: iconFloat 3.6s ease-in-out infinite;
}
.bubble {
  position: absolute;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,248,236,.92);
  color: var(--primary);
  font-weight: 700;
  font-size: .84rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  --float-x: 0px;
  animation: bubbleFloat 4.2s ease-in-out infinite;
}

.bubble--top { left: 34px; top: 30px; }
.bubble--right { right: 34px; top: 30px;}
.bubble--bottom { bottom: 30px; left: 34px;}
.bubble--bottom-right { bottom: 30px; right: 34px;}
.feature-panel:nth-child(2)::before { animation-delay: .35s; }
.feature-panel:nth-child(3)::before { animation-delay: .7s; }
.feature-panel:nth-child(4)::before { animation-delay: 1.05s; }

@keyframes panelShine {
  0%, 48% { left: -55%; }
  72%, 100% { left: 125%; }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes bubbleFloat {
  0%, 100% { transform: translate(var(--float-x), 0); }
  50% { transform: translate(var(--float-x), -10px); }
}
@keyframes orbitRotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .feature-panel { grid-template-columns: 1fr; padding: 22px; }
  .feature-panel__copy h3 { font-size: clamp(1.35rem, 5.4vw, 1.95rem); }
}
@media (max-width: 560px) {
  .feature-panel { min-height: auto; border-radius: 28px; }
  .feature-panel__visual { min-height: 180px; }
  .feature-panel__icon { width: 66px; height: 66px; font-size: 1.72rem; }
  .bubble { padding: 7px 10px; font-size: .78rem; }
  .bubble--top { left: 14px; top: 18px; }
  .bubble--right { right: 14px; top: 18px; }
  .bubble--bottom { bottom: 18px; }
  .bubble--bottom-right {    bottom: 18px;    right: 14px;  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-panel::before,
  .feature-panel__visual::before,
  .feature-panel__visual::after,
  .feature-panel__icon,
  .bubble { animation: none; }
}


/* Ajustes solicitados: encabezado + hero en verde y contacto responsive */
.topbar {
  background: var(--bg);
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(255,248,236,.14);
}
.site-header {
  background: rgba(21, 50, 37, .94);
  color: var(--surface);
  border-bottom: 1px solid rgba(255,248,236,.14);
}
.site-header .brand__mark {
  background: var(--surface);
  color: var(--primary);
}
.site-header .nav__menu a:hover { color: var(--accent); }
.site-header .nav__toggle {
  background: rgba(255,248,236,.10);
  border-color: rgba(255,248,236,.22);
}
.site-header .nav__toggle span { background: var(--surface); }
.hero--green {
  margin-top: 0;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,248,236,.12), transparent 34%),
    linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: var(--surface);
}
.hero--green .eyebrow { color: var(--accent); }
.hero--green p { color: rgba(255,248,236,.78); }
.hero--green .button--primary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--surface);
}
.hero--green .button--secondary {
  color: var(--surface);
  border-color: rgba(255,248,236,.58);
}
.hero--green .hero__cards {
  background: rgba(255,248,236,.09);
  border: 1px solid rgba(255,248,236,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.hero--green .floating-card {
  background: rgba(255,248,236,.94);
  color: var(--text);
}
.hero--green .floating-card--accent { background: var(--surface-strong); }

.contact-section {
  background: var(--bg);
}
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,248,236,.95), rgba(234,208,173,.76));
  border: 1px solid var(--border);
  box-shadow: 0 20px 58px rgba(31,47,36,.10);
}
.contact-panel__text {
  display: grid;
  gap: 12px;
}
.contact-panel__text p:not(.eyebrow) {
  font-size: 1rem;
  max-width: 58ch;
}
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-button {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--surface);
  border: 1px solid rgba(255,248,236,.18);
  box-shadow: 0 14px 32px rgba(31,47,36,.14);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.contact-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(31,47,36,.20);
  background: var(--primary-dark);
}
.contact-button__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: rgba(255,248,236,.14);
  font-size: 1.45rem;
}
.contact-button strong,
.contact-button small {
  display: block;
}
.contact-button strong {
  font-family: "Calistoga", Georgia, serif;
  font-weight: 400;
  font-size: 1.22rem;
  line-height: 1.1;
}
.contact-button small {
  margin-top: 6px;
  color: rgba(255,248,236,.72);
  font-size: .9rem;
}

@media (max-width: 720px) {
  .site-header .nav__menu {
    background: var(--primary-dark);
    border: 1px solid rgba(255,248,236,.16);
  }
  .site-header .nav__menu a {
    border-bottom-color: rgba(255,248,236,.14);
  }
  .hero--green { padding: 48px 0 56px; }
  .contact-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 28px;
  }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-button { min-height: 96px; }
}

/* Hero con ilustración limpia, flotante y responsive */
.hero__cards--image {
  min-height: clamp(300px, 36vw, 440px);
  display: grid;
  place-items: center;
  padding: 0;
  isolation: isolate;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.hero__cards--image::before {
  content: "";
  position: absolute;
  width: min(72%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,248,236,.22), rgba(255,248,236,.08) 44%, transparent 70%);
  filter: blur(10px);
  opacity: .75;
  z-index: 0;
}
.hero__illustration {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.24));
  animation: heroImageFloat 4.8s ease-in-out infinite;
  transform-origin: center;
}
.hero__illustration--store {
  margin: 0;
}

@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.018); }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content, .button-group {
    justify-items: center;
    justify-content: center;
  }
  .hero__text, .hero__content h1 {
    margin-inline: auto;
  }
  .hero__cards--image {
    min-height: clamp(320px, 54vw, 520px);
    width: min(100%, 680px);
    margin: 0 auto;
  }
  .hero__illustration {
    width: min(92vw, 620px);
  }
}

@media (max-width: 720px) {
  .hero--green {
    padding: 38px 0 46px;
  }
  .hero__grid {
    gap: 22px;
  }
  .hero__cards--image {
    min-height: clamp(280px, 78vw, 430px);
    margin-top: 2px;
  }
  .hero__illustration {
    width: min(96vw, 520px);
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.22));
  }
}

@media (max-width: 460px) {
  .hero__cards--image {
    min-height: clamp(240px, 82vw, 340px);
  }
  .hero__illustration {
    width: min(98vw, 390px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__illustration { animation: none; }
}

/* Estilos para el Menú Desplegable (Dropdown) de Tienda */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--primary-dark) !important; /* Fondo verde oscuro premium */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(21, 50, 37, 0.24);
  padding: 8px 0;
  min-width: 190px;
  display: none;
  z-index: 100;
  animation: dropdownFadeIn 0.2s ease-out;
}

/* Puente invisible para evitar que el menú desaparezca al mover el mouse en el espacio vacío */
.nav__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Enlaces del Dropdown en todas las pantallas */
.nav__dropdown-menu a {
  display: block !important;
  padding: 10px 20px !important;
  font-size: 1rem !important; /* Mismo tamaño del menú del header */
  font-weight: 700 !important;
  font-family: "Cabin Condensed", system-ui, sans-serif !important; /* Misma fuente del header */
  color: #ffffff !important; /* Texto blanco de alto contraste */
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-bottom: 0 !important; /* Quitar cualquier borde heredado */
  text-align: left !important;
}

.nav__dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--accent) !important; /* Texto naranja en hover */
  padding-left: 24px !important; /* Animación sutil de desplazamiento */
}

/* Mostrar dropdown en desktop y tablet con hover */
@media (min-width: 769px) {
  .nav__dropdown:hover .nav__dropdown-menu {
    display: block;
  }
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* Soporte completo para tablets, móviles grandes y pequeños (max-width: 768px) */
@media (max-width: 768px) {
  /* Hacemos que el dropdown actúe como un acordeón premium en móvil/tablet */
  .nav__dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: var(--primary) !important; /* Fondo verde un poco más claro para distinguir el submenú */
    padding: 6px 0 !important;
    display: none !important;
    animation: none !important;
    min-width: 100% !important;
    border-radius: 12px !important;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  
  .nav__dropdown.is-active .nav__dropdown-menu {
    display: block !important;
  }
  
  .nav__dropdown-toggle {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    width: 100%;
  }
  
  .nav__dropdown-menu a {
    padding: 12px 20px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
  }
  
  .nav__dropdown-menu a:hover {
    padding-left: 24px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
}
