/* ==========================================================================
   My Hosting Colombia — capa de marca
   Se carga despues de theme.css, por lo que sobrescribe al tema base.
   Paleta tomada del logo: azul royal + cian.
   ========================================================================== */

:root {
    --mhc-blue:        #1557d0;
    --mhc-blue-dark:   #0f3fa0;
    --mhc-blue-deep:   #0a2540;
    --mhc-cyan:        #29c5f6;
    --mhc-cyan-soft:   #d7f1fd;
    --mhc-ink:         #11223a;
    --mhc-body:        #4a5a70;
    --mhc-muted:       #7b8aa0;
    /* separadores suaves, para divisiones internas */
    --mhc-line:        #e3e9f2;
    /* borde de tarjeta: necesita mas contraste que --mhc-line para
       leerse sobre el fondo claro de la pagina */
    --mhc-border:      #b8c9e2;
    --mhc-bg:          #f6f9fd;
    --mhc-white:       #ffffff;
    --mhc-green:       #16a97a;
    --mhc-amber:       #f5a524;

    /* Macondo: el amarillo de las mariposas es el acento de marca.
       Por pedido explicito, la paleta no usa rojo. */
    --mhc-gold:        #f7c948;
    --mhc-gold-bright: #ffe066;
    --mhc-gold-deep:   #e8a317;
    --mhc-gold-soft:   #fff6dd;
    --mhc-violet:      #7b5cd6;
    --mhc-teal:        #0fa3a3;

    --mhc-grad:      linear-gradient(135deg, var(--mhc-blue) 0%, var(--mhc-cyan) 100%);
    --mhc-grad-deep: linear-gradient(135deg, #0a2540 0%, #123d7a 45%, #1557d0 100%);
    --mhc-grad-gold: linear-gradient(135deg, var(--mhc-gold-bright) 0%, var(--mhc-gold-deep) 100%);

    /* Rutas absolutas a proposito: esta hoja se importa desde el carrito
       (/templates/orderforms/mhc_cart/css/), y una ruta relativa dentro de
       una variable puede resolverse contra la hoja equivocada. */
    --mar-1: url("/templates/mhc/img/brand/mariposas/mariposa-1.png");
    --mar-2: url("/templates/mhc/img/brand/mariposas/mariposa-2.png");
    --mar-3: url("/templates/mhc/img/brand/mariposas/mariposa-3.png");
    --mar-4: url("/templates/mhc/img/brand/mariposas/mariposa-4.png");
    --mar-5: url("/templates/mhc/img/brand/mariposas/mariposa-5.png");
    --mhc-butterfly: var(--mar-4);

    --mhc-r-sm: 8px;
    --mhc-r:    14px;
    --mhc-r-lg: 22px;

    --mhc-sh-sm: 0 1px 2px rgba(10,37,64,.06), 0 2px 8px rgba(10,37,64,.05);
    --mhc-sh:    0 2px 6px rgba(10,37,64,.06), 0 12px 28px rgba(10,37,64,.08);
    --mhc-sh-lg: 0 8px 20px rgba(10,37,64,.08), 0 24px 60px rgba(10,37,64,.12);

    --mhc-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------- base --- */

body {
    background: var(--mhc-bg);
    color: var(--mhc-body);
    font-family: var(--mhc-font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
    color: var(--mhc-ink);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

a { color: var(--mhc-blue); }
a:hover { color: var(--mhc-blue-dark); }

:focus-visible {
    outline: 3px solid rgba(41,197,246,.55);
    outline-offset: 2px;
}

/* ------------------------------------------------------------- header --- */

.header { background: var(--mhc-white); }

.header .topbar {
    background: var(--mhc-blue-deep);
    color: rgba(255,255,255,.82);
    border: 0;
    font-size: 13px;
}
.header .topbar .btn,
.header .topbar .input-group-text,
.header .topbar .btn-active-client span { color: rgba(255,255,255,.88); }
.header .topbar .btn:hover { color: #fff; }
.header .topbar .active-client .btn { background: rgba(255,255,255,.08); border-color: transparent; }

/* Cabecera oscura en azules de marca. El logo pasa a la version de texto
   blanco en header.tpl: la oscura seria ilegible sobre este fondo. */
.header .navbar-light {
    background: linear-gradient(135deg, #0a2540 0%, #123d7a 100%);
    border-bottom: 0;
}
.header .navbar-light .navbar-brand { filter: none; }
.navbar-brand .logo-img,
.navbar-brand img { max-height: 42px; width: auto; }

.main-navbar-wrapper {
    background: #0e3163;
    border-bottom: 0;
    box-shadow: 0 4px 18px rgba(10,37,64,.22);
    padding-top: 0;
    padding-bottom: 0;
}
/* OJO: los enlaces del menu principal se renderizan como <a class="">, sin
   la clase .nav-link. Sin esta regla heredan el `a { color: azul }` general
   y quedan azul oscuro sobre azul oscuro, ilegibles. El selector usa el
   mismo nivel que el del tema (header.header .navbar-nav a). */
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .nav-link {
    color: rgba(255,255,255,.92);
    font-weight: 600;
    font-size: 14.5px;
    padding: 1rem .95rem;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .nav-link:hover {
    color: var(--mhc-gold-bright);
    background: rgba(255,255,255,.07);
    text-decoration: none;
}
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .nav-item.active > .nav-link {
    color: var(--mhc-gold-bright);
    border-bottom-color: var(--mhc-gold);
}
/* los enlaces dentro de los desplegables van sobre fondo claro */
header.header .main-navbar-wrapper .dropdown-menu a {
    color: var(--mhc-ink);
    padding: .5rem 1.25rem;
    display: block;
}
header.header .main-navbar-wrapper .dropdown-menu a:hover {
    background: var(--mhc-cyan-soft);
    color: var(--mhc-blue);
}
/* menus desplegables: fondo claro para que el contenido siga legible */
.main-navbar-wrapper .dropdown-menu {
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r-sm);
    box-shadow: var(--mhc-sh);
}
.main-navbar-wrapper .dropdown-item { color: var(--mhc-ink); font-size: 14.5px; }
.main-navbar-wrapper .dropdown-item:hover { background: var(--mhc-cyan-soft); color: var(--mhc-blue); }

/* buscador sobre fondo oscuro */
.header .search .form-control {
    border-radius: 0 999px 999px 0;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: #fff;
}
.header .search .form-control::placeholder { color: rgba(255,255,255,.55); }
.header .search .form-control:focus {
    background: rgba(255,255,255,.16);
    border-color: var(--mhc-gold);
    box-shadow: 0 0 0 3px rgba(247,201,72,.2);
    color: #fff;
}
.header .search .btn {
    border-radius: 999px 0 0 999px;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
}

.cart-btn { position: relative; color: rgba(255,255,255,.9); }
.cart-btn:hover { color: var(--mhc-gold-bright); }
.cart-btn .badge {
    background: var(--mhc-gold);
    color: #3d2900;
    position: absolute;
    top: 2px; right: 0;
    font-size: 10px;
}
/* boton hamburguesa en movil */
.navbar-nav.toolbar .btn { color: rgba(255,255,255,.9); }

/* -------------------------------------------------------- breadcrumbs --- */

/* La ruta de navegacion queda justo bajo la cabecera oscura: en claro
   abria una banda blanca que cortaba el bloque. Se oscurece para que
   sea continuacion del header. En la portada se oculta (ver header.tpl):
   "Inicio del portal" no aporta nada y el hero va inmediatamente debajo. */
.master-breadcrumb {
    background: #0e3163;
    border: 0;
    padding: .85rem 0;
}
.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item a,
.master-breadcrumb .breadcrumb a { color: rgba(255,255,255,.68); }
.master-breadcrumb .breadcrumb a:hover { color: var(--mhc-gold-bright); }
.master-breadcrumb .breadcrumb-item.active { color: #fff; font-weight: 600; }
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.master-breadcrumb .breadcrumb { background: transparent; padding-left: 0; margin-bottom: 0; }
.master-breadcrumb .breadcrumb-item { font-size: 13.5px; }

/* ------------------------------------------------------------ botones --- */

.btn {
    border-radius: 999px;
    font-weight: 650;
    letter-spacing: .005em;
    padding: .6rem 1.4rem;
    transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--mhc-blue);
    border-color: var(--mhc-blue);
    box-shadow: 0 2px 6px rgba(21,87,208,.25);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--mhc-blue-dark);
    border-color: var(--mhc-blue-dark);
    box-shadow: 0 6px 18px rgba(21,87,208,.32);
}

.btn-outline-primary {
    color: var(--mhc-blue);
    border-color: #c3d4f3;
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--mhc-blue);
    border-color: var(--mhc-blue);
    color: #fff;
}

.btn-mhc-grad {
    background: var(--mhc-grad);
    border: 0;
    color: #fff;
    box-shadow: 0 6px 18px rgba(21,87,208,.3);
}
.btn-mhc-grad:hover { color: #fff; filter: brightness(1.06); }

.btn-lg { padding: .85rem 2rem; font-size: 16px; }

/* ------------------------------------------------------------- cards --- */

.card {
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r);
    box-shadow: var(--mhc-sh-sm);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--mhc-line);
    font-weight: 700;
    color: var(--mhc-ink);
    padding: 1rem 1.25rem;
}
.panel, .panel-default {
    border-radius: var(--mhc-r);
    border-color: var(--mhc-line);
    box-shadow: var(--mhc-sh-sm);
}

/* ------------------------------------------------------- hero / home --- */

.mhc-hero {
    position: relative;
    background: var(--mhc-blue-deep);
    color: #fff;
    overflow: hidden;
    padding: 5rem 0 6rem;
    margin-bottom: 0;
}
.mhc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 78% -8%, rgba(41,197,246,.34), transparent 62%),
        radial-gradient(760px 420px at 6% 108%, rgba(21,87,208,.52), transparent 60%);
}
.mhc-hero > .container { position: relative; z-index: 1; }

.mhc-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}
.mhc-hero .lead {
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 44ch;
}
.mhc-hero .mhc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.mhc-hero .mhc-eyebrow i { color: var(--mhc-cyan); }

.mhc-hero-points {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.75rem;
}
.mhc-hero-points li {
    color: rgba(255,255,255,.9);
    font-size: 14.5px;
    font-weight: 600;
}
.mhc-hero-points i { color: var(--mhc-cyan); margin-right: .45rem; }

/* buscador de dominios sobre el hero */
#domain-search,
.domain-search {
    background: transparent;
    border: 0;
    margin-top: -3.25rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}
#domain-search .container > *,
.domain-search .container > * {
    background: var(--mhc-white);
    border-radius: var(--mhc-r-lg);
    box-shadow: var(--mhc-sh-lg);
    padding: 1.5rem;
}
#domain-search .form-control,
.domain-search .form-control {
    border-radius: 999px;
    border-color: var(--mhc-line);
    height: auto;
    padding: .8rem 1.3rem;
    font-size: 16px;
}
#domain-search .btn,
.domain-search .btn { border-radius: 999px; }

/* ------------------------------------------------------------ seccion --- */

.mhc-section { padding: 4.5rem 0; }
.mhc-section--tight { padding: 3rem 0; }
.mhc-section--alt { background: var(--mhc-white); }

.mhc-sec-head { text-align: center; max-width: 60ch; margin: 0 auto 2.75rem; }
.mhc-sec-head .mhc-kicker {
    color: var(--mhc-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    display: block;
    margin-bottom: .6rem;
}
.mhc-sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .75rem; }
.mhc-sec-head p { color: var(--mhc-body); font-size: 16px; margin: 0; }

/* --------------------------------------------------------- precios ----- */

.mhc-plan {
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r-lg);
    padding: 2rem 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--mhc-sh);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mhc-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--mhc-sh);
    border-color: #c7dbf7;
}
.mhc-plan--featured {
    border: 2px solid var(--mhc-blue);
    box-shadow: var(--mhc-sh);
    position: relative;
}
.mhc-plan--featured::after {
    content: attr(data-badge);
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--mhc-grad);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}
.mhc-plan__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mhc-ink);
    margin-bottom: .2rem;
}
.mhc-plan__tag { color: var(--mhc-muted); font-size: 13.5px; min-height: 2.6em; }
.mhc-plan__price {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--mhc-ink);
    letter-spacing: -.03em;
    margin: .9rem 0 .1rem;
}
.mhc-plan__price small { font-size: .95rem; font-weight: 600; color: var(--mhc-muted); }
.mhc-plan__period { color: var(--mhc-muted); font-size: 13px; margin-bottom: 1.25rem; }
.mhc-plan__features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1 1 auto; }
.mhc-plan__features li {
    padding: .4rem 0 .4rem 1.6rem;
    position: relative;
    font-size: 14.5px;
    color: var(--mhc-body);
    border-bottom: 1px dashed var(--mhc-line);
}
.mhc-plan__features li:last-child { border-bottom: 0; }
.mhc-plan__features li::before {
    content: "\f00c";
    /* Este WHMCS sirve Font Awesome 6 Pro; las familias 5 quedan de respaldo. */
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free",
                 "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: var(--mhc-green);
    position: absolute;
    left: 0; top: .45rem;
    font-size: 12px;
}

/* ------------------------------------------------------- diferencial --- */

.mhc-feature {
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r);
    padding: 1.75rem 1.5rem;
    height: 100%;
    box-shadow: var(--mhc-sh-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.mhc-feature:hover { transform: translateY(-3px); box-shadow: var(--mhc-sh); }
.mhc-feature__ico {
    width: 52px; height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--mhc-cyan-soft);
    color: var(--mhc-blue);
    font-size: 21px;
    margin-bottom: 1.1rem;
}
.mhc-feature h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.mhc-feature p { font-size: 14.5px; color: var(--mhc-body); margin: 0; }

/* --------------------------------------------------------- confianza --- */

.mhc-trust {
    background: var(--mhc-white);
    border-top: 1px solid var(--mhc-line);
    border-bottom: 1px solid var(--mhc-line);
    padding: 2.25rem 0;
}
.mhc-trust__item { text-align: center; }
.mhc-trust__num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--mhc-blue);
    letter-spacing: -.03em;
    line-height: 1.1;
}
.mhc-trust__lbl {
    font-size: 13px;
    color: var(--mhc-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 650;
}

/* ------------------------------------------------------------ ayuda ---- */

.action-icon-btns a,
.mhc-help-card {
    display: block;
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r);
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--mhc-ink);
    font-weight: 650;
    font-size: 14.5px;
    box-shadow: var(--mhc-sh-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    height: 100%;
}
.action-icon-btns a:hover,
.mhc-help-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mhc-sh);
    border-color: #c7dbf7;
    text-decoration: none;
    color: var(--mhc-blue);
}
.action-icon-btns .ico-container,
.mhc-help-card .ico-container {
    width: 48px; height: 48px;
    margin: 0 auto .75rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--mhc-cyan-soft);
    color: var(--mhc-blue);
    font-size: 20px;
}
.action-icon-btns a:hover .ico-container { background: var(--mhc-blue); color: #fff; }

/* --------------------------------------------------------------- cta --- */

.mhc-cta {
    background: var(--mhc-blue-deep);
    border-radius: var(--mhc-r-lg);
    color: #fff;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.mhc-cta::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(720px 320px at 88% 0%, rgba(41,197,246,.32), transparent 62%);
}
.mhc-cta > * { position: relative; z-index: 1; }
.mhc-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.mhc-cta p { color: rgba(255,255,255,.8); margin-bottom: 0; }

/* ------------------------------------------------------------ login ---- */

.mhc-auth { padding: 3rem 0 4rem; }
.mhc-auth__card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r-lg);
    box-shadow: var(--mhc-sh-lg);
    padding: 2.5rem 2.25rem;
}
.mhc-auth__card h1 { font-size: 1.5rem; text-align: center; margin-bottom: .35rem; }
.mhc-auth__sub { text-align: center; color: var(--mhc-muted); font-size: 14.5px; margin-bottom: 1.75rem; }
.mhc-auth__mark { display: block; margin: 0 auto 1.25rem; max-height: 46px; width: auto; }
.mhc-auth__foot {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mhc-line);
    font-size: 14px;
    color: var(--mhc-muted);
}
.mhc-auth__note {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    background: var(--mhc-cyan-soft);
    border-radius: var(--mhc-r-sm);
    padding: .75rem .9rem;
    font-size: 13px;
    color: var(--mhc-blue-deep);
    margin-top: 1.25rem;
}
.mhc-auth__note i { color: var(--mhc-blue); margin-top: .15rem; }

/* ------------------------------------------------------------ forms ---- */

.form-control {
    border-radius: var(--mhc-r-sm);
    border-color: var(--mhc-line);
    padding: .65rem .9rem;
    height: auto;
    font-size: 15px;
    color: var(--mhc-ink);
}
.form-control:focus {
    border-color: var(--mhc-cyan);
    box-shadow: 0 0 0 3px rgba(41,197,246,.18);
}
label { font-weight: 600; color: var(--mhc-ink); font-size: 14px; }

/* ----------------------------------------------------------- tablas ---- */

.table thead th {
    background: var(--mhc-bg);
    border-bottom: 1px solid var(--mhc-line);
    color: var(--mhc-muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.table td { border-top-color: var(--mhc-line); color: var(--mhc-body); }

.badge { border-radius: 999px; font-weight: 650; padding: .35em .75em; }

.alert { border: 0; border-radius: var(--mhc-r-sm); border-left: 4px solid transparent; }
.alert-success { background: #e8f8f2; border-left-color: var(--mhc-green); color: #0d6b4e; }
.alert-info    { background: var(--mhc-cyan-soft); border-left-color: var(--mhc-cyan); color: #0b4d68; }
.alert-warning { background: #fff5e3; border-left-color: var(--mhc-amber); color: #8a5a06; }
.alert-danger  { background: #fdeaea; border-left-color: #e04545; color: #8c2020; }

/* ---------------------------------------------------------- sidebar ---- */

.sidebar .panel,
.sidebar .card {
    border-radius: var(--mhc-r);
    border-color: var(--mhc-line);
    box-shadow: var(--mhc-sh-sm);
}
.sidebar .list-group-item { border-color: var(--mhc-line); font-size: 14.5px; }
.sidebar .list-group-item.active { background: var(--mhc-blue); border-color: var(--mhc-blue); }

/* ----------------------------------------------------------- footer ---- */

#footer, .footer {
    background: var(--mhc-blue-deep);
    color: rgba(255,255,255,.72);
    border: 0;
    margin-top: 4rem;
    padding: 3.5rem 0 0;
}
.mhc-footer__brand img { max-height: 40px; margin-bottom: 1rem; }
.mhc-footer__brand p { color: rgba(255,255,255,.62); font-size: 14px; max-width: 34ch; }
.mhc-footer h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.mhc-footer ul { list-style: none; padding: 0; margin: 0; }
.mhc-footer ul li { margin-bottom: .55rem; }
.mhc-footer a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.mhc-footer a:hover { color: var(--mhc-cyan); text-decoration: none; }
.mhc-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2.5rem;
    padding: 1.4rem 0;
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
}
.mhc-footer__bottom a { color: rgba(255,255,255,.72); }

/* ==========================================================================
   MACONDO — color y mariposas amarillas
   El amarillo es el acento sobre los azules de marca. Sin rojo.
   ========================================================================== */

/* ------------------------------------------- mariposas decorativas ---- */
/* Se pintan como fondo en una capa ::after, detras del contenido, para que
   nunca interfieran con clicks ni con lectores de pantalla. */

.mhc-butterflies { position: relative; overflow: hidden; }
/* el contenido real siempre por encima de la capa decorativa */
.mhc-butterflies > * { position: relative; z-index: 1; }

.mhc-butterflies::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 0;
}

/* --- enjambre del hero: cinco mariposas, escala descendente ----------- */
.mhc-butterflies--hero::after {
    background-image: var(--mar-3), var(--mar-1), var(--mar-5), var(--mar-2), var(--mar-4);
    background-position:
        91% 16%,   /* la grande, arriba a la derecha */
        70% 68%,   /* mediana, bajando */
        98% 55%,   /* mediana al borde */
        78% 94%,   /* chica, al pie */
        62% 30%;   /* chica, interior */
    background-size: 168px, 116px, 82px, 58px, 42px;
    opacity: .92;
}

/* --- banda horizontal: pocas y chicas, no compiten con el texto ------- */
.mhc-butterflies--band::after {
    background-image: var(--mar-2), var(--mar-4), var(--mar-1);
    background-position: 4% 72%, 96% 22%, 46% 110%;
    background-size: 72px, 54px, 48px;
    opacity: .55;
}

/* --- bloques oscuros (cta, footer, cabecera de tienda) ---------------- */
.mhc-butterflies--soft::after {
    background-image: var(--mar-5), var(--mar-3), var(--mar-1);
    background-position: 93% 14%, 80% 86%, 70% 44%;
    background-size: 128px, 76px, 52px;
    opacity: .75;
}

/* --- por defecto, si no se indica escena ------------------------------ */
.mhc-butterflies:not([class*="--"])::after {
    background-image: var(--mar-4), var(--mar-1), var(--mar-5);
    background-position: 92% 18%, 76% 78%, 64% 40%;
    background-size: 110px, 70px, 44px;
    opacity: .7;
}

/* en pantallas chicas estorban: menos, mas chicas y mas tenues */
@media (max-width: 991.98px) {
    .mhc-butterflies::after {
        background-image: var(--mar-3), var(--mar-4) !important;
        background-position: 94% 6%, 86% 93% !important;
        background-size: 76px, 44px !important;
        opacity: .5 !important;
    }
}

/* ------------------------------------------------------ hero a color --- */

.mhc-hero {
    background: var(--mhc-grad-deep);
}
.mhc-hero::before {
    background:
        radial-gradient(1100px 520px at 78% -8%, rgba(41,197,246,.40), transparent 62%),
        radial-gradient(820px 460px at 4% 110%, rgba(21,87,208,.60), transparent 60%),
        radial-gradient(520px 300px at 92% 86%, rgba(247,201,72,.20), transparent 64%);
}
.mhc-hero .mhc-eyebrow i { color: var(--mhc-gold); }
.mhc-hero-points i { color: var(--mhc-gold); }

/* subrayado dorado en una palabra del titulo */
.mhc-hero h1 .mhc-accent {
    color: var(--mhc-gold-bright);
    position: relative;
    white-space: nowrap;
}

/* ---------------------------------------------- franja superior ------- */

.header .navbar-light { border-bottom: 0; }
.main-navbar-wrapper { border-bottom: 0; position: relative; }
/* linea de marca azul -> cian -> dorado bajo la navegacion */
.main-navbar-wrapper::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--mhc-blue) 0%, var(--mhc-cyan) 55%, var(--mhc-gold) 100%);
}
.main-navbar-wrapper .nav-item.active > .nav-link,
.main-navbar-wrapper .nav-link.active { border-bottom-color: var(--mhc-gold); }

/* ------------------------------------------------- indicadores -------- */

.mhc-trust {
    background: var(--mhc-grad-deep);
    border: 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mhc-trust__num { color: var(--mhc-gold-bright); }
.mhc-trust__lbl { color: rgba(255,255,255,.72); }

/* ------------------------------------------------ titulos de seccion --- */

.mhc-sec-head .mhc-kicker {
    color: var(--mhc-gold-deep);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.mhc-sec-head .mhc-kicker::before {
    content: "";
    width: 18px; height: 18px;
    background: var(--mar-4) center/contain no-repeat;
    display: inline-block;
}

/* ------------------------------------- iconos de diferenciales --------- */
/* Cada tarjeta toma un tono distinto: la seccion gana color sin ruido. */

.mhc-feature:nth-child(6n+1) .mhc-feature__ico { background: #e3edfd; color: var(--mhc-blue); }
.mhc-feature:nth-child(6n+2) .mhc-feature__ico { background: var(--mhc-gold-soft); color: var(--mhc-gold-deep); }
.mhc-feature:nth-child(6n+3) .mhc-feature__ico { background: #e0f7f6; color: var(--mhc-teal); }
.mhc-feature:nth-child(6n+4) .mhc-feature__ico { background: var(--mhc-cyan-soft); color: #0b84b8; }
.mhc-feature:nth-child(6n+5) .mhc-feature__ico { background: #eee9fb; color: var(--mhc-violet); }
.mhc-feature:nth-child(6n+6) .mhc-feature__ico { background: #e4f6ee; color: var(--mhc-green); }

/* el :nth-child aplica sobre la columna, no sobre la tarjeta */
.row > [class^="col"]:nth-child(6n+1) .mhc-feature__ico { background: #e3edfd; color: var(--mhc-blue); }
.row > [class^="col"]:nth-child(6n+2) .mhc-feature__ico { background: var(--mhc-gold-soft); color: var(--mhc-gold-deep); }
.row > [class^="col"]:nth-child(6n+3) .mhc-feature__ico { background: #e0f7f6; color: var(--mhc-teal); }
.row > [class^="col"]:nth-child(6n+4) .mhc-feature__ico { background: var(--mhc-cyan-soft); color: #0b84b8; }
.row > [class^="col"]:nth-child(6n+5) .mhc-feature__ico { background: #eee9fb; color: var(--mhc-violet); }
.row > [class^="col"]:nth-child(6n+6) .mhc-feature__ico { background: #e4f6ee; color: var(--mhc-green); }

/* fondo calido alternado para romper el blanco continuo */
.mhc-section--alt {
    background: linear-gradient(180deg, #ffffff 0%, var(--mhc-gold-soft) 100%);
}

/* --------------------------------------------- accesos de ayuda ------- */

.action-icon-btns [class^="col"]:nth-child(5n+1) .ico-container { background: #e3edfd; color: var(--mhc-blue); }
.action-icon-btns [class^="col"]:nth-child(5n+2) .ico-container { background: var(--mhc-gold-soft); color: var(--mhc-gold-deep); }
.action-icon-btns [class^="col"]:nth-child(5n+3) .ico-container { background: #e0f7f6; color: var(--mhc-teal); }
.action-icon-btns [class^="col"]:nth-child(5n+4) .ico-container { background: #eee9fb; color: var(--mhc-violet); }
.action-icon-btns [class^="col"]:nth-child(5n+5) .ico-container { background: var(--mhc-cyan-soft); color: #0b84b8; }

/* ------------------------------------------------------------ cta ----- */

.mhc-cta { background: var(--mhc-grad-deep); }
.mhc-cta::before {
    background:
        radial-gradient(720px 320px at 88% 0%, rgba(41,197,246,.34), transparent 62%),
        radial-gradient(420px 260px at 10% 100%, rgba(247,201,72,.22), transparent 66%);
}

/* ------------------------------------------------- plan destacado ----- */

.mhc-plan--featured { border-color: var(--mhc-gold-deep); }
.mhc-plan--featured::after { background: var(--mhc-grad-gold); color: #4a3200; }

/* --------------------------------------------------------- footer ----- */

#footer, .footer { background: var(--mhc-grad-deep); position: relative; overflow: hidden; }
.mhc-footer h4 { color: var(--mhc-gold); }
.mhc-footer a:hover { color: var(--mhc-gold-bright); }

/* --------------------------------------------- ancho completo --------- */
/* homepage.tpl se renderiza dentro de un .container; estas secciones
   rompen ese limite para que el fondo ocupe todo el ancho. El .container
   interno vuelve a centrar el contenido. */
.mhc-bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}
/* 100vw incluye la barra de scroll: sin esto aparece scroll horizontal */
html, body { overflow-x: hidden; }

.btn-outline-light {
    border-color: rgba(255,255,255,.45);
    color: #fff;
    background: transparent;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.14);
    border-color: #fff;
    color: #fff;
}

/* ------------------------------------------------------- responsive ---- */

@media (max-width: 991.98px) {
    .mhc-hero { padding: 3.5rem 0 4.5rem; text-align: center; }
    .mhc-hero .lead { margin-left: auto; margin-right: auto; }
    .mhc-hero-points { justify-content: center; }
    .mhc-section { padding: 3rem 0; }
    .mhc-cta { padding: 2.25rem 1.5rem; text-align: center; }
}

@media (max-width: 575.98px) {
    .mhc-plan { padding: 1.5rem 1.25rem; }
    .mhc-auth__card { padding: 2rem 1.35rem; }
    #domain-search .container > *,
    .domain-search .container > * { padding: 1.1rem; }
}

/* tablas y bloques anchos nunca desbordan el viewport */
.table-responsive, .mhc-scroll-x { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
    .header, #footer, .footer, .master-breadcrumb { display: none !important; }
    body { background: #fff; }
}

/* ==========================================================================
   TIENDA / CARRITO
   Estas reglas vivian en templates/orderforms/mhc_cart/css/custom.css, pero
   ese archivo se enlaza con el token de version de WHMCS, que no cambia al
   editarlo: el navegador servia una copia vieja indefinidamente. Esta hoja
   si lleva token propio y carga en todas las paginas de carrito.
   ========================================================================== */


/* El sufijo ?v= evita que el navegador sirva una copia cacheada del
   archivo de marca. Subirlo junto con mhcAssetVersion en head.tpl. */

/* ------------------------------------------------- encabezado tienda --- */

/* Banda azul con mariposas: el mismo lenguaje del hero, para que la
   tienda no se sienta una seccion ajena al resto del sitio. */
.mhc-store__head {
    background: var(--mhc-grad-deep);
    border-radius: var(--mhc-r-lg);
    padding: 2.25rem 2rem;
    margin-bottom: 2.25rem;
    border: 0;
    color: #fff;
}
.mhc-store__head::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 300px at 92% 0%, rgba(41,197,246,.34), transparent 64%),
        radial-gradient(420px 240px at 6% 110%, rgba(247,201,72,.20), transparent 64%);
    border-radius: inherit;
}
.mhc-store__head h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin: 0 0 .5rem;
}
.mhc-store__head p {
    color: rgba(255,255,255,.82);
    font-size: 16px;
    margin: 0;
    max-width: 62ch;
}
.mhc-store__head .mhc-kicker { color: var(--mhc-gold); }

/* ------------------------------------------------------ tarjetas ------ */

/* standard_cart trae estilos propios para .product: se neutralizan
   para que mande la tarjeta de marca. */
/* standard_cart declara:
     #order-standard_cart.mhc-store .products .product { padding:1px 0 10px 0; border:1px solid #ddd; border-radius:3px }
   Especificidad (1,2,0) por el selector de ID. Cualquier regla basada solo
   en clases pierde, por eso hay que igualar el nivel con el mismo id. */
#order-standard_cart.mhc-store .products .product,
#order-standard_cart.mhc-store .products .product.clearfix {
    background: var(--mhc-white);
    border: 1px solid var(--mhc-border);
    border-radius: var(--mhc-r-lg);
    /* el padding vive en .mhc-plan__inner, no aqui: ver products.tpl */
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--mhc-sh);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Contenedor propio de la tarjeta. standard_cart no conoce esta clase,
   asi que su padding no puede ser sobrescrito por el tema heredado. */
.mhc-plan__inner {
    padding: 2rem 1.75rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
#order-standard_cart.mhc-store .products .product:hover {
    border-color: #9fb8db;
    box-shadow: var(--mhc-sh-lg);
    transform: translateY(-4px);
}

/* header y footer internos de standard_cart traen fondo gris y padding
   propio: se neutralizan para que mande el padding de la tarjeta. */
#order-standard_cart.mhc-store .products .product header,
#order-standard_cart.mhc-store .products .product footer {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    text-align: left;
}
#order-standard_cart.mhc-store .products .product header span {
    color: var(--mhc-ink);
    font-size: 1.2rem;
    font-weight: 700;
}
#order-standard_cart.mhc-store .mhc-plan__features li strong {
    color: var(--mhc-ink);
    font-weight: 700;
}

/* --------------------------------- detalle del plan (featuresdesc) ---- */
/* El contenido lo escribe el admin desde WHMCS y suele ser <ul><li>…
   con <br> intercalados: se normaliza para que lea como lista limpia. */

.mhc-plan__desc {
    flex: 1 1 auto;
    margin: .25rem 0 0;
}
.mhc-plan__desc p { margin-bottom: .5rem; font-size: 14.5px; color: var(--mhc-body); }
.mhc-plan__desc br { display: none; }
.mhc-plan__desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mhc-plan__desc li {
    position: relative;
    padding: .42rem 0 .42rem 1.6rem;
    font-size: 14.5px;
    color: var(--mhc-body);
    border-bottom: 1px dashed var(--mhc-line);
}
.mhc-plan__desc li:last-child { border-bottom: 0; }
.mhc-plan__desc li::before {
    content: "\f00c";
    /* Este WHMCS sirve Font Awesome 6 Pro; las familias 5 quedan de respaldo. */
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free",
                 "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: var(--mhc-green);
    position: absolute;
    left: 0;
    top: .46rem;
    font-size: 12px;
}

#order-standard_cart.mhc-store .mhc-plan__price { margin-top: .35rem; }

/* el boton vive al pie de la tarjeta sin importar el alto del contenido */
#order-standard_cart.mhc-store .btn-order-now { margin-top: auto; }

/* ----------------------------------------------- barra de categorias --- */

#order-standard_cart.mhc-store .cart-sidebar .panel,
#order-standard_cart.mhc-store .cart-sidebar .card {
    border-radius: var(--mhc-r);
    border-color: var(--mhc-line);
    box-shadow: var(--mhc-sh-sm);
    overflow: hidden;
}
#order-standard_cart.mhc-store .cart-sidebar .panel-heading,
#order-standard_cart.mhc-store .cart-sidebar .card-header {
    background: var(--mhc-bg);
    border-bottom: 1px solid var(--mhc-line);
    font-weight: 700;
    color: var(--mhc-ink);
}
#order-standard_cart.mhc-store .cart-sidebar .list-group-item {
    border-color: var(--mhc-line);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--mhc-body);
    padding: .7rem 1rem;
}
#order-standard_cart.mhc-store .cart-sidebar .list-group-item:hover {
    background: var(--mhc-cyan-soft);
    color: var(--mhc-blue);
}
#order-standard_cart.mhc-store .cart-sidebar .list-group-item.active {
    background: var(--mhc-blue);
    border-color: var(--mhc-blue);
    color: #fff;
}

/* --------------------------------------------------------- aviso ------ */

.mhc-store__note {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    background: var(--mhc-cyan-soft);
    border-radius: var(--mhc-r);
    padding: 1.1rem 1.25rem;
    margin-top: 1rem;
    font-size: 14.5px;
    color: var(--mhc-blue-deep);
}
.mhc-store__note i {
    color: var(--mhc-blue);
    font-size: 20px;
    margin-top: .15rem;
}

/* ------------------------------------------- pasos del pedido --------- */

#order-standard_cart .cart-body { padding-top: 0; }

.order-summary,
#order-standard_cart .summary-container {
    border-radius: var(--mhc-r);
    border-color: var(--mhc-line);
    box-shadow: var(--mhc-sh-sm);
}

#order-standard_cart .product-configurable-options,
#order-standard_cart .view-cart-items {
    border-radius: var(--mhc-r);
    border-color: var(--mhc-line);
}

/* ---------------------------------------------------- responsive ------ */

@media (max-width: 767.98px) {
    .mhc-store .product,
    .mhc-store .product.clearfix { padding: 1.5rem 1.25rem; }
    .mhc-store__head { margin-bottom: 1.5rem; }
}
