/* Shared styles for agooav.com. Page layouts are inline in each page (carried over from the design mockup). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #C86EE8; outline-offset: 2px; }

/* Logo: white AGOO, purple AV, corner brackets */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 0.3em; font-family: Montserrat, sans-serif; line-height: 1; white-space: nowrap; }
.logo .mark { position: relative; display: inline-flex; align-items: center; padding: 0.3em 0.38em 0.26em; }
.logo .mark::before, .logo .mark::after { content: ""; position: absolute; left: 0; right: 0; height: 0.32em; border: 0.09em solid #fff; }
.logo .mark::before { top: 0; border-bottom: none; }
.logo .mark::after { bottom: 0; border-top: none; }
.logo .agoo { font-weight: 900; letter-spacing: -0.03em; color: #fff; }
.logo .av { font-family: Fredoka, sans-serif; font-weight: 700; font-size: 1.08em; color: #C86EE8; display: inline-block; transform: skewX(-10deg); margin-left: 0.04em; }
.logo .tag { font-weight: 800; font-size: 0.29em; letter-spacing: 0.06em; color: #C86EE8; text-transform: uppercase; }
.logo-nav { font-size: 30px; }
.logo-footer { font-size: 26px; }

/* Forms */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.error { color: #D93A3A; font-weight: 600; }
form[data-lead] input:invalid[data-touched], form[data-lead] select:invalid[data-touched] { border-color: #D93A3A !important; }
form[data-lead] button[disabled] { opacity: 0.6; cursor: progress; }
.form-done { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.form-done strong { font-size: 22px; }
.file-drop.has-file { border-style: solid !important; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-weight: 600; opacity: 0.6; }
details[open] summary::after { content: "–"; }

/* Phones: tame the desktop type scale and side padding from the inline layout */
@media (max-width: 720px) {
  h1 { font-size: 38px !important; line-height: 1.08 !important; }
  h2 { font-size: 28px !important; line-height: 1.15 !important; }
  header > div, section > div, footer > div, body > div > section, body > div > header { padding-left: 20px !important; padding-right: 20px !important; }
  header nav { order: 3; width: 100%; gap: 20px !important; }
  .logo-nav { font-size: 24px; }
  form[data-lead] { padding: 22px !important; }
  img[style*="height: 300px"], img[style*="height: 340px"], img[style*="height: 380px"] { height: 220px !important; }
  a[style*="min-height: 620px"] { min-height: 0 !important; }
}

.logo-footer { align-self: flex-start; }
@media (max-width: 720px) {
  header a[href^="tel:"]:not(:only-child):not([style*="border: 1px"]) { display: none !important; }
}
