/* Web kampaně podle podkladu Marketingu (zadani/pomahameobcim-web/css/style.css). Načítá ho jen web kampaně
   (pohled fpo_campaign.layout). Všechna pravidla platí jen uvnitř třídy fpo-web, aby se nepletla se styly Odoo.
   Firemní písmo FK Grotesk Neue podklad nemá, dokud nebude, použije se Arial. Při změně zvyšte číslo v ?v= v layout.xml. */

.fpo-web {
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --black: #000;
  --text: #333;
  --muted: #666;
  --grey: #E9E9E9;
  --white: #fff;
  --font: "FK Grotesk Neue", "FK Grotesk", Arial, Helvetica, sans-serif;
  --max: 1160px;
}

html { scroll-behavior: smooth; }
.fpo-web {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
.fpo-web img { max-width: 100%; height: auto; display: block; }
.fpo-web a { color: var(--red); }
.fpo-web h1, .fpo-web h2, .fpo-web h3 { font-family: var(--font); color: var(--black); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; }
.fpo-web h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.01em; }
.fpo-web h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.fpo-web h3 { font-size: 1.25rem; }
.fpo-web p { margin: 0 0 1em; }
.fpo-web .lead { color: var(--red); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.3; margin-bottom: 1.2em; }
.fpo-web .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* hlavička */
.fpo-web .header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid #eee; }
.fpo-web .header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.fpo-web .header .logo { flex-shrink: 0; }
.fpo-web .logo img { height: 36px; width: auto; }
.fpo-web .nav { display: flex; gap: 28px; align-items: center; }
.fpo-web .nav a { color: var(--black); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.fpo-web .nav a:hover, .fpo-web .nav a.active { color: var(--red); }
.fpo-web .nav a:focus-visible, .fpo-web .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.fpo-web .nav-toggle { display: none; }
@media (max-width: 1100px) {
  .fpo-web .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid #eee; align-items: stretch; }
  .fpo-web .nav a { padding: 16px 24px; border-top: 1px solid #eee; font-size: 1.05rem; }
  .fpo-web .nav.open { display: flex; }
  .fpo-web .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid var(--black); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; color: var(--black); cursor: pointer; }
  .fpo-web .nav-toggle::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
}

/* tlačítka */
.fpo-web .btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--red); color: var(--white); font-weight: 700; text-decoration: none;
  letter-spacing: .02em; transition: background .15s;
}
.fpo-web .btn:hover { background: var(--red-dark); color: var(--white); }
.fpo-web .btn.secondary { background: var(--white); color: var(--red); border: 2px solid var(--red); }
.fpo-web .btn.secondary:hover { background: #fdf2f2; color: var(--red); }

/* sekce */
.fpo-web .section { padding: 80px 0; }
.fpo-web .section.grey { background: var(--grey); }
.fpo-web .section.dark { background: #1a1a1a; color: #ddd; }
.fpo-web .section.dark h2 { color: var(--white); }
.fpo-web .two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.fpo-web .two.reverse > :first-child { order: 2; }
.fpo-web .photo { border-radius: 6px; overflow: hidden; }
.fpo-web .photo img { width: 100%; }

/* hero */
.fpo-web .hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.fpo-web .hero .wrap { position: relative; }
.fpo-web .hero-symbol {
  position: absolute; right: -40px; top: -20px; width: 420px; opacity: .08; pointer-events: none;
}
.fpo-web .hero .cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.fpo-web .hero .cta .note { align-self: center; color: var(--muted); font-size: .95rem; }

/* kroky */
.fpo-web .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.fpo-web .step { background: var(--white); padding: 32px 28px; border-radius: 6px; border-top: 6px solid var(--red); }
.fpo-web .step h3 { margin-top: 0; }
.fpo-web .step h3::before {
  counter-increment: step; content: counter(step) ". "; color: var(--red);
}
.fpo-web .step p { margin: 0; }

/* seznamy */
.fpo-web ul.check { list-style: none; padding: 0; margin: 0 0 1.5em; }
.fpo-web ul.check li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.fpo-web ul.check li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* reference */
.fpo-web .refs { display: grid; gap: 40px; margin-bottom: 32px; }
.fpo-web .ref { border-top: 1px solid #ccc; padding-top: 24px; }
.fpo-web .ref h3 { color: var(--red); margin-bottom: 12px; }
.fpo-web .ref-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; }
.fpo-web .ref-photos figure { margin: 0; }
.fpo-web .ref-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.fpo-web .ref-photos figcaption { font-weight: 700; color: var(--black); margin-top: 8px; font-size: .95rem; }

/* přínosy */
.fpo-web .benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fpo-web .benefits h3 { color: var(--red); margin-bottom: .3em; }
.fpo-web .benefits p { margin: 0; }

/* čísla */
.fpo-web .numbers { background: var(--black); color: var(--white); padding: 40px 0; }
.fpo-web .numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fpo-web .numbers-grid strong { display: block; font-size: 2.2rem; color: var(--white); line-height: 1.1; margin-bottom: 6px; }
.fpo-web .numbers-grid span { color: #bbb; font-size: .95rem; }

/* FAQ */
.fpo-web .faq details { background: var(--white); border-radius: 6px; margin-bottom: 12px; padding: 0 24px; }
.fpo-web .faq summary { cursor: pointer; font-weight: 700; color: var(--black); padding: 18px 36px 18px 0; list-style: none; position: relative; font-size: 1.05rem; }
.fpo-web .faq summary::-webkit-details-marker { display: none; }
.fpo-web .faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--white); text-align: center; line-height: 28px; font-size: 1.2rem; }
.fpo-web .faq details[open] summary::after { content: "−"; }
.fpo-web .faq details p { margin: 0 0 20px; }
.fpo-web .faq summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* média */
.fpo-web .media-list { list-style: none; padding: 0; margin: 0; }
.fpo-web .media-list li { border-top: 1px solid #ddd; padding: 18px 0; }
.fpo-web .media-list li:last-child { border-bottom: 1px solid #ddd; }
.fpo-web .media-list a { color: var(--black); font-weight: 700; text-decoration: none; display: block; }
.fpo-web .media-list a:hover { color: var(--red); }
.fpo-web .media-list span { color: var(--muted); font-size: .9rem; }

/* video */
.fpo-web .videos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fpo-web .video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.fpo-web .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* pásek */
.fpo-web .band { background: var(--red); color: var(--white); padding: 56px 0; text-align: center; }
.fpo-web .band h2 { color: var(--white); margin-bottom: .4em; }
.fpo-web .band p { max-width: 720px; margin: 0 auto 1.4em; font-size: 1.1rem; }
.fpo-web .band .btn { background: var(--white); color: var(--red); }
.fpo-web .band .btn:hover { background: #f5f5f5; color: var(--red); }

/* kontakty */
.fpo-web .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.fpo-web .contact-grid h3 { margin-bottom: .3em; }
.fpo-web .contact-grid dl { margin: 0; }
.fpo-web .contact-grid dt { font-weight: 700; color: var(--black); margin-top: 18px; }
.fpo-web .contact-grid dd { margin: 0; }
.fpo-web .person { background: var(--grey); padding: 32px; border-radius: 6px; }
.fpo-web .person .role { color: var(--muted); margin-bottom: 12px; }
.fpo-web .map-placeholder {
  background: var(--grey); border-radius: 6px; padding: 56px 24px; text-align: center; color: var(--muted);
}

/* patička */
.fpo-web .footer { background: #111; color: #bbb; padding: 48px 0 32px; font-size: .95rem; }
.fpo-web .footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.fpo-web .footer strong { color: var(--white); display: block; margin-bottom: 8px; }
.fpo-web .footer a { color: var(--white); }
.fpo-web .footer .copy { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 20px; margin-top: 16px; font-size: .85rem; color: #888; }

/* responzivita */
@media (max-width: 900px) {
  .fpo-web .two, .fpo-web .two.reverse { grid-template-columns: 1fr; gap: 32px; }
  .fpo-web .two.reverse > :first-child { order: 0; }
  .fpo-web .steps { grid-template-columns: 1fr; }
  .fpo-web .benefits { grid-template-columns: 1fr 1fr; }
  .fpo-web .numbers-grid { grid-template-columns: 1fr 1fr; }
  .fpo-web .videos { grid-template-columns: 1fr; }
  .fpo-web .ref-photos { gap: 8px; }
  .fpo-web .ref-photos figcaption { font-size: .8rem; }
  .fpo-web .contact-grid { grid-template-columns: 1fr; }
  .fpo-web .footer .wrap { grid-template-columns: 1fr; }
  .fpo-web .hero-symbol { display: none; }
  .fpo-web .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fpo-web .btn { transition: none; } }

/* Odoo: obal hlavičky a patičky netvoří box, hlavička je přilepená v rámci celé stránky. Bootstrap mění u .btn rámeček a řádkování. */
.fpo-web-obal { display: contents; }
.fpo-web .btn { border: 0; line-height: 1.6; font-size: 1rem; }
.fpo-web .btn.secondary { border: 2px solid var(--red); }
.fpo-web .faq summary { display: block; }
