/* Estilo de la página inspirado en wodobox.com:
   azul marino #002B49 + coral #FF375A, Open Sans, botones píldora,
   fondos gris azulado y degradado coral → azul marino. */
:root {
  --navy: #002b49;
  --coral: #ff375a;
  --grad: linear-gradient(90deg, #ff375a 0%, #002b49 100%);
  --bg: #ffffff;
  --bg-soft: #f0f4f8;
  --surface: #ffffff;
  --text: #4b4f58;
  --heading: #002b49;
  --muted: #7d7d82;
  --border: #dddde1;
  --accent: #ff375a;
  --accent-soft: rgba(255, 55, 90, .10);
  --link: #0170b9;
  --radius: 8px;
  --shadow: 0 4px 8px rgba(0, 0, 0, .05);
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1c2c;
    --bg-soft: #0f2437;
    --surface: #14304a;
    --text: #d6dee6;
    --heading: #ffffff;
    --muted: #9fb2c4;
    --border: #244360;
    --accent: #ff4b6c;
    --accent-soft: rgba(255, 75, 108, .14);
    --link: #6bb8ff;
    --shadow: 0 4px 14px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
strong { color: var(--heading); font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--bg-soft); color: var(--heading); padding: .12em .4em; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* cabecera blanca con sombra suave */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(0, 43, 73, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand picture { display: flex; }
.brand-logo { height: 22px; width: auto; display: block; }
.nav nav { display: flex; gap: 32px; }
.nav nav a { text-decoration: none; color: var(--heading); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transition: color .15s; white-space: nowrap; }
@media (max-width: 960px) { .nav nav { gap: 20px; } .nav nav a { font-size: 13px; } }
@media (max-width: 780px) { .nav nav { display: none; } }
.nav nav a:hover { color: var(--coral); }

/* portada: fondo gris azulado con píldoras decorativas en degradado */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); padding: 120px 0 110px; text-align: center; }
.hero .container { position: relative; z-index: 1; }
.hero::before, .hero::after {
  content: ''; position: absolute; width: 380px; height: 120px; border-radius: 800px; z-index: 0; pointer-events: none;
}
.hero::before { left: -120px; top: 34%; transform: rotate(-35deg); background: linear-gradient(90deg, #ff375a, #002b49); opacity: .9; }
.hero::after { right: -130px; top: 18%; transform: rotate(-35deg); border: 2px solid rgba(255, 55, 90, .35); background: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--coral); margin: 0 0 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.15; letter-spacing: -.01em; font-weight: 600; color: var(--heading); margin: 0 0 24px; }
.hero h1 em { font-style: italic; font-weight: 700; color: var(--coral); }
.lead { font-size: 19px; color: var(--text); max-width: 620px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* botones píldora */
.btn {
  font: 600 15px/1 var(--font); padding: 20px 40px; border-radius: 800px; cursor: pointer;
  border: 2px solid transparent; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(255, 55, 90, .30); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 55, 90, .38); }
.btn.ghost { background: transparent; border-color: var(--heading); color: var(--heading); }
.btn.ghost:hover { background: var(--heading); color: var(--bg); }

/* secciones */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 700; color: var(--heading); margin: 0 0 48px; text-align: center; }
.section-title::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin: 18px auto 0; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.feature::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 43, 73, .12); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 700; color: var(--heading); }
.feature p { margin: 0; color: var(--text); font-size: 15px; }
.feature-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 700; color: var(--heading); }
.steps p { margin: 0; color: var(--text); font-size: 15px; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: var(--grad); color: #fff; }

.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--text); margin: 12px 0 0; }

/* sección Mac Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.studio-text h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 700; color: var(--heading); margin: 0 0 16px; }
.studio-text h2::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 16px; }
.studio-lead { font-size: 17px; margin: 0 0 30px; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.specs li { position: relative; padding-left: 18px; }
.specs li::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #ff375a, #002b49); }
.specs b { display: block; color: var(--heading); font-size: 15px; margin-bottom: 2px; }
.specs span { display: block; font-size: 14px; line-height: 1.6; }
.studio-art { margin: 0; }
.studio-art img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 43, 73, .22); }
.studio-art figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.studio-art figcaption a { color: inherit; }
/* variante con imagen de producto panorámica: imagen arriba a todo el ancho, texto debajo */
.studio.wide { grid-template-columns: minmax(0, 1fr); gap: 44px; }
.studio.wide .studio-art { order: -1; background: #fafafa; border-radius: 24px; padding: 48px 40px 36px; box-shadow: 0 24px 50px rgba(0, 43, 73, .12); }
.studio.wide .studio-art img { border-radius: 0; box-shadow: none; max-width: 900px; margin: 0 auto; }
.studio-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.studio-views figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.view-tag { display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 800px; background: var(--accent-soft); color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.studio-views figcaption { margin-top: 16px; font-size: 14px; color: #4b4f58; max-width: 380px; text-align: center; }
@media (max-width: 760px) { .studio-views { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.studio.wide .studio-text { max-width: 1000px; }
.studio.wide .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .studio.wide .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .studio.wide .studio-art { padding: 28px 20px 20px; } }
@media (max-width: 560px) { .studio.wide .specs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .studio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .studio-art { order: -1; }
  .studio-art { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) { .specs { grid-template-columns: minmax(0, 1fr); } }

/* pie de página con el degradado de la marca */
.site-footer { background: var(--grad); color: rgba(255, 255, 255, .85); padding: 48px 0 120px; font-size: 14px; text-align: center; }
.footer-logo { display: block; margin: 0 auto 14px; height: 24px; width: auto; }

@media (prefers-color-scheme: dark) {
  /* el azul marino del logo no contrasta sobre fondo oscuro: se muestra en blanco */
  .site-header { box-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
  .hero::after { border-color: rgba(255, 75, 108, .45); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav nav { display: none; }
  .hero { padding: 80px 0 72px; }
  .hero::before { width: 240px; height: 80px; left: -120px; top: 60%; }
  .hero::after { width: 240px; height: 80px; right: -140px; }
  .lead { font-size: 17px; }
  .btn { padding: 17px 30px; }
  .section { padding: 68px 0; }
}
