/*
Theme Name: Slapy Point
Theme URI: https://slapypoint.cz/
Author: Slapy Point
Description: Lehká responzivní šablona pro rozcestník značek Slapy Point.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: slapy-point
*/

:root {
  --navy: #0d3555;
  --navy-deep: #08263e;
  --ink: #163247;
  --cream: #f3e3c8;
  --paper: #f7f3ea;
  --white: #fffdf9;
  --muted: #60717c;
  --line: #ded8cd;
  --shadow: 0 18px 54px rgba(13, 53, 85, .12);
  --radius: 22px;
  --shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 104px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100000; padding: 12px 18px; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 18px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); }
.admin-bar .site-header { top: 32px; }
.site-header-solid { position: relative; color: var(--navy); background: var(--white); border-color: var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 5px 20px rgba(0,0,0,.2); object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 11px 0; color: inherit; text-decoration: none; font-size: .92rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 860px; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,34,54,.88), rgba(7,34,54,.38) 64%, rgba(7,34,54,.55)), var(--hero-image); background-position: center; background-size: cover; background-repeat: no-repeat; transform: scale(1.02); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 40%, rgba(0,0,0,.28)); }
.hero-content { position: relative; padding-top: 118px; }
.hero-logo { width: 178px; height: auto; margin-bottom: 28px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.22)); }
.eyebrow, .section-kicker { margin: 0 0 14px; font-size: .78rem; line-height: 1.3; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: var(--cream); }
.hero h1, .page-hero h1, .intro h2, .section-heading h2, .contact-strip h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(4rem, 7.5vw, 7.2rem); line-height: .91; }
.hero-lead { max-width: 650px; margin: 30px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--cream); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); }
.button-dark { color: var(--white); background: var(--navy); }
.scroll-cue { position: absolute; right: 5vw; bottom: 38px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.84); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: minmax(180px, .7fr) 2.2fr; gap: 80px; align-items: start; }
.section-kicker { color: #9b6a34; }
.intro h2, .section-heading h2, .contact-strip h2 { margin: 0; font-size: clamp(2.4rem, 4.2vw, 4.1rem); line-height: 1.04; }
.intro p:not(.section-kicker) { max-width: 770px; margin: 26px 0 0; color: var(--muted); font-size: 1.18rem; }

.brands { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-heading > p { max-width: 370px; margin: 0 0 8px; color: var(--muted); }
.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.brand-card { flex: 0 1 calc((100% - 84px) / 4); min-width: 270px; max-width: 360px; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(13,53,85,.08); transition: transform .28s ease, box-shadow .28s ease; }
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.brand-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.brand-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5df; }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brand-card:hover .brand-photo img { transform: scale(1.045); }
.brand-body { position: relative; min-height: 315px; padding: 68px 28px 28px; border-top: 4px solid var(--brand); }
.brand-logo { position: absolute; top: -48px; left: 25px; width: 94px; height: 94px; border: 5px solid var(--white); border-radius: 50%; background: var(--white); box-shadow: 0 8px 24px rgba(13,53,85,.18); object-fit: cover; }
.brand-body h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.62rem; font-weight: 400; }
.brand-body p { margin: 0; color: var(--muted); }
.card-cta { position: absolute; inset: auto 28px 28px; display: flex; justify-content: space-between; align-items: center; padding-top: 17px; border-top: 1px solid var(--line); color: var(--brand); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-cta span { font-size: 1.15rem; }

.contact-strip { background: var(--cream); }
.contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-strip p:not(.section-kicker) { max-width: 620px; margin: 18px 0 0; color: #526570; font-size: 1.08rem; }
.site-footer { padding: 46px 0 24px; color: rgba(255,255,255,.78); background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(340px, 1.35fr) minmax(280px, 1fr); align-items: center; gap: 32px; }
.footer-brand { justify-self: start; color: var(--white); }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.footer-operator { margin: 0; text-align: left; font-size: .82rem; line-height: 1.55; }
.footer-operator strong, .footer-operator span { display: block; }
.footer-operator strong { margin-bottom: 4px; color: var(--white); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-operator span { color: rgba(255,255,255,.62); }
.site-footer nav { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: inherit; text-decoration: none; font-size: .84rem; }
.site-footer nav a:hover { color: var(--white); }
.footer-bottom { margin-top: 28px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); text-align: center; font-size: .78rem; }

.contact-page, .content-page { min-height: 80vh; }
.page-hero { padding: 110px 0 92px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.page-hero-inner { max-width: 820px; }
.page-hero h1 { margin: 0; font-size: clamp(3.8rem, 8vw, 7rem); line-height: .96; }
.page-hero p:last-child { margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-card { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 26px; min-height: 260px; padding: 30px; background: var(--white); border-radius: var(--radius); border-top: 5px solid var(--brand); box-shadow: 0 1px 0 rgba(13,53,85,.08); }
.contact-card > img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.contact-card h2 { margin: 4px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; }
.contact-card p { margin: 0 0 12px; color: var(--muted); }
.contact-card a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-card .text-link { position: absolute; left: 168px; bottom: 27px; color: var(--brand); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }

.prose { max-width: 820px; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { margin: 2.1em 0 .65em; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.prose h3 { font-size: 1.55rem; }
.prose p, .prose li { color: #405866; font-size: 1.04rem; }
.prose a { color: var(--navy); text-underline-offset: 3px; }

*:focus-visible { outline: 3px solid #d99f5a; outline-offset: 4px; }

@media (max-width: 1100px) {
  .brand-card { flex-basis: calc((100% - 56px) / 3); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-operator { grid-column: 1 / -1; grid-row: 2; justify-self: center; text-align: center; }
}

@media (max-width: 820px) {
  :root { --shell: min(720px, calc(100% - 32px)); }
  .section { padding: 76px 0; }
  .site-header { color: var(--navy); background: rgba(255,253,249,.96); border-color: var(--line); }
  .header-inner { min-height: 76px; }
  .brand img { width: 52px; height: 52px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; inset: 76px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; color: var(--navy); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(13,53,85,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 112px; text-align: center; }
  .hero-logo { width: 158px; margin-inline: auto; }
  .hero h1 { font-size: clamp(3.4rem, 14vw, 5rem); }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .scroll-cue { left: 50%; right: auto; transform: translateX(-50%); }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .brand-card { flex-basis: calc((100% - 28px) / 2); }
  .contact-strip-inner { display: block; }
  .contact-strip .button { margin-top: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); --radius: 18px; }
  .section { padding: 62px 0; }
  .brand span { display: none; }
  .hero { min-height: 760px; }
  .hero-bg { background-position: 57% center; }
  .hero-logo { width: 138px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .scroll-cue span { display: none; }
  .intro h2, .section-heading h2, .contact-strip h2 { font-size: 2.38rem; }
  .brand-card { flex-basis: 100%; max-width: none; }
  .brand-body { min-height: 286px; }
  .contact-strip-inner { text-align: center; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-operator { grid-column: auto; grid-row: auto; }
  .site-footer nav { justify-self: center; justify-content: center; }
  .page-hero { padding: 84px 0 70px; }
  .contact-card { grid-template-columns: 84px 1fr; gap: 18px; min-height: 270px; padding: 24px; }
  .contact-card > img { width: 84px; height: 84px; }
  .contact-card .text-link { left: 126px; }
}

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