/* ==========================================================
   martin-prokes.cz – hlavní styly
   Barvy:  modrá #0B2348 · zlatá #C9A35C · pozadí #F6F4EF
   ========================================================== */

:root{
  --navy:#0B2348;
  --navy-2:#13305C;
  --navy-dark:#071733;
  --gold:#C9A35C;
  --gold-light:#E2C68C;
  --gold-text:#9A7631;
  --bg:#F6F4EF;
  --white:#FFFFFF;
  --line:#E7E2D6;
  --text:#1E2A3D;
  --muted:#4A5568;
  --muted-2:#5A6578;
  --font-head:'Jost',sans-serif;
  --font-body:'Source Sans 3',sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--navy)}
a:hover{color:var(--gold-text)}
h1,h2,h3{font-family:var(--font-head);color:var(--navy);margin:0;line-height:1.15}
p{margin:0}

.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.eyebrow{margin:0 0 10px;font-family:var(--font-head);font-size:13px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--gold-text)}
.section{padding:96px 0}
.section h2{font-size:40px;font-weight:600;margin-bottom:48px}

/* Tlačítka */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:600;font-size:17px;padding:16px 28px;border-radius:4px;text-decoration:none;border:0;cursor:pointer;line-height:1.2}
.btn-gold{background:var(--gold);color:var(--navy-dark)}
.btn-gold:hover{background:#D9B672;color:var(--navy-dark)}
.btn-ghost{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.45);font-weight:500}
.btn-ghost:hover{border-color:var(--gold);color:#E9CF98}
.btn-small{font-size:15px;padding:12px 20px}

/* Hlavička */
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:88px}
.logo img{height:52px;width:auto}
.nav{display:flex;gap:32px;font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:.02em}
.nav a{color:var(--navy);text-decoration:none}
.nav a:hover,.nav a[aria-current="page"]{color:var(--gold-text)}

/* Hero */
.hero{background:var(--navy);position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;opacity:.22}
.hero .wrap{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end;gap:40px;padding-top:72px}
.hero-text{flex:1 1 480px;min-width:0;padding-bottom:88px;color:var(--white)}
.hero-text .eyebrow{color:var(--gold-light);font-size:14px;margin-bottom:18px}
.hero h1{color:var(--white);font-weight:600;font-size:58px;line-height:1.08;letter-spacing:-.01em}
.hero-lead{margin-top:24px;font-size:20px;line-height:1.55;color:#D3DAE6;max-width:520px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}
.hero-claim{margin-top:40px;font-family:'Caveat',cursive;font-size:34px;color:var(--gold-light);transform:rotate(-3deg);transform-origin:left}
.hero-photo{flex:1 1 380px;min-width:0;height:600px;position:relative;display:flex;justify-content:center;align-items:flex-end}
.hero-circle{position:absolute;width:470px;max-width:100%;aspect-ratio:1;bottom:70px;left:50%;transform:translateX(-50%);border-radius:50%;background:var(--navy-2);box-shadow:0 0 0 1px rgba(201,163,92,.55),0 0 0 22px rgba(201,163,92,.07)}
.hero-photo img{position:relative;height:100%;width:auto;max-height:100%;max-width:100%;object-fit:contain;object-position:bottom}

/* Pruh s čísly */
.stats{background:var(--white);border-bottom:1px solid var(--line)}
.stats .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-top:32px;padding-bottom:32px}
.stat strong{display:block;font-family:var(--font-head);font-size:32px;font-weight:600;color:var(--navy);line-height:1.3}
.stat span{font-size:15px;color:var(--muted-2)}

/* Služby */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}
.card{background:var(--white);border-radius:6px;padding:32px;border-top:3px solid var(--gold)}
.card h3{margin:18px 0 10px;font-size:22px;font-weight:600}
.card p{font-size:17px;line-height:1.55;color:var(--muted)}

/* Postup */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:32px}
.steps li{display:flex;flex-direction:column;gap:10px;border-top:1px solid #CFC8B8;padding-top:20px}
.steps .num{font-family:var(--font-head);font-size:44px;font-weight:600;color:var(--gold);line-height:1}
.steps h3{font-size:20px;font-weight:600}
.steps p{font-size:17px;line-height:1.55;color:var(--muted)}

/* Reference */
.refs-section{background:var(--navy)}
.refs-section .eyebrow{color:var(--gold-light)}
.refs-section h2{color:var(--white)}
.refs-featured{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.ref-big{margin:0;background:var(--navy-2);border-radius:6px;padding:32px;display:flex;flex-direction:column;gap:20px;border-top:3px solid var(--gold)}
.ref-big .quote-mark{font-family:var(--font-head);font-size:64px;line-height:.6;color:var(--gold);height:28px}
.ref-big blockquote{margin:0;font-size:18px;line-height:1.6;color:#E6EBF3}
.ref-big figcaption{margin-top:auto;display:flex;flex-direction:column;gap:2px}
.ref-name{font-family:var(--font-head);font-weight:600;font-size:17px;color:var(--white)}
.ref-deal{font-size:15px;color:#B7C2D4}
.refs-more{margin-top:40px;display:flex;justify-content:center}
.refs-grid{margin-top:24px;columns:3 300px;column-gap:20px}
.ref-small{margin:0 0 20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:6px;padding:24px;break-inside:avoid;display:flex;flex-direction:column;gap:14px}
.ref-small blockquote{margin:0;font-size:16px;line-height:1.6;color:#DCE3EE}
.ref-small figcaption{font-size:14px;color:#B7C2D4}
.ref-small figcaption b{color:var(--white);font-weight:600}

/* O mně */
.about .wrap{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.about-photo{flex:1 1 320px;min-width:0;display:flex;justify-content:center}
.about-photo img{width:360px;height:auto;aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 1px var(--gold),0 0 0 16px rgba(201,163,92,.12)}
.about-text{flex:1 1 520px;min-width:0}
.about-text h2{margin-bottom:20px}
.about-text .motto{margin-bottom:20px;font-family:var(--font-head);font-size:22px;font-weight:500;line-height:1.5;color:var(--navy)}
.about-text p{margin-bottom:16px;line-height:1.65;color:var(--muted)}
.about-text p:last-child{margin-bottom:0}

/* Kontakt */
.contact{background:var(--white);border-top:1px solid var(--line)}
.contact .wrap{display:flex;flex-wrap:wrap;gap:56px}
.contact-info{flex:1 1 360px;min-width:0}
.contact-info h2{margin-bottom:20px}
.contact-info > p{margin-bottom:32px;color:var(--muted)}
.contact-links{display:flex;flex-direction:column;gap:14px;font-size:19px}
.contact-links a{text-decoration:none;font-family:var(--font-head);font-weight:600}
.contact-form{flex:1 1 480px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;color:var(--text)}
.contact-form .full{grid-column:1/-1}
.contact-form input,.contact-form textarea{font:inherit;font-weight:400;padding:14px;border:1px solid #CFC8B8;border-radius:4px;background:#FBFAF7;color:var(--text)}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}
.contact-form textarea{resize:vertical}
.contact-form .consent{font-size:14px;font-weight:400;color:var(--muted-2)}
.contact-form button{justify-self:start}
.form-status{grid-column:1/-1;font-size:16px;margin:0}
.form-status.ok{color:#1F6F43}
.form-status.err{color:#A12C2C}
.hidden{display:none}

/* Podstránky */
.page-head{background:var(--navy);color:var(--white);padding:72px 0 64px}
.page-head .eyebrow{color:var(--gold-light)}
.page-head h1{color:var(--white);font-size:48px;font-weight:600}
.page-head p{margin-top:16px;color:#D3DAE6;max-width:640px}
.legal{max-width:860px}
.legal h2{font-size:28px;margin:40px 0 16px}
.legal h3{font-size:21px;margin:28px 0 10px}
.legal p,.legal li{color:var(--muted);line-height:1.7}
.legal p{margin-bottom:16px}
.placeholder{border:2px dashed var(--gold);background:#FFFBF1;padding:28px;border-radius:6px;color:var(--gold-text)}

/* Patička */
.site-footer{background:var(--navy-dark);color:#B7C2D4;padding:40px 0;font-size:15px}
.site-footer .wrap{display:flex;flex-direction:column;gap:24px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.footer-brand{font-family:var(--font-head);font-weight:600;letter-spacing:.14em;color:var(--white)}
.footer-brand span{color:var(--gold);font-weight:500}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 28px}
.footer-links a{color:var(--gold-light);text-decoration:none}
.footer-links a:hover{color:var(--white);text-decoration:underline}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:14px}
.footer-bottom a{color:#B7C2D4;text-decoration:none}
.footer-bottom a:hover{color:var(--white)}

/* Mobil */
@media (max-width:900px){
  body{font-size:17px}
  .wrap{padding:0 20px}
  .site-header .wrap{height:auto;flex-wrap:wrap;row-gap:10px;padding-top:12px;padding-bottom:12px}
  .nav{order:3;width:100%;gap:20px;font-size:15px;overflow-x:auto;white-space:nowrap;padding-bottom:2px}
  .logo img{height:42px}
  .hero h1{font-size:40px}
  .hero-text{padding-bottom:40px}
  .hero-photo{height:440px}
  .section{padding:64px 0}
  .section h2{font-size:32px;margin-bottom:32px}
  .page-head h1{font-size:36px}
  .contact-form{grid-template-columns:1fr}
}
@media (max-width:480px){
  .btn-small .btn-label{display:none}
  .btn{padding:14px 20px}
}
