/*
Theme Name: Segurinautas Nuevo
Theme URI: https://segurinautas.com/
Author: Segurinautas
Description: Tema de una pagina para cursos de defensa personal digital y seguridad contra fraudes en internet.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: segurinautas-nuevo
*/

:root {
  --ink: #121417;
  --muted: #5f6670;
  --paper: #f7f7f9;
  --white: #ffffff;
  --blue: #0875e1;
  --blue-deep: #063765;
  --mint: #dff4ec;
  --sun: #ffd46a;
  --line: rgba(18, 20, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1080px, calc(100% - 32px));
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(18, 20, 23, 0.76);
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
}

main {
  padding-top: 48px;
}

section {
  overflow: hidden;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-warm {
  background: linear-gradient(135deg, #fff8dc 0%, #dff4ec 100%);
}

.section-accent {
  background: var(--blue);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr);
  align-items: end;
  text-align: center;
}

.hero-copy {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.section-dark .eyebrow,
.section-accent .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin: 0 auto 14px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.08;
}

.lead {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.24;
}

.actions,
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 17px;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  border: 1px solid var(--blue);
}

.button.primary.dark {
  color: var(--blue-deep);
  background: var(--white);
}

.button.secondary.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-media {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 42px;
  aspect-ratio: 16 / 8.7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 28, 50, 0.2);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement {
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 84px 24px;
}

.statement-inner {
  width: min(980px, 100%);
}

.statement p:first-child {
  margin-bottom: 18px;
  color: var(--sun);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 720;
}

.statement .support {
  max-width: 820px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.26;
}

.feature {
  padding: 96px 24px;
}

.feature-copy,
.method-header {
  width: min(980px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.feature-copy p:not(.eyebrow),
.method-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
}

.fraud-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fraud-grid article,
.method-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.fraud-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 760;
}

.fraud-grid p,
.method-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.38;
}

.image-band {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 42px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
}

.image-band-copy p {
  max-width: 620px;
  color: rgba(18, 20, 23, 0.72);
  font-size: 24px;
  line-height: 1.28;
}

.image-band img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(24, 44, 39, 0.18);
}

.method {
  padding: 96px 24px;
}

.method-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.classes {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 44px;
  align-items: center;
  padding: 96px max(24px, calc((100vw - 1120px) / 2));
}

.classes-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 24px;
  line-height: 1.3;
}

.schedule {
  display: grid;
  gap: 12px;
}

.schedule div {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule span {
  color: var(--sun);
  font-size: 42px;
  font-weight: 760;
}

.schedule strong {
  font-size: 22px;
}

.quote {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 84px 24px;
}

blockquote {
  width: min(980px, 100%);
  margin: 0;
  text-align: center;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.06;
  font-weight: 720;
}

.contact {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 36px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
  line-height: 1.28;
}

.contact-actions {
  justify-content: flex-start;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  background: #f1f1f3;
  font-size: 14px;
}

.footer img {
  width: 150px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .fraud-grid,
  .method-grid,
  .image-band,
  .classes,
  .contact {
    grid-template-columns: 1fr;
  }

  .fraud-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-band,
  .classes,
  .contact {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .nav {
    width: calc(100% - 24px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 48px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 22px;
    background: rgba(251, 251, 253, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
    font-size: 18px;
  }

  .hero-copy {
    padding-top: 44px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .lead,
  .feature-copy p:not(.eyebrow),
  .method-header p:not(.eyebrow),
  .image-band-copy p,
  .classes-copy p:not(.eyebrow),
  .contact p:not(.eyebrow) {
    font-size: 20px;
  }

  .actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .hero-media {
    width: calc(100% - 24px);
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
  }

  .feature,
  .method,
  .image-band,
  .classes,
  .contact,
  .quote,
  .statement {
    padding: 64px 18px;
  }

  .fraud-grid {
    grid-template-columns: 1fr;
  }

  .fraud-grid article,
  .method-card {
    min-height: 220px;
  }

  blockquote {
    font-size: 34px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
