/* Ballune — site styles (Lato, coral + sky–lavender palette) */

:root {
  --color-text: #4a4a4a;
  --color-text-muted: #7a6b8a;
  --color-hover: #2d2d2d;
  --color-accent: #ff7e7e;
  --color-bg: #fff;
  --gradient-page: linear-gradient(180deg, #a0cfff 0%, #e0cfff 45%, #faf8ff 100%);
  --site-width: 980px;
  --content-narrow: 780px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text);
  background: var(--gradient-page);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-wrap {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding-top: 30px;
  padding-bottom: 30px;
}

.header-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
}

.header-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.header-rule {
  border: 0;
  border-top: 1px solid rgba(74, 74, 74, 0.35);
  margin: 0 0 7px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  min-height: 30px;
  font-size: 14px;
  line-height: 1.79;
}

.site-nav a {
  padding: 0 10px;
  transition: color 0.4s ease;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav .is-current {
  cursor: default;
}

.site-nav .is-current:hover {
  color: var(--color-text);
}

.site-nav .nav-more {
  padding: 0 10px;
  cursor: default;
  user-select: none;
}

/* Hero */
.hero {
  padding: 60px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1,
  .hero-text p {
    text-align: center;
  }

  .hero-phone {
    justify-self: center;
    max-width: 280px;
  }
}

.hero-text h1 {
  margin: 109px 0 29px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--color-text);
}

.hero-text p {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.67;
}

.hero-phone {
  width: 100%;
  max-width: 420px;
  margin-top: 0;
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(74, 74, 74, 0.18);
}


/* FAQ */
.faq {
  padding: 56px 0 24px;
}

.faq h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list {
  max-width: var(--content-narrow);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 74, 74, 0.16);
  border-radius: 8px;
  padding: 10px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 63px 0 67px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.contact h2 {
  margin: 0 0 23px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-form-wrap {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.form-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 4px;
}

.form-alert--success {
  color: rgb(12, 74, 42);
  background: rgba(46, 160, 100, 0.12);
  border: 1px solid rgba(46, 160, 100, 0.35);
}

.form-alert--error {
  color: rgb(90, 18, 18);
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid rgba(200, 60, 60, 0.35);
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  margin-bottom: 2px;
  padding-left: 5px;
  font-size: 15px;
  line-height: 1.875;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 5px;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.875;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-text);
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-muted);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  display: block;
  width: 100%;
  margin: 17px 0 13px;
  padding: 12px 24px;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: #fff;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.btn-submit:hover {
  opacity: 0.92;
  filter: brightness(0.95);
}

.form-thanks {
  display: none;
  margin-top: 10px;
  text-align: center;
  font-size: 18px;
  line-height: 1.75;
}

.form-thanks.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  padding: 48px 20px 42px;
  border-top: 1px solid rgba(74, 74, 74, 0.15);
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.79;
}

/* Privacy page */
.page-privacy .privacy-hero {
  padding: 60px 0 40px;
}

.page-privacy .privacy-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.privacy-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: 80px;
}

.privacy-body p {
  margin: 0 0 1.25em;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.875;
}

.privacy-body a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-body a:hover {
  color: var(--color-hover);
}


/* FAQ page */
.page-faq .faq-hero {
  padding: 56px 0 24px;
}

.page-faq .faq-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-faq .faq-intro {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}


.footer-links {
  margin: 0 0 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links span {
  margin: 0 8px;
  color: rgba(74, 74, 74, 0.5);
}


/* Terms page */
.page-terms .terms-hero {
  padding: 56px 0 20px;
}

.page-terms .terms-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.terms-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: 80px;
}

.terms-body p,
.terms-body h2 {
  text-align: left;
}

.terms-body p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.terms-body h2 {
  margin: 1.4em 0 0.5em;
  font-size: 22px;
  line-height: 1.35;
}
