/*
Theme Name: Jona Studio
Theme URI: https://jona.studio
Author: Jona
Description: Landing de sonido, identidad visual y contenido para artistas.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jona-studio
*/

:root {
  --ink: #5e7d78;
  --ink-strong: #4b6e69;
  --accent: #76aaa4;
  --panel-rgb: 238, 233, 221;
  --heading-font: Eurostile, Microgramma, "Arial Rounded MT Bold", Arial, sans-serif;
  --body-font: Inter, "Helvetica Neue", Arial, sans-serif;
  --heading-size: 74px;
  --body-size: 16px;
  --header-logo-width: 190px;
  --hero-logo-width: 620px;
  --decorative-width: 330px;
  --site-width: 980px;
  --header-width: 760px;
  --hero-height: 735px;
  --grain-opacity: .17;
  --line: rgba(80, 110, 105, .2);
  --white-line: rgba(255, 255, 255, .68);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(242,238,229,.98) 0%, rgba(239,235,226,.68) 17%, rgba(151,203,198,.9) 42%, rgba(237,232,222,.95) 73%, #eee9df 100%);
  font-family: var(--body-font);
  font-size: var(--body-size);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
.background-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.background-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.jona-site { position: relative; z-index: 2; width: min(100% - 32px, var(--site-width)); margin: 0 auto; padding: 40px 0 28px; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header {
  position: sticky;
  top: 24px;
  z-index: 10;
  width: min(100%, var(--header-width));
  min-height: 66px;
  margin: 0 auto;
  padding: 8px 10px 8px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  background: rgba(var(--panel-rgb),.38);
  box-shadow: 0 14px 40px rgba(65,91,87,.09), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(1.25);
}
.admin-bar .site-header { top: 56px; }
.brand {
  color: rgba(255,255,255,.94);
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .48em;
  line-height: 1;
}
.brand-logo { width: var(--header-logo-width); max-width: 42%; }
.brand-logo img { display: block; width: auto; max-width: 100%; max-height: 38px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.circle-link { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; background: rgba(255,255,255,.62); transition: transform .2s ease, background .2s ease; }
.circle-link:hover { transform: translateY(-2px); background: rgba(255,255,255,.88); }
.circle-link.plus { font-size: 31px; font-weight: 200; line-height: 1; }
.pill-button {
  min-height: 46px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ink-strong);
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 999px;
  background: rgba(247,243,235,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px rgba(64,97,91,.07);
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill-button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 15px 30px rgba(64,97,91,.12); }
.pill-button.compact { min-height: 46px; padding: 0 22px; gap: 20px; }
.pill-button.ghost { color: rgba(255,255,255,.94); background: rgba(var(--panel-rgb),.08); border-color: rgba(255,255,255,.76); }
.pill-button svg, .contact-form button svg { width: 18px; }

.hero { min-height: var(--hero-height); padding: 145px 20px 60px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.eyebrow { margin: 0 0 18px; font-size: 10px; font-weight: 700; letter-spacing: .25em; opacity: .68; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink-strong);
  font-family: var(--heading-font);
  font-size: clamp(48px, 6.4vw, var(--heading-size));
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
}
.hero-copy { margin: 32px 0 30px; font-size: var(--body-size); color: var(--ink); opacity: .78; }
.hero-actions { display: flex; gap: 14px; }
.hero-logo { display: block; width: min(100%, var(--hero-logo-width)); max-height: 340px; object-fit: contain; }
.glass-object {
  position: relative;
  width: var(--decorative-width);
  height: 150px;
  margin-top: 62px;
  transform: rotate(-7deg);
  border: 2px solid rgba(255,255,255,.58);
  border-radius: 52% 34% 58% 31% / 56% 58% 38% 42%;
  clip-path: polygon(1% 46%,12% 24%,32% 31%,42% 2%,58% 31%,77% 20%,100% 43%,87% 62%,64% 72%,48% 99%,33% 71%,12% 78%);
  background: linear-gradient(145deg, rgba(255,255,255,.38), rgba(172,221,214,.08) 46%, rgba(255,255,255,.28));
  box-shadow: inset 18px 16px 25px rgba(255,255,255,.25), inset -12px -12px 24px rgba(76,132,123,.12), 0 18px 36px rgba(57,94,88,.11);
  backdrop-filter: blur(6px) saturate(1.35);
}
.glass-object::before, .glass-object::after, .glass-object span { content: ""; position: absolute; border-radius: 50%; filter: blur(6px); background: rgba(255,255,255,.44); }
.glass-object::before { width: 120px; height: 24px; top: 23px; left: 42px; transform: rotate(9deg); }
.glass-object::after { width: 70px; height: 18px; right: 42px; bottom: 31px; }
.glass-object span { width: 34px; height: 70px; left: 18px; top: 40px; }
.decorative-image { display: block; width: min(100%, var(--decorative-width)); max-height: 300px; margin-top: 62px; object-fit: contain; }

.services { margin: 0 auto 64px; display: grid; grid-template-columns: repeat(3,1fr); scroll-margin-top: 120px; }
.services article { position: relative; padding: 0 28px; text-align: center; }
.services article + article::before { content: ""; position: absolute; left: 0; top: 46px; width: 1px; height: 66px; background: var(--line); }
.service-icon { width: 50px; height: 50px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(var(--panel-rgb),.52); box-shadow: 0 8px 20px rgba(63,93,87,.08); overflow: hidden; }
.service-icon img { width: 66%; height: 66%; object-fit: contain; }
.services h2 { margin: 0 0 10px; font-family: var(--heading-font); font-size: 15px; color: var(--ink-strong); }
.services p { margin: 0; font-size: 12px; line-height: 1.6; opacity: .67; }
.social-rail { min-height: 58px; margin-bottom: 46px; padding: 8px 30px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; border: 1px solid rgba(92,120,114,.22); border-radius: 999px; background: rgba(var(--panel-rgb),.32); }
.social-rail a { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; transition: opacity .2s ease; }
.social-rail a:hover { opacity: .58; }

.contact { scroll-margin-top: 110px; }
.contact-heading { display: none; text-align: center; }
.contact-heading h2 { margin: 0 0 28px; font-family: var(--heading-font); font-size: 34px; line-height: 1.05; font-weight: 600; color: var(--ink-strong); }
.contact-form { position: relative; padding: 9px; display: grid; grid-template-columns: 1fr 1fr 1.45fr auto; gap: 9px; border: 1px solid rgba(92,120,114,.17); border-radius: 999px; background: rgba(var(--panel-rgb),.42); }
.contact-form label { display: block; }
.contact-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.contact-form input, .contact-form textarea { width: 100%; height: 48px; padding: 0 22px; color: var(--ink-strong); border: 1px solid rgba(92,120,114,.19); border-radius: 999px; outline: none; background: rgba(var(--panel-rgb),.23); font-size: 12px; transition: border-color .2s ease, background .2s ease; }
.contact-form textarea { padding-top: 15px; resize: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(72,126,117,.6); background: rgba(255,255,255,.45); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(73,103,97,.72); }
.contact-form button { min-width: 122px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 16px; color: white; border: 0; border-radius: 999px; background: var(--accent); cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.contact-form button:hover { transform: translateY(-1px); filter: brightness(.92); }
.contact-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 10px 24px 0; font-size: 10px; opacity: .58; }
.form-status { width: fit-content; margin: 0 auto 14px; padding: 10px 18px; border-radius: 999px; font-size: 12px; }
.form-status.success { color: #315f57; background: rgba(203,235,221,.72); }
.form-status.error { color: #784f48; background: rgba(241,214,205,.72); }
footer { padding: 52px 0 4px; text-align: center; font-size: 11px; line-height: 1.7; opacity: .68; }
footer p { margin: 0; }
.fallback-content { width: min(100% - 32px, 760px); min-height: 100vh; margin: 0 auto; padding: 90px 0; }
:focus-visible { outline: 2px solid #416e67; outline-offset: 4px; }

@media (max-width: 782px) { .admin-bar .site-header { top: 66px; } }
@media (max-width: 720px) {
  .jona-site { width: min(100% - 20px, 980px); padding-top: 14px; }
  .site-header { top: 10px; min-height: 58px; padding: 7px 8px 7px 22px; }
  .brand { font-size: 16px; letter-spacing: .35em; }
  .brand-logo { max-width: 120px; }
  .circle-link { width: 40px; height: 40px; }
  .header-actions .circle-link:first-child { display: none; }
  .pill-button.compact { min-height: 40px; padding: 0 15px; font-size: 12px; gap: 10px; }
  .hero { min-height: 690px; padding: 118px 10px 48px; }
  .hero h1 { font-size: clamp(36px,13.2vw,var(--heading-size)); }
  .hero-copy { max-width: 300px; margin: 26px 0; line-height: 1.55; }
  .hero-actions { width: 100%; justify-content: center; }
  .hero-actions .pill-button { padding: 0 18px; gap: 14px; }
  .glass-object { width: min(78vw,300px); height: 135px; margin-top: 70px; }
  .hero-logo { max-height: 260px; }
  .decorative-image { max-width: 78vw; margin-top: 70px; }
  .services { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
  .services article { padding: 0 40px; }
  .services article + article::before { top: -18px; left: 50%; width: 44px; height: 1px; transform: translateX(-50%); }
  .social-rail { padding: 7px; }
  .social-rail a { min-height: 42px; }
  .social-rail span { display: none; }
  .contact-heading { display: block; }
  .contact-form { padding: 10px; grid-template-columns: 1fr; border-radius: 28px; }
  .contact-form input, .contact-form textarea { height: 54px; }
  .contact-form textarea { min-height: 110px; border-radius: 24px; }
  .contact-form button { height: 54px; }
  .form-note { text-align: center; }
  footer { padding-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .background-video { display: none; }
}
