/* Igontek Phone para HubSpot — identidad visual de igontek.es */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --navy: #2c3e50;
    --blue: #3498db;
    --purple: #667eea;
    --ink: #333333;
    --muted: #52606d;
    --paper: #ffffff;
    --surface: #f8f9fa;
    --line: #e4e7eb;
    --warning: #fff7e6;
    --warning-line: #f0c36d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font: 16px/1.7 'Montserrat', Arial, sans-serif;
}

a { color: var(--blue); }
a:hover { color: #217dbb; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 14px max(20px, calc((100% - 1200px) / 2));
    background: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.marca {
    color: #fff;
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.marca span {
    color: #d7e9f7;
    font-size: .75em;
    font-weight: 400;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 22px;
    font-size: 14px;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color .2s ease;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--blue);
    font-weight: 600;
}

main {
    max-width: 1100px;
    margin: 42px auto;
    padding: 38px 44px 48px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

h1, h2, h3 {
    color: var(--navy);
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    line-height: 1.3;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
}

h2 {
    margin: 34px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #edf2f7;
    font-size: 22px;
}

h3 { margin: 22px 0 7px; font-size: 17px; }

.fecha, .nota { color: var(--muted); font-size: 14px; }

ol, ul { padding-left: 24px; }
li { margin: 5px 0; }

table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
    font-size: 15px;
}

th, td {
    padding: 9px 11px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th { background: #eef5fb; color: var(--navy); font-weight: 600; }
.tabla { overflow-x: auto; }

code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eef2f5;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.boton {
    display: inline-block;
    margin: 8px 0;
    padding: 11px 20px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(52, 152, 219, .25);
    transition: background .2s ease, transform .2s ease;
}

.boton:hover { background: #217dbb; color: #fff; transform: translateY(-1px); }

.aviso {
    margin: 16px 0;
    padding: 12px 16px;
    border: 1px solid var(--warning-line);
    border-radius: 8px;
    background: var(--warning);
}

footer {
    margin-top: 56px;
    padding: 28px max(20px, calc((100% - 1200px) / 2)) 34px;
    background: var(--navy);
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

footer a { color: #d7e9f7; }
footer a:hover { color: var(--blue); }

@media (max-width: 700px) {
    header { justify-content: center; padding: 13px 16px; }
    nav { justify-content: center; gap: 4px 14px; }
    main { margin: 24px 12px; padding: 26px 20px 32px; }
    h1 { font-size: 27px; }
    h2 { font-size: 20px; }
    table { font-size: 14px; }
}

/* Capturas de la guía de instalación */
.captura { margin: 12px 0 16px; }
.captura img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.captura.movil img { max-width: 300px; }
.captura figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.capturas { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: flex-start; }
