/* ============================================================
   SearchMAS — main.css
   ============================================================ */

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1F2937;
    background: transparent;
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- CSS Custom Properties ---- */
:root {
    --lime:  #CCFF00;
    --teal:  #00F2FF;
    --dark:  #1F2937;
    --muted: #6B7280;
    --night: #1F2937;
    --bg:    #F8FAFC;
    --card:  #E0E3E8;
    --grad:  linear-gradient(90deg, #00F2FF, #CCFF00);
}

/* ---- Animated Background ---- */
#searchmas-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, #dde8f5 0%, #eaf0fa 35%, #f0f4f8 60%, #e8f0f5 100%);
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
}
.blob-1 { width: 520px; height: 520px; background: rgba(0,242,255,.25); top: -10%; left: -8%; animation: bgFloat 14s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: rgba(204,255,0,.2);  top: 40%;  right: -6%; animation: bgFloat 10s ease-in-out infinite reverse; }
.blob-3 { width: 340px; height: 340px; background: rgba(31,41,55,.1);   bottom: 5%; left: 35%;  animation: bgFloat 12s ease-in-out infinite 3s; }
@keyframes bgFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(30px,20px) scale(1.08); }
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px);
    background-size: 96px 96px;
}
.dot {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: dotBlink 3.5s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 1.2s; }
.dot:nth-child(3) { animation-delay: 2.4s; }
.dot:nth-child(4) { animation-delay: .7s; }
.dot:nth-child(5) { animation-delay: 1.9s; }
@keyframes dotBlink {
    0%,100% { opacity: 0; transform: scale(.5); }
    50%      { opacity: 1; transform: scale(1); }
}

/* ---- Navbar ---- */
#searchmas-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.07);
    display: flex;
    align-items: center;
}
.navbar-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}
.navbar-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s;
}
.navbar-links a:hover,
.navbar-links a[aria-current="page"] { color: var(--dark); }
.navbar-ctas {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-left: 2rem;
}
.navbar-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.navbar-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: .3s;
}
.mobile-menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.07);
    padding: 1.5rem 5%;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--dark); }

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--lime);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    border-radius: 100px;
    padding: 13px 28px;
    border: none;
    cursor: pointer;
    transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204,255,0,.4);
}
.btn-primary.pill { border-radius: 100px; box-shadow: 0 0 0 3px rgba(204,255,0,.25); }
.btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    padding: 12px 24px;
    border: 1.5px solid rgba(31,41,55,.55);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost-dark:hover { border-color: var(--dark); background: rgba(31,41,55,.05); }
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.7);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: rgba(255,255,255,.8);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    padding: 12px 28px;
    border: 1.5px solid rgba(255,255,255,.25);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.btn-ghost-pill:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ---- Section Tag / Badge ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}
.section-tag::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--teal);
    border-radius: 2px;
}
.section-tag.lime { color: var(--lime); }
.section-tag.lime::before { background: var(--lime); }

/* ---- Gradient text ---- */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Headings ---- */
.headline-xl {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.02;
}
.headline-lg {
    font-size: clamp(30px, 3.5vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.headline-md {
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 700;
    letter-spacing: -1px;
}

/* ---- Cards ---- */
.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    padding: 2rem;
    transition: transform .25s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.card-dark {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    transition: border-color .25s, transform .25s;
}
.card-dark:hover {
    transform: translateY(-4px);
    border-top-color: var(--teal);
}

/* ---- Sections ---- */
.section { padding: 96px 6%; }
.section-narrow { padding: 80px 6%; max-width: 1100px; margin: 0 auto; }
.section-dark { background: var(--night); color: #fff; }
.section-bg   { background: var(--bg); }
.section-white { background: #fff; }
.section-center { text-align: center; }

/* ---- Reveal animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---- Stats ---- */
.stat-number {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

/* ---- Footer ---- */
#searchmas-footer {
    background: #1F2937;
    padding: 60px 6% 28px;
    color: rgba(255,255,255,.45);
    font-size: 14px;
    position: relative;
}
#searchmas-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, #00F2FF, #CCFF00);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-tagline {
    margin-top: 1rem;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
}
.footer-social {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    font-weight: 700;
    font-size: 12px;
    color: rgba(255,255,255,.6);
    text-transform: lowercase;
    transition: color .2s, border-color .2s;
}
.social-link:hover { color: var(--teal); border-color: var(--teal); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ---- Marquee / Trust strip ---- */
.marquee-wrap { overflow: hidden; }
.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-track img { height: 40px; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---- Methodology steps ---- */
.method-step {
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    cursor: default;
    transition: border-color .25s;
}
.method-step:hover { border-color: var(--lime); }
.method-number {
    font-size: 40px;
    font-weight: 900;
    color: rgba(255,255,255,.12);
    line-height: 1;
    margin-bottom: .5rem;
}

/* ---- Industry tabs ---- */
.industry-tab {
    padding: .5rem 1.25rem;
    border-radius: 100px;
    border: 1.5px solid rgba(31,41,55,.15);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    background: transparent;
}
.industry-tab.active,
.industry-tab:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* ---- Contact form ---- */
.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
}
.form-field input,
.form-field select,
.form-field textarea {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }
.form-field select { color-scheme: dark; }
.form-field select option { background: var(--night); }
.form-field textarea { resize: vertical; min-height: 100px; }

/* ---- Dashboard mockup ---- */
.dashboard-mock {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.dash-domain { font-size: 12px; color: rgba(255,255,255,.4); }
.dash-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(204,255,0,.1);
    border: 1px solid rgba(204,255,0,.25);
    border-radius: 100px;
    padding: .3rem .75rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--lime);
}
.pulse-dot {
    width: 7px; height: 7px;
    background: var(--lime);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: .6; }
}
.dash-metric {
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
}
.dash-metric-label { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: .25rem; }
.dash-metric-val   { font-size: 28px; font-weight: 800; color: #fff; }
.dash-metric-val span { font-size: 13px; color: var(--lime); font-weight: 600; }

/* ---- Mini bar chart ---- */
.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-top: .5rem;
}
.mini-bar {
    flex: 1;
    background: rgba(0,242,255,.25);
    border-radius: 3px 3px 0 0;
    transition: background .3s;
}
.mini-bar.active { background: var(--teal); }

/* ---- Hero background (shared across inner pages) ---- */
.sm-hero-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg,#dde8f5 0%,#eaf0fa 35%,#f0f4f8 60%,#e8f0f5 100%);
}
.sm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    pointer-events: none;
}
.sm-b1 { width:520px;height:520px;background:rgba(0,242,255,.22);top:-10%;left:-8%;animation:bgFloat 14s ease-in-out infinite; }
.sm-b2 { width:420px;height:420px;background:rgba(204,255,0,.18);top:40%;right:-6%;animation:bgFloat 10s ease-in-out infinite reverse; }
.sm-b3 { width:340px;height:340px;background:rgba(26,34,53,.08);bottom:5%;left:35%;animation:bgFloat 12s ease-in-out infinite 3s; }
.sm-gridlines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px),
                      linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px);
    background-size: 96px 96px;
    pointer-events: none;
}
.sm-pin {
    position: absolute;
    width: 15px; height: 15px;
    animation: pinBlink var(--db,3s) ease-in-out infinite var(--dd,0s);
    pointer-events: none;
    transform-origin: bottom center;
}
@keyframes bgFloat {
    0%,100% { transform:translate(0,0) scale(1); }
    50%      { transform:translate(28px,18px) scale(1.07); }
}
@keyframes pinBlink {
    0%,100% { opacity:0; transform:scale(.5); }
    50%      { opacity:1; transform:scale(1); }
}

/* ---- Hero pill badge ---- */
.sm-pill-wrap { display:flex; justify-content:center; margin-bottom:1.75rem; }
.sm-pill {
    display:inline-flex; align-items:center; gap:.6rem;
    background:rgba(255,255,255,.85);
    border:none;
    border-radius:100px;
    padding:.6rem 1.6rem;
    font-size:15px; font-weight:600; color:#1F2937;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
    position:relative;
}
.sm-pill::before {
    content:'';
    position:absolute; inset:0;
    border-radius:100px;
    padding:1.5px;
    background:linear-gradient(90deg,#00F2FF,#CCFF00);
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
}
.sm-pill-dot {
    width:7px; height:7px; border-radius:50%; background:#CCFF00;
    animation:pulseDot 1.5s ease-in-out infinite;
}

/* ---- Hero heading ---- */
.sm-heading {
    font-size: 70px;
    font-weight: 400;
    letter-spacing: -2.5px;
    line-height: 1.1;
    color: #1F2937;
    text-align: center;
    margin: 0 auto 2.5rem;
    max-width: 960px;
}
.sm-word {
    display: inline-block;
    animation: wordIn .55s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--i) * 120ms);
}
.sm-h-bold   { font-weight: 800; }
.sm-h-reg    { font-weight: 400; }
.sm-h-italic { font-weight: 200; font-style: italic; }
@keyframes wordIn {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:none; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .navbar-links, .navbar-ctas { display: none; }
    .navbar-hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .section { padding: 64px 5%; }
    .headline-xl { letter-spacing: -1.5px; }
}
@media (max-width: 480px) {
    .navbar-inner { padding: 0 4%; }
}

/* ============================================================
   Floating pill header — inner pages (#searchmas-header)
   ============================================================ */
#searchmas-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99;
    padding: 14px 16px;
    pointer-events: none;
}
.smas-inner {
    max-width: 1300px;
    margin: 0 auto;
    pointer-events: auto;
}
.smas-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.83);
    border-radius: 100px;
    padding: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}
.smas-pill::before { display: none; }
/* Logo: 13% del pill, mín 100px, máx 169px */
.smas-logo {
    flex-shrink: 0;
    width: 13%;
    min-width: 100px;
    max-width: 169px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.smas-logo-img { width: 100%; height: auto; display: block; }
.smas-nav { flex: 1; display: flex; justify-content: center; }
.smas-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    margin: 0; padding: 0;
}
.smas-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #4D4D4D;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}
.smas-nav a:hover { color: #1F2937; }

/* ── IA badge & mark (global) ── */
.ia-badge {
    background: linear-gradient(135deg, #00F2FF 0%, #CCFF00 100%);
    color: #111827 !important;
    font-weight: 800;
    font-size: .92em;
    font-style: normal;
    border-radius: .22em;
    padding: .02em .22em .06em;
    vertical-align: baseline;
    letter-spacing: -.02em;
    -webkit-text-fill-color: #111827;
    display: inline-block;
    line-height: 1;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.ia-mark {
    background: linear-gradient(135deg, #00F2FF 0%, #CCFF00 100%);
    color: #111827 !important;
    font-weight: 800;
    font-style: normal;
    border-radius: .22em;
    padding: .02em .18em .06em;
    -webkit-text-fill-color: #111827;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* In feature cards the legacy templates rendered a more prominent pill. */
.tp-cap-top .ia-badge {
    font-size: .78rem;
    line-height: 1;
    padding: .34rem .52rem .38rem;
    border-radius: 999px;
    letter-spacing: 0;
}

/* ── Dropdown Soluciones ── */
.smas-has-drop { position: relative; display: inline-flex; align-items: center; gap: .15rem; }
.smas-drop-link {
    font-size: 16px; font-weight: 500; color: #4D4D4D;
    text-decoration: none; white-space: nowrap; transition: color .2s;
}
.smas-drop-link:hover,
.smas-has-drop:hover .smas-drop-link { color: #1F2937; }
.smas-drop-trigger {
    display: inline-flex; align-items: center;
    background: none !important; border: none; padding: 2px 0 0; cursor: pointer;
    color: #4D4D4D; transition: color .2s; font-family: inherit;
    box-shadow: none !important; outline: none; flex-shrink: 0;
}
.smas-drop-trigger:hover,
.smas-drop-trigger:focus,
.smas-has-drop:hover .smas-drop-trigger { color: #1F2937; background: none !important; box-shadow: none !important; }
.smas-drop-chevron { transition: transform .2s; flex-shrink: 0; }
.smas-has-drop:hover .smas-drop-chevron,
.smas-has-drop.is-open .smas-drop-chevron { transform: rotate(180deg); }

/* Puente invisible que cubre el gap entre trigger y dropdown para que hover no se corte */
.smas-has-drop::after {
    content: ''; position: absolute;
    top: 100%; left: -20px; right: -20px; height: 18px;
    display: none;
}
.smas-has-drop:hover::after { display: block; }

.smas-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%; transform: translateX(-50%) translateY(-6px);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    padding: 10px; min-width: 268px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 200;
}
.smas-has-drop:hover .smas-dropdown,
.smas-has-drop.is-open .smas-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.smas-dropdown::before {
    content: ''; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 11px; height: 11px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid rgba(0,0,0,.08);
    border-left: 1px solid rgba(0,0,0,.08);
    border-radius: 2px 0 0 0;
}
.smas-drop-featured {
    display: block; padding: 10px 14px; border-radius: 10px;
    background: linear-gradient(135deg,#f0f4ff 0%,#f5f9f5 100%);
    font-size: 14px; font-weight: 700; color: #1F2937;
    text-decoration: none; margin-bottom: 6px;
    transition: background .2s;
    border: 1px solid rgba(0,0,0,.05);
}
.smas-drop-featured:hover { background: linear-gradient(135deg,#e6edff 0%,#edf5ed 100%); color: #1F2937; }
.smas-drop-label {
    display: block; font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: #9CA3AF; padding: 6px 14px 3px;
}
.smas-dropdown a:not(.smas-drop-featured) {
    display: block; padding: 7px 14px; border-radius: 8px;
    font-size: 13.5px; font-weight: 500; color: #4D4D4D;
    text-decoration: none; transition: background .15s, color .15s;
}
.smas-dropdown a:not(.smas-drop-featured):hover { background: rgba(0,0,0,.04); color: #1F2937; }
.smas-drop-divider { height: 1px; background: rgba(0,0,0,.06); margin: 6px 0; }

/* Mobile accordion submenu */
.smas-mob-drop-row {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.smas-mob-drop-row a {
    flex: 1; display: block;
    font-size: 22px; font-weight: 600; color: rgba(255,255,255,.85);
    text-decoration: none; padding: 1rem 0;
    transition: color .2s; border-bottom: none !important;
}
.smas-mob-drop-row a:hover { color: #CCFF00; }
.smas-mob-chevron-btn {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,.6); padding: 8px; flex-shrink: 0;
    transition: color .2s, transform .2s;
}
.smas-mob-chevron-btn:hover { color: #CCFF00; }
.smas-mob-chevron-btn.is-open { transform: rotate(180deg); color: #CCFF00; }
.smas-mob-chevron-btn:focus,
.smas-mob-chevron-btn:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}
.smas-mob-submenu {
    list-style: none; margin: 0; padding: 0 0 .5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.smas-mob-submenu[hidden] { display: none !important; }
.smas-mob-submenu li { border-bottom: none !important; }
.smas-mob-submenu a {
    display: block; font-size: 15px !important; font-weight: 500;
    color: rgba(255,255,255,.6); text-decoration: none;
    padding: .55rem 0 !important; transition: color .2s;
}
.smas-mob-submenu a:hover { color: #CCFF00; }
.smas-mob-sub-label {
    display: block; font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: rgba(255,255,255,.25); padding: .6rem 0 .2rem;
}

.smas-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 6px;
}
/* ── Scroll indicator (compartido entre páginas) ── */
.ns-scroll-ind {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    margin-top: 3rem;
    color: rgba(31,41,55,.3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(7px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center;
    opacity: .75;
    animation: heroScrollBounce 2s ease-in-out infinite;
    z-index: 2;
}
.hero-scroll-indicator svg { display: block; }
@keyframes heroScrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: .75; }
    50%      { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

.smas-btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    background: transparent;
    border: 1px solid #1F2937;
    border-radius: 50px;
    padding: 9px 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow .2s;
}
.smas-btn-ghost:hover { box-shadow: 0 0 10px rgba(0,242,255,.35); color: #1F2937; }
.smas-btn-lime,
button.smas-btn-lime {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #1F2937 !important;
    background: #CCFF00 !important;
    border: 1px solid #CCFF00 !important;
    border-radius: 50px;
    padding: 9px 20px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: box-shadow .2s;
}
.smas-btn-lime:hover,
button.smas-btn-lime:hover { box-shadow: 0 0 10px #CCFF00; color: #1F2937 !important; background: #CCFF00 !important; }
.smas-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 6px;
    flex-shrink: 0;
}
.smas-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #1F2937;
    border-radius: 2px;
    transition: .3s;
}
/* Off-canvas mobile menu */
.smas-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1F2937;
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0 1.75rem 2.5rem;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;
    transform: translateX(5%);
    transition: opacity .25s ease, transform .25s ease;
}
.smas-mobile.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}
/* Blob teal — arriba izquierda */
.smas-mobile::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    background: radial-gradient(circle, rgba(0,242,255,.18) 0%, transparent 70%);
    top: -120px; left: -120px;
    z-index: 0;
}
/* Blob lime — abajo derecha */
.smas-mobile::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    background: radial-gradient(circle, rgba(204,255,0,.14) 0%, transparent 70%);
    bottom: -80px; right: -80px;
    z-index: 0;
}
.smas-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 2rem;
    flex-shrink: 0;
    position: relative; z-index: 1;
}
.smas-mobile-logo img { display: block; }
.smas-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.smas-mobile-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.smas-mobile-nav { position: relative; z-index: 1; }
.smas-mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0; padding: 0;
}
.smas-mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.smas-mobile-nav a {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: 1rem 0;
    transition: color .2s;
}
.smas-mobile-nav a:hover { color: #CCFF00; }
.smas-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    font-size: 15px;
    position: relative; z-index: 1;
}
@media (max-width: 860px) {
    .smas-nav, .smas-ctas { display: none; }
    .smas-hamburger { display: flex; margin-left: auto; }
    .smas-pill { border-radius: 50px; justify-content: space-between; }
    .smas-logo { min-width: 130px; width: 140px; }
}
@media (max-width: 480px) {
    .smas-mobile { top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
}

/* Ocultar el header entero mientras el menú off-canvas está abierto */
body.nav-open #searchmas-header {
    visibility: hidden;
}

/* Anular wrappers y restricciones de ancho de Astra en páginas internas */
body:not(.home) #page,
body:not(.home) #content,
body:not(.home) .site-content,
body:not(.home) .ast-container,
body:not(.home) .entry-content,
body:not(.home) .entry-header {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
body.ast-plain-container {
    max-width: none !important;
    width: 100% !important;
}

/* ── Language switcher (minimal ES | EN) ── */
.smas-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1;
    user-select: none;
}
.smas-lang-link {
    color: #6B7280;
    text-decoration: none;
    padding: 4px 2px;
    transition: color .15s ease;
}
.smas-lang-link:hover,
.smas-lang-link:focus-visible {
    color: #1F2937;
    text-decoration: none;
}
.smas-lang-link.is-current {
    color: #1F2937;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
}
.smas-lang-sep {
    color: rgba(31, 41, 55, .25);
    font-weight: 300;
}

/* Desktop variant: inline, alineado a los CTAs del header */
.smas-lang--desktop {
    margin-right: 6px;
}

/* Mobile variant: contenedor full width, centrado y separado del CTA */
.smas-lang--mobile {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 12px;
    padding: 8px 0;
    font-size: 14px;
}
.smas-lang--mobile .smas-lang-link {
    color: rgba(255, 255, 255, .7);
    padding: 4px 6px;
}
.smas-lang--mobile .smas-lang-link:hover,
.smas-lang--mobile .smas-lang-link:focus-visible {
    color: #CCFF00;
}
.smas-lang--mobile .smas-lang-link.is-current {
    color: #fff;
    font-weight: 700;
}
.smas-lang--mobile .smas-lang-sep {
    color: rgba(255, 255, 255, .2);
}

/* En tablets/mobile (cuando aparece el hamburger), ocultar la versión desktop */
@media (max-width: 900px) {
    .smas-lang--desktop {
        display: none;
    }
}


/* css whatsapp personalizado */

.whatsapp-form-button:hover {
  background-color: #ccff00;
  box-shadow: 0 0 10px #CCFF00;
}
.whatsapp-form-button:hover svg{
  transition: color 500ms;
  color: black;
}

/* Reset focus styles — the plugin calls .focus() on the button after closing
   the popup, leaving the browser's :focus ring active. We neutralise any
   colour/outline change so the button always returns to its resting state.
   :not(:hover) ensures the lime hover style still takes priority on mouseover. */
.whatsapp-form-button:focus:not(:hover),
.whatsapp-form-button:focus-visible:not(:hover) {
  background-color: #25D366;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.whatsapp-form-button:focus:not(:hover) svg,
.whatsapp-form-button:focus-visible:not(:hover) svg {
  color: white;
}

.iti__selected-country {
  transform: translateY(0) !important;
}