/* Estilos compartidos de las subpáginas SEO de Doggers Shack (sin JavaScript). */
:root {
    --blue: #0057ff;
    --dark: #002266;
    --darker: #001540;
    --yellow: #ffd600;
    --text: #dbeafe;
    --muted: #93c5fd;
    --line: rgba(255, 255, 255, 0.12);
    --card: rgba(255, 255, 255, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--darker);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--yellow);
}

a:hover {
    color: #fff;
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    color: #fff;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1.1rem;
}

.wrap {
    width: min(100% - 3rem, 72rem);
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    background: #fff;
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 34, 102, 0.96);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5rem;
}

.logo {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
    text-decoration: none;
}

.logo span {
    display: block;
    font-style: italic;
    color: var(--blue);
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-header nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-header nav a:hover {
    color: #fff;
}

.site-header nav a.btn {
    color: var(--dark);
    background: #fff;
}

.site-header nav a.btn:hover {
    color: #fff;
    background: var(--blue);
}

/* ---------- Botones ---------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-ghost {
    border: 1px solid rgba(0, 87, 255, 0.6);
    background: rgba(0, 87, 255, 0.18);
    color: var(--yellow);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

/* ---------- Ruta de navegación ---------- */
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 0.5rem;
}

/* ---------- Secciones ---------- */
.hero {
    background: radial-gradient(circle at 70% 30%, rgba(0, 87, 255, 0.28), transparent 60%);
    padding: 2.5rem 0 4rem;
}

.split {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
}

.lead {
    font-size: 1.2rem;
}

figure {
    margin: 0;
}

figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 87, 255, 0.25);
    box-shadow: 0 0 40px rgba(0, 87, 255, 0.28);
}

figcaption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--dark);
    border-block: 1px solid rgba(0, 87, 255, 0.15);
}

.narrow {
    max-width: 48rem;
}

.cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    margin-top: 2rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    padding: 1.75rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.checks,
.steps {
    padding-left: 1.25rem;
}

.checks li,
.steps li {
    margin-bottom: 0.6rem;
}

.checks li::marker,
.steps li::marker {
    color: var(--yellow);
    font-weight: 700;
}

details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.9rem;
}

summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
}

summary h3 {
    display: inline;
    font-size: 1.05rem;
}

details p {
    margin: 0.75rem 0 0;
}

.cta {
    text-align: center;
}

.cta .actions {
    justify-content: center;
}

.related ul {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    list-style: none;
    padding: 0;
}

.related li a {
    display: block;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    font-weight: 600;
}

.related li a:hover {
    border-color: var(--blue);
}

.related li span {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.9rem;
}

/* ---------- Pie de página ---------- */
.site-footer {
    border-top: 1px solid #1f2937;
    padding: 3.5rem 0 6rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.site-footer h2 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-footer ul {
    display: grid;
    gap: 0.4rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
    color: var(--yellow);
}

address {
    font-style: normal;
    margin-bottom: 1rem;
}

.wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    background: #25d366;
    color: #052e16;
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.wa-float:hover {
    background: #20bd5a;
    color: #052e16;
}

@media (min-width: 62rem) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 40rem) {
    .site-header nav a:not(.btn) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
