/* Additions for the grooming site. Everything else comes from the DOG SPA stylesheets
   (normalize.css, webflow.css, spa-dog.webflow.css, dog-society.css) used unchanged. */

body { font-family: Montserrat, Poppins, sans-serif; }
main { display: block; }

/* image placeholder: shows the real photo as soon as the file exists */
.ph { position: relative; width: 100%; min-height: 320px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f1f1f1, #e3e3e3); color: #bdbdbd; }
.ph svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.tall { min-height: 420px; }
.ph.sq { min-height: 0; aspect-ratio: 1 / 1; }

.header-logo { height: auto; }
.nav-link.is-current { color: #f10023; }
.header-navigation .nav-link.odkazshop { white-space: nowrap; }

/* hero: gradient panel until a real photo is added */
.hero-background-image { background-image: linear-gradient(45deg, #c91977 28%, #f10023); }
.hero-background-image.photo { background-image: var(--hero-img); background-size: cover; background-position: center; }
@media screen and (max-width: 767px) {
  .hero-section { color: #333; background-image: none; }
  .hero-background-image { z-index: -1; background-image: linear-gradient(45deg, #c91977 28%, #f10023); opacity: .12; }
  .hero-background-image.photo { background-image: linear-gradient(rgba(0,0,0,.76), rgba(0,0,0,.8)), var(--hero-img); opacity: 1; }
  .hero-section .hero-text-wrapper.on-photo .heading, .hero-section .hero-text-wrapper.on-photo .paragraph { color: #fff; }
}

/* page title block for inner pages (the DOG SPA nav is absolutely positioned) */
.g-page-head { padding: 170px 30px 40px; text-align: center; }
.g-page-head .heading { color: #333; font-size: 50px; margin: 0 0 14px; }
.g-page-head .paragraph { max-width: 640px; margin: 0 auto; }
.g-h2 { font-family: Montserrat, sans-serif; color: #333; font-size: 40px; font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.g-text { font-family: Montserrat, sans-serif; font-weight: 500; font-size: 15px; line-height: 1.7; color: #333; margin: 0 0 14px; }
.section.pad-top { padding-top: 40px; }

.g-cols-4 { grid-template-columns: repeat(4, 1fr); }
.service-div.g-card { padding: 34px 24px 36px; justify-items: stretch; }
.service-div.g-card h3 { font-family: Montserrat, sans-serif; font-size: 18px; margin: 18px 0 6px; }
.service-div.g-card p { font-family: Montserrat, sans-serif; font-weight: 500; font-size: 13px; color: #555; }
.g-flag { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: #fff; border: 1px solid #eee; font-size: 32px; line-height: 70px; text-align: center; }
.g-num { width: 50px; height: 50px; margin: 0 auto; border-radius: 50%; background: #f10023; color: #fff; font: 800 16px/50px Montserrat, sans-serif; text-align: center; }

.g-comp { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.g-comp div.row { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: #f1f1f1; border: 1px solid #eee; border-radius: 20px 0; }
.g-comp .g-flag { width: 52px; height: 52px; line-height: 52px; font-size: 26px; margin: 0; flex: none; }
.g-comp strong { display: block; font-size: 15px; margin: 0; }
.g-comp span { font-size: 13px; color: #666; }

.g-split { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 0 24px; }
.g-split .ph { border-radius: 50px 0; }
.g-split.rev .ph { border-radius: 0 50px; }
.g-split.rev .g-media { order: 2; }

a.g-link-card { display: block; }
.g-testi { max-width: 820px; margin: 0 auto; padding: 46px 50px; text-align: center; background: #fff; border: 1px solid #eee; border-radius: 30px 0; transition: box-shadow .3s; }
a.g-testi:hover { box-shadow: 0 20px 52px 20px rgba(0,0,0,.08); }
.g-testi .block-quote { font-size: 18px; }
.g-testi .profile-div { margin: 18px 0 0; }
.g-testi .more { display: inline-block; margin-top: 18px; font: 700 12px Montserrat, sans-serif; letter-spacing: .3px; text-transform: uppercase; color: #f10023; }
.g-avatar { position: relative; width: 50px; height: 50px; flex: none; margin-right: 10px; overflow: hidden; border-radius: 50%; background: #f10023; color: #fff; font: 700 14px/50px Montserrat, sans-serif; text-align: center; }
.g-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-div .block-quote { text-align: center; margin-bottom: 18px; }
.service-div .profile-div { margin-bottom: 0; }
.g-stars { color: #f10023; letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }

.g-gallery { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 24px; }
.g-gallery .ph { min-height: 0; aspect-ratio: 1 / 1; border-radius: 30px 0; }
.g-gallery .ph:nth-child(even) { border-radius: 0 30px; }
.g-center { text-align: center; }
.g-center .button { display: inline-flex; margin-top: 30px; }

.app-wrapper.is-link { display: block; text-align: left; }
.app-wrapper.is-link .flex-div-vertical { width: auto; padding-right: 50px; align-items: flex-start; }
.form-container.is-link { display: block; max-width: 960px; margin: 0 auto; padding: 60px 50px; text-align: center; }
.form-container.is-link .app-heading { color: #fff; }
.form-container.is-link .app-paragraph { color: #d8d8d8; max-width: 560px; margin: 0 auto 20px; }
.form-container.is-link .button { display: inline-flex; margin: 0 auto; }

.g-faq { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.g-faq-group { margin-bottom: 40px; }
.g-faq details { margin-bottom: 14px; overflow: hidden; background: #f1f1f1; border: 1px solid #eee; border-radius: 30px 0; }
.g-faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 28px; font: 700 15px/1.4 Montserrat, sans-serif; color: #333; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: ""; position: absolute; top: 50%; right: 26px; width: 9px; height: 9px; border-right: 2px solid #f10023; border-bottom: 2px solid #f10023; transform: translateY(-70%) rotate(45deg); transition: transform .35s cubic-bezier(.19,1,.22,1); }
.g-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.g-faq .ans { padding: 0 28px 26px; font: 500 14px/1.75 Montserrat, sans-serif; color: #444; }

.g-empty { max-width: 640px; margin: 0 auto 100px; padding: 56px 28px; text-align: center; background: #f1f1f1; border: 1px dashed #ddd; border-radius: 30px 0; font: 600 14px Montserrat, sans-serif; color: #666; }

@media screen and (max-width: 991px) {
  .g-page-head { padding-top: 130px; }
  .g-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .g-split { grid-template-columns: 1fr; gap: 30px; }
  .g-split.rev .g-media { order: 0; }
  .g-gallery { grid-template-columns: repeat(2, 1fr); }
  .app-wrapper.is-link .flex-div-vertical { padding: 40px 30px; align-items: center; text-align: center; }
  .form-container.is-link { padding: 50px 30px; }
}
@media screen and (max-width: 767px) {
  .g-page-head .heading { font-size: 34px; }
  .g-h2 { font-size: 30px; }
  .g-testi { padding: 34px 24px; }
}
@media screen and (max-width: 479px) {
  .g-cols-4 { grid-template-columns: 1fr; }
  .g-page-head { padding: 110px 18px 30px; }
  .g-page-head .heading { font-size: 30px; }
  .g-h2 { font-size: 26px; }
  .g-gallery { gap: 10px; padding: 0 16px; }
  .form-container.is-link .app-heading { font-size: 26px; }
}

/* ---- fixes ---- */
.image-wrapper { flex: 1 1 50%; min-width: 0; }
.image-wrapper .ph { min-width: 0; }
.image-wrapper .ph.tall { min-height: 420px; }
.g-testi, .g-testi .block-quote, .g-testi h6, .g-testi .text-block-3 { color: #333; }
.g-testi .text-block-3 { color: #666; }
.form-container.is-link { background-image: linear-gradient(225deg, #000, #333); }
.footer-grid { grid-template-columns: minmax(0, 200px) 1fr max-content; align-items: start; }
.footer-div.first { display: flex; gap: 0; }
.footer-div.first .button { align-self: center; }
.copyright-div { grid-column: 1 / -1; }
@media screen and (max-width: 767px) {
  .footer-grid { grid-template-columns: .75fr 1fr; }
  .image-wrapper .ph.tall { min-height: 300px; }
}
@media screen and (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-div.first { display: block; }
  .footer-div.first .button { margin-left: auto; margin-right: auto; }
  .footer-logo-wrapper { justify-content: center; }
}


/* ---- header: DOG SPA logo + academy name ---- */
.brand-2.w-nav-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.header-logo.g-dogspa-logo { width: 104px; height: auto; max-width: none; }
.g-brand-name { font-family: Montserrat, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f10023; line-height: 1; white-space: nowrap; }
@media screen and (max-width: 991px) {
  .header-logo.g-dogspa-logo { width: 92px; }
}

/* ---- fix: photos next to text were squeezed into a thin strip on phones ---- */
@media screen and (max-width: 991px) {
  .story-content-bottom, .story-content-top { align-items: stretch; }
  .image-wrapper { flex: none; width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
  .image-wrapper .ph, .image-wrapper .ph.tall { min-height: 0; aspect-ratio: 4 / 5; }
  .story-content-bottom .split-content, .story-content-top .split-content { margin-bottom: 28px; }
}

/* ---- home hero in "The Dog Society" style ---- */
.g-hero-ds { position: relative; padding: 190px 24px 90px; color: #fff; background: #1d1d1f var(--hero-img) center / cover no-repeat; }
.g-hero-ds::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.66) 55%, rgba(0,0,0,.4) 100%); }
.g-hero-ds-inner { position: relative; max-width: 1060px; margin: 0 auto; }
.g-hero-ds-text { max-width: 640px; }
.g-hero-ds .eyebrow { font-family: Merriweather, serif; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.g-hero-ds h1 { font-size: 54px; line-height: 1.1; font-weight: 800; color: #fff; margin: 0 0 22px; }
.g-hero-ds p { font-size: 17px; line-height: 1.65; color: #fff; margin: 0 0 16px; }
.g-hero-ds p.accent { color: #ffb3d0; font-weight: 600; font-size: 19px; margin-top: 26px; }
.g-hero-ds .g-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.g-hero-ds .g-btn-outline { display: inline-block; padding: 16px 30px; border: 2px solid #fff; border-radius: 40px; color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.g-hero-ds .g-btn-outline:hover { background: #fff; color: #111; }
@media screen and (max-width: 767px) {
  .g-hero-ds { padding: 150px 20px 60px; }
  .g-hero-ds::before { background: rgba(0,0,0,.74); }
  .g-hero-ds h1 { font-size: 36px; }
  .g-hero-ds p { font-size: 16px; }
}

/* ---- courses page ---- */
.g-courses { max-width: 1060px; margin: 0 auto; padding: 0 24px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.g-courses .g-card { text-align: left; padding: 36px 32px; }
.g-courses .g-card h3 { margin-bottom: 14px; }
.g-courses .g-card p { line-height: 1.65; }
@media screen and (max-width: 767px) { .g-courses { grid-template-columns: 1fr; padding: 0 16px 60px; } }

/* ---- forms (sign-up + contact) ---- */
.g-formwrap { max-width: 720px; margin: 0 auto 100px; padding: 0 24px; }
.g-formwrap .g-form { background: #fff; padding: 36px 34px; border-radius: 40px 0; box-shadow: 0 10px 40px rgba(0,0,0,.07); }
.g-form label { display: block; margin-bottom: 18px; }
.g-form label > span { display: block; font: 700 12px Montserrat, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #333; margin-bottom: 7px; }
.g-form input[type=text], .g-form input[type=tel], .g-form input[type=email], .g-form select, .g-form textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; font: 500 15px Montserrat, sans-serif; color: #222;
  background: #f6f6f6; border: 2px solid transparent; border-radius: 14px; outline: none; transition: border-color .2s, background .2s; }
.g-form textarea { resize: vertical; min-height: 120px; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { border-color: #f10023; background: #fff; }
.g-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-submit { margin-top: 8px; }
.g-submit button.button { border: 0; cursor: pointer; font: inherit; }
.g-notice { padding: 16px 20px; border-radius: 14px; font: 600 14px/1.5 Montserrat, sans-serif; margin-bottom: 20px; }
.g-notice.ok { background: #e7f6ec; color: #1d6b3a; }
.g-notice.err { background: #fde8ea; color: #a1001a; }
.g-contact-grid { max-width: 1060px; margin: 0 auto 60px; padding: 0 24px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.g-contact-grid .g-card { text-align: left; padding: 36px 32px; }
.g-contact-grid .g-card h3 { margin: 0 0 20px; }
.g-detail dl { margin: 0; }
.g-detail dt { font: 700 12px Montserrat, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #f10023; margin-top: 18px; }
.g-detail dd { margin: 6px 0 0; font: 500 16px/1.6 Montserrat, sans-serif; color: #222; }
.g-detail a.link { color: #222; }
.g-askbox .g-form { background: none; padding: 0; box-shadow: none; }
@media screen and (max-width: 767px) {
  .g-contact-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .g-formwrap { padding: 0 16px; margin-bottom: 70px; }
  .g-formwrap .g-form { padding: 26px 20px; }
  .g-row2 { grid-template-columns: 1fr; gap: 0; }
}
.g-contact-grid > * { min-width: 0; box-sizing: border-box; width: 100%; }
.g-detail dd { overflow-wrap: anywhere; }
@media screen and (max-width: 767px) { .g-contact-grid .g-card { padding: 28px 22px; } }
.g-form { display: block; width: 100%; max-width: none; flex-direction: initial; grid-template-columns: none; gap: 0; }
.g-form .g-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.g-form label { width: 100%; }
.g-form .g-submit { display: block; width: auto; }
.g-form .g-submit button.button { display: inline-flex; width: auto; }
@media screen and (max-width: 767px) { .g-form .g-row2 { grid-template-columns: 1fr; gap: 0; } }
.g-askbox .g-form input, .g-askbox .g-form textarea { background: #fff; border-color: #e3e3e3; }
.g-askbox .g-form input:focus, .g-askbox .g-form textarea:focus { border-color: #f10023; }

/* ---- one-day seminars ---- */
.g-courses.g-courses--one { grid-template-columns: 1fr; max-width: 860px; }
.g-courses .g-card p { margin: 0 0 12px; }
.g-courses .g-card p strong { color: #f10023; }
