/* ═══════════════════════════════════════════════════════════════════
   TOMAHOST.COM — CSS principal de la web pública
   Colores exactos de la web actual
═══════════════════════════════════════════════════════════════════ */

/* Variables */
:root {
    --bg-darkest:   #01081E;
    --bg-dark:      #0C1638;
    --bg-blue:      #0F2572;
    --bg-blue-mid:  #223C97;
    --bg-light:     #F4F6F9;
    --bg-white:     #FFFFFF;
    --cyan:         #13CEED;
    --cyan-blue:    #039FF5;
    --orange:       #FF942C;
    --red:          #FF4F2C;
    --blue-btn:     #1E73BE;
    --text-dark:    #1A2340;
    --text-white:   #FFFFFF;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════════════ */
.th-topbar {
    background: #0C1638;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(19,206,237,0.15);
}
.th-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.th-topbar-left { display: flex; align-items: center; gap: 20px; }
.th-topbar-right { display: flex; align-items: center; gap: 20px; }
.th-topbar a {
    color: rgba(255,255,255,0.75);
    transition: color .2s;
}
.th-topbar a:hover { color: var(--cyan); }
.th-topbar-phone { display: flex; align-items: center; gap: 6px; }
.th-topbar-phone svg { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════ */
.th-header {
    background: var(--bg-darkest);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}
.th-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.th-logo img {
    height: 40px;
    width: auto;
}
/* Nav principal */
.th-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.th-nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}
.th-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.th-nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 13.5px;
    font-weight: 600;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.th-nav-link:hover,
.th-nav-item:hover > .th-nav-link {
    color: var(--cyan);
    background: rgba(19,206,237,0.06);
}
.th-nav-link .arrow {
    font-size: 10px;
    opacity: 0.6;
}
.th-badge-new {
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-left: 2px;
}

/* Mega-menú */
.th-megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0a1030;
    border: 1px solid rgba(19,206,237,0.2);
    border-top: 2px solid var(--cyan);
    border-radius: 0 0 8px 8px;
    min-width: 680px;
    padding: 24px;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 999;
}
.th-nav-item:hover > .th-megamenu { display: grid; }

.th-megamenu-col-title {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(19,206,237,0.2);
}
.th-megamenu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 5px 0;
    transition: color .2s;
}
.th-megamenu-link:hover { color: var(--cyan); }
.th-megamenu-link svg { flex-shrink: 0; color: var(--cyan); opacity: 0.7; }

/* Menú hamburguesa (móvil) */
.th-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.th-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: .3s;
}

/* ═══════════════════════════════════════════════════════════════════
   WAVES SVG
═══════════════════════════════════════════════════════════════════ */
.th-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.th-wave svg { display: block; width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   SECCIONES GENERALES
═══════════════════════════════════════════════════════════════════ */
.th-section { padding: 70px 0; }
.th-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}
.th-section-title-white {
    color: #fff;
}
.th-section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 40px;
}
.th-section-subtitle-dark {
    color: #666;
}
.th-underline-cyan {
    text-decoration: underline;
    text-decoration-color: var(--cyan);
    text-underline-offset: 4px;
}

/* Fondos */
.bg-darkest  { background: var(--bg-darkest); }
.bg-dark     { background: var(--bg-dark); }
.bg-blue     { background: var(--bg-blue); }
.bg-gradient-blue { background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-blue-mid) 100%); }
.bg-gradient-dark { background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 100%); }
.bg-light    { background: var(--bg-light); }
.bg-white    { background: var(--bg-white); }

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Título principal
═══════════════════════════════════════════════════════════════════ */
.th-section-intro {
    padding: 50px 0 40px;
    text-align: center;
    background: #fff;
}
.th-section-intro h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Seguridad
═══════════════════════════════════════════════════════════════════ */
.th-security-section {
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-blue-mid) 100%);
    padding: 60px 0;
}
.th-security-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.th-security-item {
    text-align: center;
    color: #fff;
}
.th-security-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cyan);
}
.th-security-item p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.th-security-icon {
    width: 56px;
    height: 56px;
    background: rgba(19,206,237,0.12);
    border: 1px solid rgba(19,206,237,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--cyan);
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Buscador dominios
═══════════════════════════════════════════════════════════════════ */
.th-domain-section {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}
.th-domain-cloud {
    width: 80px;
    margin: 0 auto 20px;
}
.th-domain-form {
    display: flex;
    max-width: 560px;
    margin: 20px auto 30px;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.th-domain-input {
    flex: 1;
    border: 1px solid #dde3ef;
    border-right: none;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    color: var(--text-dark);
}
.th-domain-btn {
    background: var(--blue-btn);
    color: #fff;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    height: 50px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s;
}
.th-domain-btn:hover { background: #1560a0; }
.th-tld-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.th-tld-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.th-tld-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e5e8ef;
}
.th-tld-item span {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}
.th-tld-price {
    font-size: 11px;
    color: #888;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Qué puedes hacer
═══════════════════════════════════════════════════════════════════ */
.th-empresa-section {
    background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
    padding: 70px 0;
}
.th-empresa-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}
.th-empresa-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 16px;
}
.th-empresa-text p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
}
.th-empresa-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.th-empresa-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    transition: border-color .2s, background .2s;
}
.th-empresa-card:hover {
    border-color: rgba(19,206,237,0.4);
    background: rgba(19,206,237,0.07);
}
.th-empresa-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}
.th-empresa-card p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.th-empresa-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(19,206,237,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--cyan);
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Educación online
═══════════════════════════════════════════════════════════════════ */
.th-edu-section {
    background: #fff;
    padding: 70px 0;
}
.th-edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.th-edu-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e5e8ef;
    border-radius: 8px;
    transition: border-color .2s, box-shadow .2s;
}
.th-edu-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 20px rgba(19,206,237,0.1);
}
.th-edu-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.th-edu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.th-edu-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.th-edu-item p {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: RGPD
═══════════════════════════════════════════════════════════════════ */
.th-rgpd-section {
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-blue-mid) 100%);
    padding: 70px 0;
}
.th-rgpd-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.th-rgpd-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
}
.th-rgpd-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.th-rgpd-check {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}
.th-rgpd-check-icon {
    width: 24px;
    height: 24px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.th-rgpd-image img { width: 100%; max-width: 400px; }

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Hosting para cualquier contenido
═══════════════════════════════════════════════════════════════════ */
.th-content-section {
    background: #fff;
    padding: 70px 0;
}
.th-content-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}
.th-content-inner img { max-width: 340px; }
.th-content-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.th-content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.th-content-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: .03em;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Features hosting
═══════════════════════════════════════════════════════════════════ */
.th-features-section {
    background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
    padding: 70px 0;
}
.th-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.th-feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    transition: border-color .2s, background .2s;
}
.th-feature-card:hover {
    border-color: rgba(19,206,237,0.35);
    background: rgba(19,206,237,0.06);
}
.th-feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(19,206,237,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--cyan);
}
.th-feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.th-feature-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: VPS Profesionales
═══════════════════════════════════════════════════════════════════ */
.th-vps-section {
    background: var(--bg-light);
    padding: 70px 0;
}
.th-vps-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.th-vps-cat {
    background: #fff;
    border: 1px solid #e0e4ef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color .2s;
}
.th-vps-cat:hover { border-color: var(--cyan); }
.th-vps-cat h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.th-vps-cat p {
    font-size: 12.5px;
    color: #777;
}
.th-vps-apps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.th-vps-app {
    background: #fff;
    border: 1px solid #e0e4ef;
    border-radius: 8px;
    padding: 14px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    transition: border-color .2s;
}
.th-vps-app:hover { border-color: var(--cyan); }
.th-vps-app img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Agencias y extensiones (fondo oscuro)
═══════════════════════════════════════════════════════════════════ */
.th-agencies-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-blue) 100%);
    padding: 70px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: Dudas / Servicios gratuitos
═══════════════════════════════════════════════════════════════════ */
.th-doubt-section {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}
.th-doubt-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.th-doubt-section p {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}
.th-btn-primary {
    display: inline-block;
    background: var(--blue-btn);
    color: #fff;
    padding: 12px 32px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: background .2s;
}
.th-btn-primary:hover { background: #1560a0; color: #fff; }
.th-btn-outline-cyan {
    display: inline-block;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    padding: 11px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: background .2s, color .2s;
}
.th-btn-outline-cyan:hover {
    background: var(--cyan);
    color: var(--bg-darkest);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.th-footer {
    background: var(--bg-darkest);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    border-top: 2px solid rgba(19,206,237,0.2);
}
.th-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.th-footer-logo img {
    height: 36px;
    margin-bottom: 16px;
}
.th-footer-logo p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 240px;
}
.th-footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(19,206,237,0.2);
}
.th-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.th-footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color .2s;
}
.th-footer-col ul li a:hover { color: var(--cyan); }
.th-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
}
.th-footer-bottom a { color: rgba(255,255,255,0.4); }
.th-footer-bottom a:hover { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .th-edu-grid { grid-template-columns: repeat(2, 1fr); }
    .th-vps-cats { grid-template-columns: repeat(2, 1fr); }
    .th-vps-apps { grid-template-columns: repeat(4, 1fr); }
    .th-footer-grid { grid-template-columns: 1fr 1fr; }
    .th-empresa-inner { grid-template-columns: 1fr; }
    .th-rgpd-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .th-nav { display: none; }
    .th-hamburger { display: flex; }
    .th-security-items { grid-template-columns: 1fr; }
    .th-empresa-cards { grid-template-columns: repeat(2, 1fr); }
    .th-features-grid { grid-template-columns: repeat(2, 1fr); }
    .th-edu-grid { grid-template-columns: 1fr; }
    .th-content-inner { grid-template-columns: 1fr; }
    .th-vps-apps { grid-template-columns: repeat(3, 1fr); }
    .th-footer-grid { grid-template-columns: 1fr; }
    .th-section-intro h1 { font-size: 22px; }
    .th-topbar-left { display: none; }
}
@media (max-width: 480px) {
    .th-empresa-cards { grid-template-columns: 1fr; }
    .th-features-grid { grid-template-columns: 1fr; }
    .th-vps-cats { grid-template-columns: 1fr; }
    .th-vps-apps { grid-template-columns: repeat(2, 1fr); }
}

/* BREADCRUMBS */
.th-breadcrumbs {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 10px 0;
}
.th-breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.th-breadcrumbs-link {
    color: rgba(255,255,255,0.6);
    font-size: 12.5px;
    transition: color .15s;
}
.th-breadcrumbs-link:hover { color: #13CEED; }
.th-breadcrumbs-current {
    color: rgba(255,255,255,0.9);
    font-size: 12.5px;
    font-weight: 600;
}
.th-breadcrumbs-sep { color: rgba(255,255,255,0.3); font-size: 12px; }
