/* R|F Aurora Energie – energie.rfaurora.cz */
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(../fonts/sg-latinext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../fonts/sg-latinext-500.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../fonts/sg-latinext-600.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(../fonts/sg-latinext-700.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(../fonts/sg-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../fonts/sg-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../fonts/sg-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(../fonts/sg-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --lime: #C8E621; --ink: #2B2D2F; --night: #0F1B24; --paper: #F4F5F1; --white: #FFFFFF;
  --muted: #555B61; --line: #E2E4DE; --field: #D6D9D2; --olive: #5C6B00; --soft: #C9D1D6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; }
a { color: var(--ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d4ef3b; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #1c1e20; color: var(--white); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* hlavička a hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); }
.hero .aurora { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.top { position: relative; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; color: var(--white); text-decoration: none; }
.logo b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 20px; letter-spacing: 2px; }
.logo span { font-size: 11px; letter-spacing: 3px; color: var(--lime); font-weight: 600; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.menu a { color: #E4E8EB; text-decoration: none; }
.menu a:hover { color: var(--white); text-decoration: underline; }
.hero-in { position: relative; padding-top: 88px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-txt { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 13px; letter-spacing: 2px; font-weight: 600; color: var(--lime); border: 1px solid rgba(200,230,33,.5); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; font-weight: 700; letter-spacing: -1px; }
.hero .lead { font-size: 20px; color: var(--soft); max-width: 580px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges span { font-size: 14px; color: #E4E8EB; background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: 999px; }

/* formulář */
.card-form { flex: 1 1 360px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.card-form h2 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; padding: 13px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--white); color: var(--ink); min-width: 0; width: 100%; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink); outline: none; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.chk input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.chk a { color: var(--muted); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #B3261E; font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 14px; min-height: 44px; border-radius: 999px; cursor: pointer; background: var(--white); color: var(--ink); border: 1.5px solid var(--field); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grp { display: flex; flex-direction: column; gap: 8px; }
.grp > span { font-size: 14px; font-weight: 600; }
.done { display: flex; flex-direction: column; gap: 14px; }
.done .ok { width: 56px; height: 56px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.done p { color: var(--muted); }
.box { background: var(--paper); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.steps-lbl { font-size: 13px; color: var(--muted); }

/* sekce */
.sec { padding-top: 96px; padding-bottom: 96px; }
.sec-white { background: var(--white); }
.eyebrow { font-size: 13px; letter-spacing: 2px; font-weight: 600; color: var(--olive); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.sec-head p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 420px; }
.txt { font-size: 17px; line-height: 1.6; color: var(--muted); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; font-weight: 600; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card .price { margin-top: auto; font-size: 15px; font-weight: 600; }
.card .price:empty { display: none; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.card.dark { background: var(--ink); color: var(--white); }
.card.dark p { color: var(--soft); }
.card.dark .ico { background: var(--lime); }
.card.dark a { color: var(--lime); font-weight: 600; text-decoration: none; margin-top: auto; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--paper); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-size: 20px; font-weight: 700; line-height: 1.2; }
.tile span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.tile.lime { background: var(--lime); }
.tile.lime span { color: var(--ink); }
.support { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.support .card { gap: 18px; }
.support h3 { font-size: 26px; font-weight: 700; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rows b { white-space: nowrap; }
.card.dark .rows { border-color: rgba(255,255,255,.14); }
.card.dark .rows div { border-color: rgba(255,255,255,.14); }
.card.dark .rows b { color: var(--lime); }
.card.dark .eyebrow { color: var(--lime); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; }
.step i { font-style: normal; font-size: 15px; font-weight: 700; color: var(--olive); }
.step b { font-size: 19px; font-weight: 600; }
.step span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.prep { background: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-self: flex-start; }
.prep h3 { font-size: 22px; font-weight: 700; }
.prep li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.prep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.prep svg { flex: none; margin-top: 1px; }
.person { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.person img { flex: none; width: 180px; height: 180px; border-radius: 999px; object-fit: cover; background: var(--line); }
.person > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.person h2 { font-size: 34px; font-weight: 700; }
.person .tel { align-self: flex-start; font-size: 20px; font-weight: 600; text-decoration: none; }
.faq { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq details { background: var(--white); border-radius: 16px; padding: 20px 24px; }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); white-space: pre-line; }
.cta { background: var(--lime); border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.cta p { font-size: 17px; margin-top: 10px; }

/* patička */
.foot { background: var(--ink); color: var(--white); }
.foot-in { padding-top: 64px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; flex: 1 1 220px; font-size: 15px; color: var(--soft); line-height: 1.5; }
.foot-in b { color: var(--white); font-weight: 600; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .brandline { font-size: 13px; letter-spacing: 3px; color: var(--lime); font-weight: 600; }
.foot .serif { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; letter-spacing: 2px; color: var(--white); }
.foot-bar { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9FAAB2; }

/* jednoduchá textová stránka (zásady) */
.doc { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: 36px; margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: #3a3e42; }
.doc p + p { margin-top: 10px; }
.doc-top { background: var(--night); padding: 20px 0; }

@media (max-width: 720px) {
  .menu { display: none; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .hero .lead { font-size: 18px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .card { padding: 24px; }
  .card-form { padding: 22px; }
  .cta { padding: 36px 24px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { padding: 18px; }
  .tile b { font-size: 17px; }
  .person img { width: 132px; height: 132px; }
  .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
