/*
Theme Name: Hives Bio
Theme URI: https://hives.es
Description: Tema hijo de GeneratePress para la web corporativa de Hives Bio, S.L.
Author: Hives Bio, S.L.
Template: generatepress
Version: 1.0.0
Text Domain: hives
*/

@font-face{font-family:"Fraunces";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations")}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations")}

:root{
  --hb-cream:#FAF7F0; --hb-sand:#EFE8DA; --hb-line:#E6DFD0; --hb-line2:#D6CCB6;
  --hb-green:#1D2A22; --hb-green-deep:#141D17; --hb-text:#1D2A22; --hb-muted:#3E4C43; --hb-soft:#5C6A61;
  --hb-honey:#E89A2C; --hb-honey-text:#8A4B06; --hb-honey-light:#F2B455;
  --hb-serif:"Fraunces",Georgia,serif; --hb-sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --hb-wrap:1240px; --hb-radius:14px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--hb-cream);color:var(--hb-text);font-family:var(--hb-sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--hb-honey-text)}
a:hover{color:#5E3304}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--hb-honey);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--hb-serif);font-weight:500;line-height:1.15;margin:0 0 .6em;color:inherit}
h1{font-size:clamp(36px,4.6vw,58px);line-height:1.05}
h2{font-size:clamp(28px,3.2vw,40px);margin-bottom:.5em}
h3{font-size:clamp(22px,2.2vw,27px);line-height:1.2}
h4{font-size:20px}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.2em}
li{margin-bottom:.35em}
strong{font-weight:600}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;width:auto;height:auto;clip:auto;background:#fff;padding:10px 16px;border-radius:8px}

/* ---------- Cabecera ---------- */
.hb-header{background:var(--hb-cream);border-bottom:1px solid var(--hb-line);position:sticky;top:0;z-index:50}
.admin-bar .hb-header{top:32px}
.hb-header__in{max-width:var(--hb-wrap);margin:0 auto;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hb-logo img{height:64px;width:auto}
.hb-nav{display:flex;align-items:center;gap:22px}
.hb-menu,.hb-menu ul{list-style:none;margin:0;padding:0}
.hb-menu{display:flex;flex-wrap:wrap;gap:4px 20px}
.hb-menu>li{position:relative;margin:0}
.hb-menu a{color:var(--hb-text);text-decoration:none;font-size:15px;font-weight:500;display:inline-block;padding:10px 0}
.hb-menu a:hover,.hb-menu .current-menu-item>a,.hb-menu .current-menu-ancestor>a{color:var(--hb-honey-text)}
.hb-menu .sub-menu{position:absolute;left:-16px;top:100%;min-width:250px;background:#fff;border:1px solid var(--hb-line);border-radius:12px;padding:8px 0;box-shadow:0 12px 30px rgba(29,42,34,.12);opacity:0;visibility:hidden;transform:translateY(4px);transition:none;z-index:100}
.hb-menu li:hover>.sub-menu,.hb-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none;transition:opacity .12s,transform .12s}
.hb-menu .sub-menu a{display:block;padding:8px 18px;font-size:14px}
.hb-actions{display:flex;align-items:center;gap:14px}
.hb-lang{position:relative}
.hb-lang__btn{display:flex;align-items:center;gap:6px;background:none;border:1px solid var(--hb-line);border-radius:999px;padding:7px 12px;font:inherit;font-size:14px;font-weight:600;color:var(--hb-text);cursor:pointer}
.hb-lang__btn:hover{border-color:#B9AE97}
.hb-lang__list{position:absolute;right:0;top:calc(100% + 8px);min-width:160px;list-style:none;margin:0;padding:6px 0;background:#fff;border:1px solid var(--hb-line);border-radius:12px;box-shadow:0 12px 30px rgba(29,42,34,.12);display:none;z-index:120}
.hb-lang.is-open .hb-lang__list,.hb-lang:focus-within .hb-lang__list{display:block}
.hb-lang__list li{margin:0}
.hb-lang__list a{display:block;padding:8px 16px;font-size:14px;color:var(--hb-text);text-decoration:none;text-align:left}
.hb-lang__list a:hover{background:var(--hb-sand)}
.hb-lang__list .current-lang a{font-weight:600;color:var(--hb-honey-text)}
[dir="rtl"] .hb-lang__list{right:auto;left:0}
[dir="rtl"] .hb-lang__list a{text-align:right}
.hb-toggle{display:none;background:none;border:1px solid var(--hb-line2);border-radius:10px;min-width:44px;min-height:44px;cursor:pointer;color:var(--hb-text)}

/* ---------- Botones ---------- */
.hb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 26px;border-radius:999px;background:var(--hb-green);color:var(--hb-cream);text-decoration:none;font-weight:600;font-size:16px;border:1.5px solid var(--hb-green);line-height:1.2;cursor:pointer;font-family:inherit}
.hb-btn:hover{background:#2C3D32;color:#fff}
.hb-btn--accent{background:var(--hb-honey);border-color:var(--hb-honey);color:var(--hb-green)}
.hb-btn--accent:hover{background:#F0AA45;color:var(--hb-green)}
.hb-btn--ghost{background:transparent;color:var(--hb-green)}
.hb-btn--ghost:hover{background:var(--hb-green);color:var(--hb-cream)}
.hb-btn--light{background:transparent;border-color:#fff;color:#fff}
.hb-btn--light:hover{background:#fff;color:var(--hb-green)}
.hb-btn--sm{min-height:44px;padding:10px 20px;font-size:15px}
.hb-btns{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:8px 0 0}
.hb-link{font-weight:600;text-decoration:none}
.hb-link:hover{text-decoration:underline}
.hb-note{display:block;font-size:13px;color:var(--hb-soft);margin-top:6px}

/* ---------- Secciones ---------- */
.hb-content{display:block}
.hb-section{padding:64px 0}
.hb-section--tight{padding:44px 0}
.hb-section--alt{background:var(--hb-sand)}
.hb-section--white{background:#fff;border-top:1px solid var(--hb-line)}
.hb-section--dark{background:var(--hb-green);color:var(--hb-cream)}
.hb-section--dark p,.hb-section--dark li{color:#D6DCD7}
.hb-section--dark a:not(.hb-btn){color:var(--hb-honey-light)}
.hb-wrap{max-width:var(--hb-wrap);margin:0 auto;padding:0 32px}
.hb-narrow{max-width:820px}
.hb-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 40px;margin-bottom:40px}
.hb-head h2{margin:0}
.hb-head p{margin:0;max-width:480px;color:var(--hb-muted)}
.hb-lead{font-size:20px;color:var(--hb-muted);max-width:720px}
.hb-eyebrow{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--hb-honey-text);margin:0 0 14px}

/* Cabecera de página */
.hb-pagehead{padding:56px 0 40px;border-bottom:1px solid var(--hb-line)}
.hb-pagehead h1{margin-bottom:.35em}
.hb-pagehead .hb-lead{margin-bottom:0}
.hb-pagehead h1{max-width:900px}
.hb-pagehead--photo{position:relative;background:var(--hb-green);color:#fff;border:0;overflow:hidden;padding:130px 0 100px}
.hb-pagehead--photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.hb-pagehead--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,29,23,.72) 0%,rgba(20,29,23,.35) 65%,rgba(20,29,23,.15) 100%)}
.hb-pagehead--photo{padding:100px 0 76px}
.hb-pagehead--photo .hb-wrap{position:relative;z-index:1}
.hb-pagehead--photo .hb-lead{color:#F4EFE4}
.hb-pagehead--photo .hb-eyebrow{color:#FFE7B8}

/* Portada */
.hb-hero{position:relative;background:var(--hb-green);color:#fff;overflow:hidden}
.hb-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}
.hb-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,29,23,.55) 0%,rgba(20,29,23,.15) 70%)}
.hb-hero .hb-wrap{position:relative;z-index:1;padding-top:150px;padding-bottom:130px}
.hb-hero h1{max-width:820px}
.hb-hero .hb-lead{color:#F4EFE4;max-width:640px}
.hb-hero .hb-eyebrow{color:#FFE7B8}

/* Rejillas y tarjetas */
.hb-grid{display:grid;gap:28px}
.hb-grid--2{grid-template-columns:repeat(auto-fit,minmax(max(340px,calc((100% - 28px)/2)),1fr))}
.hb-grid--3{grid-template-columns:repeat(auto-fit,minmax(max(270px,calc((100% - 56px)/3)),1fr))}
.hb-grid--4{grid-template-columns:repeat(auto-fit,minmax(max(230px,calc((100% - 84px)/4)),1fr))}
.hb-grid--5{grid-template-columns:repeat(auto-fit,minmax(max(200px,calc((100% - 112px)/5)),1fr))}
@media (max-width:640px){.hb-grid--2,.hb-grid--3,.hb-grid--4,.hb-grid--5{grid-template-columns:1fr}}
.hb-pillar{border-top:2px solid var(--hb-green);padding-top:22px;display:flex;flex-direction:column;height:100%}
.hb-pillar>.hb-link:last-child{margin-top:auto;padding-top:6px}
.hb-pillar p{color:var(--hb-muted)}
.hb-section--dark .hb-pillar p{color:#D6DCD7}
.hb-section--dark .hb-pillar{border-color:var(--hb-honey-light)}
.hb-card{background:#fff;border:1px solid var(--hb-line);border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:8px}
.hb-card h3{margin:0}
.hb-card p{color:var(--hb-muted);font-size:16px;margin:0}
.hb-card .hb-btns,.hb-card>.hb-link{margin-top:auto;padding-top:10px}
.hb-section--alt .hb-card{background:var(--hb-cream);border-color:transparent}
.hb-card--brand{padding:0;overflow:hidden}
.hb-card--brand .hb-card__media{height:210px;background:#F1EBDD;display:flex;align-items:center;justify-content:center;padding:24px}
.hb-card--brand .hb-card__media img{max-height:120px;max-width:80%;object-fit:contain}
.hb-card--brand .hb-card__media--photo{padding:0}
.hb-card--brand .hb-card__media--photo img{max-height:none;max-width:none;width:100%;height:100%;object-fit:cover}
.hb-card--brand .hb-card__body{padding:22px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.hb-seal{height:64px;display:flex;align-items:center}
.hb-seal img{height:64px;width:auto}
.hb-placeholder{border:1.5px dashed #9AA79E;border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;color:#4A5A4F;padding:12px;min-height:64px}
.hb-section--dark .hb-placeholder{border-color:#7F8E84;color:#C9D1CB}
.hb-media{border-radius:14px;overflow:hidden}
.hb-media img{width:100%;height:100%;object-fit:cover}
.hb-media--contain{background:#fff;display:flex;align-items:center;justify-content:center;padding:24px}
.hb-media--contain img{object-fit:contain}
.hb-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:56px;align-items:center}

.hb-team .hb-card{display:grid;grid-template-columns:200px 1fr;grid-template-rows:auto auto 1fr;column-gap:28px;row-gap:6px;align-items:start}
.hb-team .hb-card>*{grid-column:2}
.hb-team .hb-team__photo{grid-column:1;grid-row:1 / span 3;width:200px;aspect-ratio:4/5;height:auto;min-height:0;border-radius:12px;overflow:hidden;background:var(--hb-sand);font-size:12px}
.hb-team__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
@media (max-width:640px){.hb-team .hb-card{grid-template-columns:1fr}.hb-team .hb-card>*,.hb-team .hb-team__photo{grid-column:1;grid-row:auto}.hb-team .hb-team__photo{width:100%;max-width:320px}}

/* Filas de tarjetas: mismo alto de título y texto, enlaces abajo y en una línea */
.hb-grid{align-items:stretch}
.hb-card>.hb-link,.hb-card__body>.hb-link:first-of-type{margin-top:auto;padding-top:12px}
.hb-card .hb-link{white-space:nowrap}
.hb-card>.hb-link+.hb-link,.hb-card__body>.hb-link+.hb-link{margin-top:0;padding-top:0}
.hb-grid--5 .hb-card h3,.hb-grid--5 .hb-card__body h3{font-size:22px;line-height:1.2}
.hb-grid--5 .hb-card:not(.hb-card--brand){padding:24px}

.hb-card__foot{margin-top:auto;padding-top:14px;display:flex;flex-direction:column;gap:6px}
.hb-card__foot .hb-link{padding-top:0;margin-top:0}
.hb-card__foot .hb-note{margin-top:4px;min-height:2.8em;line-height:1.4}

.hb-ico{display:inline-flex;flex:0 0 auto;width:20px;height:20px;color:var(--hb-honey-text)}
.hb-ico svg{width:100%;height:100%}
.hb-ico-row{display:flex;align-items:flex-start;gap:12px}
.hb-ico-row .hb-ico{margin-top:.15em}
.hb-footer .hb-ico{width:18px;height:18px;color:var(--hb-honey-light)}
.hb-footer .hb-ico-row{gap:10px}
.hb-contact-box .hb-ico{width:22px;height:22px}

.hb-legal h2{font-size:26px;margin:2em 0 .6em}
.hb-legal h2:first-child{margin-top:0}
.hb-legal .hb-table-wrap{margin:1em 0 1.5em}
.hb-legal .hb-table{font-size:15px}
.hb-legal li{margin-bottom:.5em}

/* Pasos */
.hb-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px;list-style:none;padding:0;margin:0;counter-reset:paso}
.hb-steps>li{margin:0;display:flex;flex-direction:column;gap:12px}
.hb-steps .hb-num{font-family:var(--hb-serif);font-size:18px;color:var(--hb-honey-text)}
.hb-section--dark .hb-steps .hb-num{color:var(--hb-honey-light)}
.hb-steps .hb-step-media{height:200px;border-radius:12px;overflow:hidden}
.hb-steps .hb-step-media img{width:100%;height:100%;object-fit:cover}
.hb-steps .hb-step-media.hb-placeholder{border-radius:12px}

/* Línea de tiempo */
.hb-timeline{list-style:none;padding:0;margin:0;border-left:2px solid var(--hb-line2)}
.hb-timeline li{position:relative;padding:0 0 32px 32px;margin:0}
.hb-timeline li::before{content:"";position:absolute;left:-8px;top:8px;width:14px;height:14px;border-radius:50%;background:var(--hb-honey);border:2px solid var(--hb-cream)}
.hb-timeline .hb-year{font-family:var(--hb-serif);font-size:28px;line-height:1;display:block;margin-bottom:6px}

/* Tablas */
.hb-table-wrap{overflow-x:auto;margin:0 0 1.5em;border:1px solid var(--hb-line);border-radius:14px;background:#fff}
.hb-table{width:100%;border-collapse:collapse;font-size:16px}
.hb-table th,.hb-table td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--hb-line);vertical-align:top}
.hb-table thead th{background:var(--hb-sand);font-weight:600;font-size:14px;letter-spacing:.02em}
.hb-table tr:last-child td{border-bottom:0}
.hb-table td:first-child{font-weight:600}

/* Listas */
.hb-list{list-style:none;padding:0;margin:0}
.hb-list>li{padding:13px 0;border-bottom:1px solid var(--hb-line2);margin:0}
.hb-checks{list-style:none;padding:0}
.hb-checks li{position:relative;padding-left:30px}
.hb-checks li::before{content:"";position:absolute;left:2px;top:.55em;width:14px;height:8px;border-left:2px solid var(--hb-honey-text);border-bottom:2px solid var(--hb-honey-text);transform:rotate(-45deg)}
.hb-section--dark .hb-checks li::before{border-color:var(--hb-honey-light)}
.hb-countries{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.hb-countries li{margin:0;background:#fff;border:1px solid var(--hb-line);border-radius:12px;padding:14px 16px;font-weight:500;font-size:15px}

/* Marcas de trabajo */
.hb-confirmar{background:#FFF2C2;color:#6B4A00;border-radius:4px;padding:0 4px;font-size:.9em}
.hb-callout{background:#fff;border:1px solid var(--hb-line);border-left:0;border-radius:14px;padding:22px 26px}
.hb-legal-small{font-size:14px;color:var(--hb-soft)}

/* Novedades */
.hb-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
@media (max-width:900px){.hb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hb-posts{grid-template-columns:1fr}}
.hb-post{display:flex;flex-direction:column;gap:10px}
.hb-post__img{height:210px;border-radius:12px;overflow:hidden;background:var(--hb-sand)}
.hb-post__img img{width:100%;height:100%;object-fit:cover}
.hb-post__cat{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hb-honey-text)}
.hb-post h3{margin:0}
.hb-post h3 a{color:var(--hb-text);text-decoration:none}
.hb-post h3 a:hover{color:var(--hb-honey-text)}
.hb-post p{color:var(--hb-muted);font-size:16px;margin:0}
.hb-filters{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0 0 40px}
.hb-filters li{margin:0}
.hb-filters a{display:inline-flex;min-height:44px;align-items:center;padding:8px 18px;border:1px solid var(--hb-line2);border-radius:999px;text-decoration:none;color:var(--hb-text);font-size:15px}
.hb-filters .is-current a,.hb-filters a:hover{background:var(--hb-green);color:var(--hb-cream);border-color:var(--hb-green)}
.hb-article{max-width:780px;margin:0 auto}
.hb-article__meta{color:var(--hb-soft);font-size:15px;margin-bottom:24px}
.hb-article__img{border-radius:14px;overflow:hidden;margin:0 0 32px;background:var(--hb-sand);max-height:440px;display:flex;align-items:center;justify-content:center}
.hb-article__img img{max-height:440px;width:auto;max-width:100%;object-fit:contain}
.hb-pagination{margin-top:48px;display:flex;gap:10px}
.hb-pagination .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--hb-line2);border-radius:10px;text-decoration:none;color:var(--hb-text)}
.hb-pagination .current{background:var(--hb-green);color:#fff}

/* Tarjetas de tienda: misma estructura y botones alineados */
.hb-shops{align-items:stretch}
.hb-shop{padding:24px;gap:6px}
.hb-shop .hb-eyebrow{margin:0}
.hb-shop h3{font-size:20px;line-height:1.25;margin:4px 0 0}
.hb-shop p{font-size:15px;margin:0}
.hb-shop .hb-eyebrow{font-size:11px}
.hb-shop .hb-btn{padding:10px 16px;font-size:14px;white-space:nowrap;max-width:100%}
@media (max-width:760px){.hb-shop h3{min-height:0}.hb-shop .hb-shop__note{height:auto}}
.hb-shop .hb-shop__note{font-size:13px;line-height:1.45;color:var(--hb-soft);margin-top:auto;padding-top:10px;min-height:4.35em;box-sizing:content-box}
.hb-shop .hb-btns{margin-top:10px;padding-top:0}
.hb-card .hb-btns{margin-top:auto}

/* Contacto */
.hb-contact-box{display:flex;flex-direction:column;gap:6px}
.hb-form-pending{background:#fff;border:1.5px dashed var(--hb-line2);border-radius:14px;padding:26px}

/* Formulario (Fluent Forms) */
.hb-content .fluentform .ff-el-group{margin-bottom:18px}
.hb-content .fluentform .ff-el-input--label label{font-size:14px;font-weight:500;color:var(--hb-text)}
.hb-content .fluentform .ff-el-form-control{min-height:46px;border:1px solid #C9C1AF;border-radius:10px;padding:10px 14px;font-size:16px;font-family:inherit;background:#fff;color:var(--hb-text)}
.hb-content .fluentform textarea.ff-el-form-control{min-height:130px}
.hb-content .fluentform .ff-el-form-control:focus{border-color:var(--hb-green);box-shadow:0 0 0 3px rgba(232,154,44,.35)}
.hb-content .fluentform .ff-el-tc label,.hb-content .fluentform .ff-el-form-check label{font-size:14px;color:var(--hb-muted);line-height:1.5}
.hb-content .fluentform .ff-btn-submit{border-radius:999px!important;padding:13px 32px!important;font-weight:600!important;font-size:16px!important;min-height:46px;font-family:inherit}
.hb-content .fluentform .ff-btn-submit:hover{opacity:.9}
.hb-content .ff-message-success{background:#fff;border:1px solid var(--hb-line);border-radius:14px;padding:22px 26px;box-shadow:none}
.hb-content .fluentform .error{font-size:13px;color:#A1261A}

/* Pie */
.hb-footer{background:var(--hb-green-deep);color:#C9D1CB;font-size:15px;line-height:1.5}
.hb-footer__in{max-width:var(--hb-wrap);margin:0 auto;padding:64px 32px 48px;display:grid;grid-template-columns:1.25fr .9fr .9fr 1.25fr;gap:40px;align-items:start}
.hb-footer__title{display:block;color:var(--hb-cream);font-size:16px;font-weight:600;line-height:1.5;margin:0 0 16px}
.hb-footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.hb-footer li{margin:0;line-height:1.5;min-height:22.5px}
.hb-footer ul{gap:12px}
.hb-footer a{color:#C9D1CB;text-decoration:none}
.hb-footer a:hover{color:#fff;text-decoration:underline}
.hb-footer__base-in{max-width:var(--hb-wrap);margin:0 auto;padding:0 32px}
.hb-footer__base-in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:22px;padding-bottom:40px;position:relative}
.hb-footer__base-in::before{content:"";position:absolute;top:0;left:32px;right:32px;border-top:1px solid #2A362E}
.hb-footer .hb-footer__legal{flex-direction:row;flex-wrap:wrap;gap:10px 24px}

/* Móvil */
@media (max-width:1080px){
  .hb-toggle{display:inline-flex;align-items:center;justify-content:center}
  .hb-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--hb-cream);border-bottom:1px solid var(--hb-line);padding:12px 32px 24px;flex-direction:column;align-items:flex-start}
  .hb-header.is-open .hb-nav{display:flex}
  .hb-menu{flex-direction:column;gap:0;width:100%}
  .hb-menu a{padding:10px 0}
  .hb-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;background:none;padding:0 0 6px 16px;min-width:0}
  .hb-menu .sub-menu a{padding:6px 0}
}
@media (max-width:900px){.hb-footer__in{grid-template-columns:1fr 1fr}}
@media (max-width:640px){
  .hb-footer__in{grid-template-columns:1fr;gap:32px}
  .hb-footer__title--blank{display:none}
  .hb-footer__col:has(.hb-footer__title--blank){margin-top:-20px}
  body{font-size:16px}
  .hb-wrap,.hb-header__in,.hb-footer__in,.hb-footer__base-in{padding-left:20px;padding-right:20px}
  .hb-footer__base-in::before{left:20px;right:20px}
  .hb-section{padding:44px 0}
  .hb-hero .hb-wrap{padding-top:96px;padding-bottom:84px}
  .hb-pagehead{padding:40px 0 30px}
  .hb-grid--2,.hb-split{grid-template-columns:1fr}
  .hb-logo img{height:46px}
  .hb-actions .hb-btn{display:none}
}

/* Árabe (darija) */
[dir="rtl"] .hb-timeline{border-left:0;border-right:2px solid var(--hb-line2)}
[dir="rtl"] .hb-timeline li{padding:0 32px 32px 0}
[dir="rtl"] .hb-timeline li::before{left:auto;right:-8px}
[dir="rtl"] .hb-checks li{padding-left:0;padding-right:30px}
[dir="rtl"] .hb-checks li::before{left:auto;right:2px}
[dir="rtl"] .hb-table th,[dir="rtl"] .hb-table td{text-align:right}
.hb-intro{margin:0 0 40px}.hb-intro h2{margin-top:0}
@media (max-width:640px){.hb-shop .hb-shop__note{min-height:0}}
/* Párrafos justificados (sin partir palabras); en móvil, alineados a la izquierda para evitar huecos */
main p,main li{text-align:justify;hyphens:none;-webkit-hyphens:none}
main .hb-eyebrow,main .hb-btns,main .hb-shop__note,main .hb-note,main .hb-filters li,main .hb-countries li,main .hb-ico-row,main td,main th,main .hb-card__foot,main .hb-card__foot p,main [style*="text-align:center"]{text-align:left}
@media (max-width:640px){main p,main li{text-align:left}}
.hb-btn{white-space:nowrap}
/* Darija (árabe, de derecha a izquierda) */
[dir="rtl"] body{font-family:"Noto Sans Arabic","Segoe UI","Geeza Pro",Tahoma,var(--hb-sans)}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4{font-family:"Noto Naskh Arabic","Traditional Arabic","Geeza Pro",Tahoma,var(--hb-serif);line-height:1.35}
[dir="rtl"] .hb-eyebrow{letter-spacing:0}
[dir="rtl"] main .hb-eyebrow,[dir="rtl"] main .hb-btns,[dir="rtl"] main .hb-shop__note,[dir="rtl"] main .hb-note,[dir="rtl"] main .hb-ico-row,[dir="rtl"] main td,[dir="rtl"] main th,[dir="rtl"] main .hb-card__foot,[dir="rtl"] main .hb-card__foot p{text-align:right}
[dir="rtl"] .hb-footer__base-in::before{left:32px;right:32px}
[dir="rtl"] .hb-hero::after,[dir="rtl"] .hb-pagehead--photo::after{transform:scaleX(-1)}
[dir="rtl"] .hb-ltr{direction:ltr;unicode-bidi:embed;display:inline-block}
[dir="rtl"] a[href^="tel:"],[dir="rtl"] a[href*="wa.me"],[dir="rtl"] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* RTL: nombres latinos sin partir */
.hb-nw{white-space:nowrap}
.hb-split>*{min-width:0}
.fluentform select.ff-el-form-control{max-width:100%;width:100%}
