/* ==========================================================================
   FYZIO PRO TLAPKY — stylesheet
   Obsah:
     1. Proměnné (barvy, typografie, rozestupy)
     2. Reset a základní nastavení
     3. Layout utility (container, sekce)
     4. Tlačítka a odkazy
     5. Hlavička a navigace
     6. Ikony (badge se SVG linkami)
     7. Hero sekce
     8. Sekce "Co trápí vašeho psa" (karty problémů)
     9. Sekce "Fyzioterapie podle potřeb" (seznam metod)
    10. Sekce "Jak probíhá první návštěva" (kroky)
    11. Sekce "Reference" (důvěra, testimonial)
    12. Sekce "O mně"
    13. FAQ
    14. CTA pás
    15. Kontakt a formulář
    16. Patička
    17. Cookie lišta a modální okno
    18. Media queries (tablet, mobil)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. PROMĚNNÉ
   Paleta vychází z loga (tmavá petrolejová linka na chladném šedozeleném
   podkladu) a je doplněná teplým pískovým akcentem pro drobné zvýraznění.
   -------------------------------------------------------------------------- */
:root{
  /* Barvy — značka */
  --ink:            #12363b;   /* tmavá petrolejová — nadpisy, text loga */
  --brand:          #0e4f55;   /* primární tlačítka, odkazy */
  --brand-dark:     #0a3b40;   /* hover stav primárních prvků */
  --brand-soft:     #e3edec;   /* jemné pozadí sekcí, badge ikon */
  --accent-sand:    #c99a63;   /* teplý akcent — citace, drobné zvýraznění */

  /* Barvy — neutrální */
  --bg:             #fbfbf9;   /* základní pozadí stránky */
  --bg-alt:         #eef3f2;   /* pozadí střídavých sekcí */
  --bg-hero-from:   #e4edec;   /* hero gradient — začátek */
  --border:         #dbe4e2;   /* jemné linky, okraje karet */
  --text:           #1f2d2c;   /* základní text */
  --text-muted:     #586866;   /* doplňkový, méně důležitý text */
  --white:          #ffffff;

  /* Typografie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Work Sans", Arial, Helvetica, sans-serif;

  /* Rozestupy a tvary */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px rgba(18, 54, 59, .10);
  --section-padding: 90px;
}


/* --------------------------------------------------------------------------
   2. RESET A ZÁKLADNÍ NASTAVENÍ
   -------------------------------------------------------------------------- */
*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a{
  color: inherit;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
}

img{
  max-width: 100%;
}


/* --------------------------------------------------------------------------
   3. LAYOUT UTILITY
   -------------------------------------------------------------------------- */
.container{
  width: min(1160px, 92%);
  margin: auto;
}

.narrow{
  max-width: 850px;
}

.eyebrow{
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.section-heading{
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.two-col h2,
.cta-box h2,
.contact h2{
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 15px;
}

.section-heading p:last-child{
  color: var(--text-muted);
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}


/* --------------------------------------------------------------------------
   4. TLAČÍTKA A ODKAZY
   -------------------------------------------------------------------------- */
.btn,
.nav-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .96rem;
  transition: background-color .15s ease, transform .15s ease;
}

.btn-primary,
.nav-cta{
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover,
.nav-cta:hover{
  background: var(--brand-dark);
}

.btn-secondary{
  border-color: var(--border);
  background: var(--white);
  color: var(--ink);
}

.btn-secondary:hover{
  border-color: var(--brand);
}

.btn-light{
  background: var(--white);
  color: var(--brand);
}

.text-link,
.hero-card-text a,
.service-card a{
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.hero-card-text a:hover,
.service-card a:hover{
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   5. HLAVIČKA A NAVIGACE
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 249, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding .25s ease;
}

.nav-wrap{
  min-height: 76px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo{
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.logo-image{
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: width .25s ease, height .25s ease;
}

/* Menší logo, jakmile se stránka posune — hlavička nezabírá zbytečné místo */
.site-header.is-scrolled .logo-image{
  height: 78px;
}

.site-header.is-scrolled .nav-wrap{
  padding: 5px 0;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: .94rem;
}

.main-nav a{
  text-decoration: none;
}

.main-nav a:hover{
  color: var(--brand);
}

.menu-toggle{
  display: none;
  border: 0;
  background: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--ink);
}


/* --------------------------------------------------------------------------
   6. IKONY — badge se SVG linkami (náhrada za emoji)
   -------------------------------------------------------------------------- */
.icon-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.icon-badge svg{
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge.lg{
  width: 96px;
  height: 96px;
}

.icon-badge.lg svg{
  width: 46px;
  height: 46px;
}


/* --------------------------------------------------------------------------
   7. HERO SEKCE
   -------------------------------------------------------------------------- */
.hero{
  background: linear-gradient(135deg, var(--bg-hero-from) 0%, var(--bg) 65%);
  padding: 90px 0 75px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.hero h1{
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.08;
  margin: 0 0 25px;
  color: var(--ink);
}

.hero h1 span{
  color: var(--brand);
}

.lead{
  font-size: 1.15rem;
  max-width: 700px;
  color: var(--text-muted);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-points{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .9rem;
  color: var(--text-muted);
}

.hero-points span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-soft);
}

.hero-dog{
  /*height: 240px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--brand);*/
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: #e5f0ea;
}

.hero-dog img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-dog svg{
  width: 110px;
  height: 110px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card-text p{
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   8. SEKCE "CO TRÁPÍ VAŠEHO PSA" — karty problémů
   -------------------------------------------------------------------------- */
.problem-section{
  padding: var(--section-padding) 0;
}

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-card h3{
  margin: 16px 0 8px;
  font-size: 1.2rem;
}

.service-card p{
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   9. SEKCE "FYZIOTERAPIE PODLE POTŘEB" — seznam metod
   -------------------------------------------------------------------------- */
.services{
  background: var(--bg-alt);
  padding: var(--section-padding) 0;
}

.method-list{
  display: grid;
  gap: 12px;
}

.method-list div{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
}

.method-list span{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
}


/* --------------------------------------------------------------------------
   10. SEKCE "JAK PROBÍHÁ PRVNÍ NÁVŠTĚVA" — kroky
   -------------------------------------------------------------------------- */
.process{
  padding: var(--section-padding) 0;
}

.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step{
  padding: 25px;
  border-top: 3px solid var(--brand);
}

.step span{
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--ink);
  font-weight: 800;
  font-family: var(--font-display);
}

.step h3{
  margin: 14px 0 5px;
  font-size: 1.1rem;
}

.step p{
  color: var(--text-muted);
}

.cooperation {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cooperation .eyebrow {
    margin: 20px;
}

.logo-petexpert {
    display: block;
    width: 180px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. SEKCE "REFERENCE" — důvěra, testimonial
   -------------------------------------------------------------------------- */
.trust{
  background: var(--brand-soft);
  padding: var(--section-padding) 0;
}

.trust-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-soft);
}

.testimonial .quote{
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--accent-sand);
  line-height: .6;
  margin-bottom: 10px;
}

.testimonial strong{
  display: block;
  margin-top: 14px;
  color: var(--ink);
}


/* --------------------------------------------------------------------------
   12. SEKCE "O MNĚ"
   -------------------------------------------------------------------------- */
.about{
  padding: var(--section-padding) 0;
}

.about-photo{
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.about-photo svg{
  width: 130px;
  height: 130px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq{
  padding: var(--section-padding) 0;
}

.faq details{
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq p{
  color: var(--text-muted);
  margin-bottom: 0;
}
.faq {
  scroll-margin-top: 50px;
}
[id] {
  scroll-margin-top: 50px;
}

/* --------------------------------------------------------------------------
   14. CTA PÁS
   -------------------------------------------------------------------------- */
.cta-section{
  padding: 0 0 var(--section-padding);
}

.cta-box{
  background: var(--ink);
  color: var(--white);
  border-radius: 32px;
  padding: 60px;
  text-align: center;
}

.cta-box .eyebrow{
  color: #a9cdc9;
}

.cta-box p{
  max-width: 700px;
  margin: 0 auto;
  color: #dcece9;
}


/* --------------------------------------------------------------------------
   15. KONTAKT A FORMULÁŘ
   -------------------------------------------------------------------------- */
.contact{
  background: var(--bg-alt);
  padding: var(--section-padding) 0;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact a{
  color: var(--brand);
  font-weight: 700;
}

.contact-note{
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form{
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.contact-form label{
  display: grid;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea{
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.contact-form textarea{
  min-height: 110px;
  resize: vertical;
}

.form-note{
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 28px auto;
}

.contact-buttons .btn {
  width: 190px;
  height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
}

.contact-buttons .btn-reserve {
  background-color: #c99a63;
  color: #fff;
  border: none;
}

.contact-buttons .btn-reserve:hover {
  background-color: #b88752;
}


.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.social-icons svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-icons a:first-child {
  color: rgba(24, 119, 242, .7);
  background: rgba(24, 119, 242, .07);
}

.social-icons a:last-child {
  color: rgba(228, 64, 95, .7);
  background: rgba(228, 64, 95, .07);
}

/* --------------------------------------------------------------------------
   16. PATIČKA
   -------------------------------------------------------------------------- */
.site-footer{
  background: var(--ink);
  color: #cfe2df;
  padding: 45px 0 20px;
}

.footer-grid{
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-links{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-button{
  color: #cfe2df;
}

.footer-button{
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.copyright{
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .8rem;
  color: #9fb5b1;
}


/* --------------------------------------------------------------------------
   17. COOKIE LIŠTA A MODÁLNÍ OKNO
   -------------------------------------------------------------------------- */
.cookie-banner{
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cookie-banner p{
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.cookie-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 360px;
}

.cookie-btn{
  appearance: none;
  -webkit-appearance: none;
  min-width: 150px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.cookie-btn-settings{
  background: var(--white);
  border: 1px solid var(--brand);
  color: var(--brand);
}

.cookie-btn-settings:hover{
  background: var(--brand-soft);
}

.cookie-btn-reject{
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.cookie-btn-reject:hover{
  border-color: var(--text-muted);
}

.cookie-btn-accept{
  background: var(--brand);
  border: 1px solid var(--brand);
  color: var(--white);
}

.cookie-btn-accept:hover{
  background: var(--brand-dark);
}

.cookie-banner[hidden],
.cookie-modal[hidden]{
  display: none;
}

.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 54, 59, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-dialog{
  position: relative;
  width: min(560px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
}

.cookie-dialog h2{
  font-size: 1.6rem;
}

.modal-close{
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink);
}

.cookie-row{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.cookie-row span{
  display: flex;
  flex-direction: column;
}

.cookie-row small{
  color: var(--text-muted);
}

.save-cookies{
  width: 100%;
  margin-top: 15px;
}


/* --------------------------------------------------------------------------
   18. MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 900px){
  .main-nav{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open{
    display: flex;
  }

  .menu-toggle{
    display: block;
  }

  .hero-grid,
  .two-col,
  .trust-grid,
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .cards{
    grid-template-columns: repeat(2, 1fr);
  }

  .steps{
    grid-template-columns: repeat(2, 1fr);
  }

  .hero{
    padding-top: 50px;
  }

  .hero-card{
    max-width: 600px;
  }

  .logo-image{
    width: 100px;
    height: 100px;
  }

  .site-header.is-scrolled .logo-image{
    width: 60px;
    height: 60px;
  }

  .cookie-banner{
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions{
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-btn{
    width: 100%;
  }
}

@media (max-width: 600px){
  .cards,
  .steps{
    grid-template-columns: 1fr;
  }

  .hero h1{
    font-size: 2.5rem;
  }

  .hero-actions{
    flex-direction: column;
  }

  .hero-actions .btn{
    width: 100%;
  }

  .cta-box{
    padding: 40px 22px;
  }

  .footer-grid{
    flex-direction: column;
  }

  .hero-points{
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *{
    transition: none !important;
  }
}
@media (max-width: 600px) {
  .contact-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .contact-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {

  .social-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-link {
    width: 100%;
    max-width: 300px;
    height: 46px;
  }

}

/* Mobilní zobrazení – zarovnání na střed Spolupracujeme */
@media (max-width: 768px) {
    .cooperation {
        justify-content: center;
        text-align: center;
    }

    .cooperation .eyebrow {
        text-align: center;
    }

    .logo-petexpert {
        width: 160px;
        height: auto;
    }
}
