/* ============================================================
   Felnath Web — premium.css
   Loaded after style.css on every page. Site-wide polish +
   the new homepage (classes prefixed h-).
   ============================================================ */

:root {
  --ink: #070b14;
  --surface: #0f1524;
  --surface-2: #151c2e;
  --line: #222b42;
  --text: #e9edf6;
  --muted: #9ba5bc;
  --brand: #4f7cff;
  --brand-deep: #3a63e6;
  --marigold: #f2b544;
  --wa: #1fa855;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--body); background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; }

/* Remove decorative noise */
.cursor-glow, .floating, .hero-bg { display: none !important; }

/* Display type */
h1, h2, h3, .logo span, .footer-logo span, .section-title h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.section-title h2 { font-weight: 700; }

/* Calmer, solid CTAs */
.nav-btn, .primary-btn {
  background: var(--brand);
  box-shadow: none;
}
.nav-btn:hover, .primary-btn:hover { background: var(--brand-deep); transform: none; box-shadow: none; opacity: 1; }
.secondary-btn:hover { transform: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 3px;
}

.logo { text-decoration: none; }

/* Shared footer (rebuilt) */
.site-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.site-footer h4 { text-transform: none; letter-spacing: 0; font-family: var(--display); font-size: 1rem; }
.footer-nap { font-style: normal; color: var(--muted); line-height: 1.8; font-size: .95rem; margin-top: 14px; }
.footer-nap a { color: var(--text); text-decoration: none; }
.footer-nap a:hover { color: var(--marigold); }
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* Floating buttons: smaller, less shouty */
.whatsapp-float { background: var(--wa); }
.call-float { background: var(--surface-2); border: 1px solid var(--line); }

/* Lead form success state (all pages) */
.lead-form .form-note.is-ok { color: #6ee7a8; font-weight: 600; }
.lead-form .form-note.is-err { color: #fca5a5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.h-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.h-section { padding: 112px 0; }
.h-section + .h-section { border-top: 1px solid var(--line); }
.h-head { max-width: 640px; margin-bottom: 48px; }
.h-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 700; }
.h-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; margin-top: 16px; }
.h-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.h-link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.h-link:hover { color: var(--marigold); text-decoration-color: var(--marigold); }

.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.h-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.h-btn-wa { background: var(--wa); color: #fff; }
.h-btn-wa:hover { background: #18914a; }
.h-btn-brand { background: var(--brand); color: #fff; }
.h-btn-brand:hover { background: var(--brand-deep); }
.h-btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.h-btn-ghost:hover { border-color: var(--muted); }

/* Hero */
.h-hero { padding: 150px 0 88px; overflow: hidden; }
.h-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.h-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.h-hero-lead { color: var(--muted); font-size: 1.18rem; line-height: 1.65; margin-top: 24px; max-width: 34em; }
.h-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.h-proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.h-stars { color: var(--marigold); letter-spacing: 2px; font-size: 1.05rem; }
.h-proof a { color: var(--text); }

/* The memorable thing: real client sites, stacked */
.h-stack { position: relative; aspect-ratio: 1 / .86; margin-right: -40px; }
.h-shot { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.h-shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1a2134; border-bottom: 1px solid var(--line); }
.h-shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a4560; }
.h-shot-bar span { margin-left: 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-shot img { display: block; width: 100%; height: auto; }
.h-shot figcaption { display: none; position: absolute; left: 12px; bottom: 12px; background: rgba(7,11,20,.88); color: var(--text); font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.h-shot-1 { width: 82%; left: 0; top: 0; z-index: 1; }
.h-shot-2 { width: 66%; right: 0; top: 30%; z-index: 2; }
.h-shot-3 { width: 54%; left: 6%; bottom: 0; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .h-shot { animation: h-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .h-shot-2 { animation-delay: .15s; }
  .h-shot-3 { animation-delay: .3s; }
  @keyframes h-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* Client strip */
.h-clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.h-clients .h-wrap { display: flex; gap: 14px 40px; align-items: center; flex-wrap: wrap; }
.h-clients p { color: var(--muted); font-size: .95rem; }
.h-clients ul { list-style: none; display: flex; gap: 12px 36px; flex-wrap: wrap; }
.h-clients li { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--text); }

/* Work */
.h-work { display: grid; gap: 28px; }
.h-case { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.h-case:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.h-case:nth-child(even) .h-case-img { order: 2; }
.h-case-img { border-radius: 12px; overflow: hidden; display: block; }
.h-case-img img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.h-case-img:hover img { transform: scale(1.02); }
.h-case h3 { font-size: 1.8rem; line-height: 1.15; }
.h-case-meta { color: var(--marigold); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.h-case p { color: var(--muted); line-height: 1.65; margin: 14px 0 18px; }
.h-case ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.h-case li { padding-left: 22px; position: relative; color: var(--text); font-size: .98rem; }
.h-case li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--brand); }

/* Services list */
.h-services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.h-service { display: block; padding: 32px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s ease; }
.h-service:hover { background: var(--surface); }
.h-service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.h-service p { color: var(--muted); line-height: 1.6; font-size: .98rem; }
.h-service span { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.h-service:hover span { color: var(--marigold); }

.h-services-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .h-services-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .h-services-4 { grid-template-columns: 1fr; } }

/* Process (a real sequence, so numbered) */
.h-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.h-steps li { padding: 0 28px 0 0; counter-increment: step; }
.h-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--brand); color: var(--brand); font-family: var(--display); font-weight: 700; margin-bottom: 20px; }
.h-steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.h-steps p { color: var(--muted); line-height: 1.6; font-size: .97rem; }
.h-steps em { display: block; font-style: normal; color: var(--marigold); font-size: .88rem; font-weight: 600; margin-top: 10px; }

/* Reviews */
.h-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-review { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; }
.h-review blockquote { margin: 14px 0 22px; line-height: 1.65; color: var(--text); flex: 1; }
.h-review figcaption { color: var(--muted); font-size: .92rem; }
.h-review figcaption strong { color: var(--text); display: block; font-size: 1rem; }
.h-review-short { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.h-review-short span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--muted); }
.h-review-short b { color: var(--text); font-weight: 600; }

/* Founder */
.h-founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.h-founder img { width: 100%; height: auto; border-radius: 20px; display: block; aspect-ratio: 4/5; object-fit: cover; }
.h-founder h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; }
.h-founder p { color: var(--muted); line-height: 1.75; margin-top: 18px; font-size: 1.06rem; max-width: 38em; }
.h-founder .h-hero-cta { margin-top: 28px; }

/* Pricing */
.h-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-price { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.h-price.is-pick { border-color: var(--brand); }
.h-price h3 { font-size: 1.25rem; }
.h-price-amt { font-family: var(--display); font-size: 2.4rem; font-weight: 700; margin: 12px 0 4px; }
.h-price-amt small { font-size: 1rem; color: var(--muted); font-weight: 500; font-family: var(--body); }
.h-price p { color: var(--muted); line-height: 1.6; }
.h-price-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--marigold); border-radius: 999px; padding: 4px 10px; margin-left: 8px; vertical-align: middle; }

/* FAQ */
.h-faq { max-width: 820px; }
.h-faq details { border-bottom: 1px solid var(--line); }
.h-faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600; position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--brand); font-weight: 400; }
.h-faq details[open] summary::after { content: "–"; }
.h-faq details p { color: var(--muted); line-height: 1.7; padding: 0 0 24px; max-width: 46em; }
.h-faq a { color: var(--text); }

/* Final CTA + quick form */
.h-cta { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.h-cta h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.h-cta-lead { color: var(--muted); line-height: 1.7; margin: 18px 0 28px; font-size: 1.08rem; }
.h-direct { list-style: none; display: grid; gap: 12px; }
.h-direct a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.h-direct a:hover { color: var(--marigold); }
.h-direct svg { width: 22px; height: 22px; fill: currentColor; flex: none; color: var(--brand); }
.h-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.h-form h3 { font-size: 1.35rem; }
.h-form label { display: grid; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--text); }
.h-form label small { font-weight: 400; color: var(--muted); }
.h-form input, .h-form select, .h-form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font: inherit; font-weight: 400; font-size: 1rem; }
.h-form textarea { min-height: 96px; resize: vertical; }
.h-form .h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h-form button { width: 100%; }
.h-form .form-note { color: var(--muted); font-size: .9rem; min-height: 1.4em; }
.form-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

/* Abroad strip */
.h-abroad { padding: 40px 0; border-top: 1px solid var(--line); }
.h-abroad .h-wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
.h-abroad p { color: var(--muted); }
.h-abroad nav { display: flex; gap: 24px; flex-wrap: wrap; }
.h-abroad a { color: var(--text); font-weight: 600; }

/* Responsive */
@media (max-width: 980px) {
  .h-hero-grid, .h-cta, .h-founder { grid-template-columns: 1fr; }
  .h-founder img { max-width: 280px; }
  .h-stack { max-width: 620px; margin-right: 0; }
  .h-case, .h-case:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .h-case:nth-child(even) .h-case-img { order: 0; }
  .h-services { grid-template-columns: 1fr 1fr; }
  .h-steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .h-reviews, .h-prices { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .h-section { padding: 76px 0; }
  .h-hero { padding: 116px 0 56px; }
  .h-hero-cta .h-btn { flex: 1 1 100%; }
  .h-services { grid-template-columns: 1fr; }
  .h-steps { grid-template-columns: 1fr; }
  .h-case { padding: 18px; }
  .h-case h3 { font-size: 1.5rem; }
  .h-form { padding: 22px; }
  .h-form .h-two { grid-template-columns: 1fr; }
  .h-stack { aspect-ratio: 1 / .9; }
  .h-shot-bar span { font-size: .62rem; }
  .h-shot figcaption { font-size: .7rem; }
}

/* Contact page button matches site */
.contact-form button[type="submit"] { background: var(--brand); box-shadow: none; }
.contact-form button[type="submit"]:hover { background: var(--brand-deep); transform: none; }
