/*
Theme Name: Lepsza Postawa
Theme URI: https://www.lepszapostawa.pl
Author: Lepsza Postawa
Description: Edytowalny motyw gabinetu fizjoterapii dzieci i młodzieży — z usługami, zespołem i miejscem na kalendarz rezerwacji.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lepsza-postawa
*/

:root {
  --blue: #366177;
  --pink: #e64287;
  --sky: #8cc8e8;
  --cream: #fff7ef;
  --lilac: #eff2ff;
  --line: rgba(54, 97, 119, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { width: auto; height: auto; margin: 8px; padding: 12px; clip: auto; z-index: 100000; background: white; }

.page-header { padding: 34px 0 0; background: white; }
.header-shell {
  min-height: 164px;
  border-radius: 64px 64px 34px 34px;
  padding: 10px 7.5%;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 55px;
  background:
    radial-gradient(circle at 45% 40%, rgba(255,255,255,.93), transparent 32%),
    linear-gradient(100deg, #eaf4fb 0%, #d9ebf7 48%, #cfe5f5 100%);
}
.logo-link { width: 95px; height: 132px; overflow: hidden; display: block; }
.logo-link img { width: 100%; height: 100%; object-fit: contain; }
.primary-navigation .menu { margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(25px, 4.1vw, 62px); list-style: none; }
.primary-navigation a {
  padding: 10px 0 8px;
  border-bottom: 1px solid #1b1c1b;
  color: #1b1c1b;
  font: 400 clamp(11px, 1.1vw, 15px)/1.2 Arial, sans-serif;
  letter-spacing: .38em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--pink); border-color: var(--pink); }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.75); cursor: pointer; }
.nav-toggle > span:not(.screen-reader-text) { height: 2px; margin: 5px 0; display: block; background: var(--blue); }

.hero {
  min-height: 810px;
  padding: 28px 3.1% 38px;
  display: grid;
  grid-template-columns: 54% 46%;
  background:
    radial-gradient(ellipse at 46% 50%, rgba(232, 230, 251, .88) 0 28%, transparent 29%),
    linear-gradient(115deg, #fbf2fa 0%, #eef1ff 52%, #f2e1f6 100%);
}
.hero-copy { position: relative; z-index: 2; padding: 8px 0 0 10px; }
.hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--blue);
  font: 400 clamp(62px, 6.9vw, 104px)/.97 "DM Serif Display", Georgia, serif;
  letter-spacing: -.025em;
}
.hero h1 span { display: block; color: var(--pink); }
.hero-card {
  max-width: 545px;
  margin: 36px 0 0 -10px;
  padding: 18px 18px 45px 0;
  border-radius: 0 42px 42px 0;
  background: rgba(245, 246, 251, .84);
}
.hero-card p {
  max-width: 515px;
  margin: 0 0 42px;
  color: var(--blue);
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.27;
}
.button-row { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); flex-wrap: wrap; }
.pill {
  min-width: 228px;
  padding: 19px 30px;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(16px, 1.45vw, 23px);
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.pill:hover { transform: translateY(-2px); filter: brightness(.98); }
.pill-blue { color: white; background: var(--sky); }
.pill-light { border: 1px solid var(--sky); color: var(--blue); background: var(--cream); }
.hero-photo { min-height: 742px; align-self: stretch; border-radius: 110px 0 44px 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.subpage-hero {
  min-height: 660px;
  padding: 46px 4.5% 60px;
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: stretch;
  background:
    radial-gradient(ellipse at 48% 52%, rgba(232, 230, 251, .92) 0 27%, transparent 28%),
    linear-gradient(115deg, #fff5f8 0%, #eef2ff 56%, #f2e3f6 100%);
}
.subpage-copy { align-self: center; padding: 40px 6% 40px 0; }
.subpage-copy h1, .subpage-offer .section-intro h1 {
  margin: 0;
  color: var(--blue);
  font: 400 clamp(58px, 6vw, 94px)/.98 "DM Serif Display", Georgia, serif;
  letter-spacing: -.025em;
}
.subpage-copy h1 span { color: var(--pink); }
.subpage-copy > p:not(.small-label) { max-width: 660px; margin: 30px 0 38px; font-size: 20px; line-height: 1.55; }
.subpage-image { min-height: 560px; border-radius: 100px 0 42px 0; overflow: hidden; }
.subpage-image img { width: 100%; height: 100%; object-fit: cover; }

.content-split {
  padding: 110px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: start;
  background: var(--cream);
}
.content-split h2, .service-description h2, .service-contact h2 {
  margin: 0;
  font: 700 clamp(40px, 4vw, 62px)/1 "DM Serif Display", Georgia, serif;
}
.content-split > div:last-child > p { margin: 0 0 24px; font-size: 18px; line-height: 1.75; }
.method-tags { display: flex; gap: 12px; margin: 32px 0 40px; flex-wrap: wrap; }
.method-tags span {
  min-width: 105px;
  padding: 15px 22px;
  border: 1px solid var(--sky);
  border-radius: 999px;
  text-align: center;
  font: 700 16px/1 Arial, sans-serif;
}

.approach {
  min-height: 600px;
  padding: 48px 2%;
  display: grid;
  grid-template-columns: 53% 47%;
  background: var(--cream);
  overflow: hidden;
}
.approach-photo { align-self: center; height: 450px; border-radius: 30px; overflow: hidden; z-index: 2; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-copy { position: relative; min-height: 500px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 48% 52% 61% 39% / 58% 41% 59% 42%; }
.blob-green { width: 72%; height: 78%; top: -20px; right: -5%; background: #dce5bc; transform: rotate(-19deg); }
.blob-lilac { width: 68%; height: 64%; bottom: -28px; left: -16%; background: #e8e3fa; transform: rotate(16deg); }
.approach-content {
  position: relative;
  z-index: 3;
  width: min(570px, 86%);
  padding: 35px 42px;
  border-radius: 28px;
  background: rgba(255, 247, 239, .88);
  box-shadow: 0 18px 60px rgba(54, 97, 119, .08);
}
.approach h2, .section-intro h2, .scoliosis h2, .contact h2 {
  margin: 0;
  color: var(--blue);
  font: 700 clamp(46px, 5vw, 68px)/1 "DM Serif Display", Georgia, serif;
}
.approach-content p { margin: 22px 0 0; font-size: 17px; line-height: 1.55; }

.offer {
  padding: 80px 3.2% 105px;
  background: linear-gradient(100deg, #fff8ef 0%, #eff3ff 42%, #e9efff 100%);
}
.section-intro { text-align: center; margin: 0 auto 54px; }
.subpage-offer { padding-top: 100px; }
.subpage-offer .section-intro h1 { font-weight: 700; }
.section-intro > p, .small-label {
  margin: 0 0 10px;
  font: 400 14px/1.4 Arial, sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.service-list { display: grid; gap: 36px; }
.service-card {
  min-height: 320px;
  position: relative;
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
}
.service-card > img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 20px;
}
.service-info {
  position: relative;
  left: -10%;
  min-height: 250px;
  padding: 56px 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--cream);
}
.service-info h3 { margin: 0 0 20px; font: 700 clamp(23px, 2.1vw, 32px)/1.15 "DM Serif Display", Georgia, serif; }
.more-link { margin-bottom: 23px; font-size: 15px; }
.reserve {
  padding: 13px 20px;
  background: var(--sky);
  color: white;
  font-size: 15px;
  text-decoration: none;
}

.service-page { background: var(--cream); }
.service-detail-banner {
  height: 360px;
  margin: 0 5.8%;
  overflow: hidden;
  background: #f3f3f3;
}
.service-detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-body { width: min(730px, calc(100% - 44px)); margin: 0 auto; padding: 55px 0 90px; }
.service-detail-card {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs { margin: 0 0 28px; font: 13px/1.5 Arial, sans-serif; }
.service-detail-card h1 { margin: 0; font: 700 clamp(38px, 4vw, 52px)/1 "DM Serif Display", Georgia, serif; }
.service-subtitle { margin: 22px 0 28px; font-size: 18px; line-height: 1.5; }
.unavailable { margin: 18px 0; padding: 14px 16px; border-radius: 10px; background: #f5ddec; color: #78455b; line-height: 1.5; }
.service-facts { display: grid; grid-template-columns: auto auto 1fr; margin: 0 0 30px; border: 1px solid var(--line); }
.service-facts span { min-height: 58px; padding: 15px 16px; border-right: 1px solid var(--line); font: 700 16px/1.2 "Libre Baskerville", Georgia, serif; }
.service-facts span:last-child { border-right: 0; }
.service-facts small { display: none; }
.service-facts .service-place { font-size: 13px; font-weight: 400; line-height: 1.5; }
.service-detail-card .pill { min-width: 130px; padding: 14px 24px; border-radius: 0; font-size: 15px; }
.service-description {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.service-description h2, .service-contact h2 { margin: 0 0 20px; font-size: 28px; }
.service-description > p { margin: 0; font-size: 16px; line-height: 1.75; }
.service-contact {
  padding: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.service-contact p, .service-contact a { margin: 0; font-size: 15px; }

.gallery-section { padding: 90px 3.2% 110px; background: #e9e7e2; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  font: 700 clamp(18px, 1.7vw, 27px)/1.15 "DM Serif Display", Georgia, serif;
}
.gallery-grid figcaption b { font-weight: 700; }

.scoliosis {
  min-height: 690px;
  padding: 110px 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 15% 22%, rgba(255,255,255,.45), transparent 27%),
    linear-gradient(135deg, #eef3ff, #eaf0ff);
}
.scoliosis::before { content: ""; width: 140px; border-top: 1px solid var(--line); margin-bottom: 35px; }
.scoliosis > p:not(.small-label) { max-width: 780px; margin: 30px auto 38px; font-size: 19px; line-height: 1.6; }
.scoliosis .pill { min-width: 230px; }

.contact {
  padding: 110px 6%;
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 70px;
  background: var(--cream);
}
.contact-copy { padding-top: 40px; }
.contact-copy > p { max-width: 500px; margin: 30px 0; font-size: 18px; line-height: 1.7; }
.contact address { font-style: normal; font-size: 17px; line-height: 1.55; }
.contact form {
  padding: 50px;
  border-radius: 38px;
  display: grid;
  gap: 24px;
  background: rgba(255, 250, 245, .95);
  box-shadow: 0 16px 44px rgba(54, 97, 119, .08);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact label { display: grid; gap: 10px; font-size: 13px; }
.contact input, .contact textarea {
  width: 100%;
  border: 1px solid rgba(54,97,119,.18);
  border-radius: 10px;
  padding: 15px;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 15px;
}
.contact textarea { resize: vertical; }
.contact .consent-field { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 12px; line-height: 1.5; }
.contact .consent-field input { width: 17px; height: 17px; margin-top: 1px; }
.contact button {
  border: 0;
  border-radius: 999px;
  padding: 15px;
  color: white;
  background: var(--sky);
  font: inherit;
  cursor: pointer;
}

.location { padding: 40px 3%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--cream); }
.location-card, .map-card { min-height: 370px; border-radius: 14px; overflow: hidden; }
.location-card {
  padding: 52px 44px;
  background: linear-gradient(115deg, #dce7ff, #fff7ef);
}
.location-card h2 { margin: 0 0 30px; font: 400 27px/1.2 "Libre Baskerville", Georgia, serif; }
.location-card strong { display: block; margin-bottom: 42px; font: 700 clamp(28px, 3vw, 42px)/1.15 "DM Serif Display", Georgia, serif; }
.location-card .pill { min-width: 200px; }
.map-card { padding: 20px; background: #eeeae5; }
.map-card iframe { width: 100%; height: 100%; min-height: 330px; border: 0; }

footer {
  min-height: 250px;
  padding: 45px 5%;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--sky);
  background: linear-gradient(100deg, #dcecf7, #f3eff8);
}
footer img { width: 95px; height: 128px; object-fit: contain; }
footer h2, footer h3 { margin: 0 0 12px; color: var(--sky); font: 700 30px/1.1 "DM Serif Display", Georgia, serif; }
footer p { margin: 0; line-height: 1.7; }

.prose { font-size: 17px; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: var(--blue); font-family: "DM Serif Display", Georgia, serif; line-height: 1.1; }
.prose h2 { font-size: clamp(32px, 4vw, 48px); }
.prose h3 { font-size: 28px; }
.prose li { margin: 8px 0; }
.prose a:not(.pill) { text-decoration-color: var(--pink); text-underline-offset: 4px; }
.methods .wp-block-list { margin: 26px 0 34px; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; list-style: none; }
.methods .wp-block-list li { min-width: 105px; padding: 15px 22px; border: 1px solid var(--sky); border-radius: 999px; text-align: center; font: 700 16px/1 Arial, sans-serif; }

.team-section { padding: 100px 4% 120px; background: linear-gradient(105deg, #fff8ef, #eef2ff); }
.demo-note { width: min(900px, 100%); margin: 0 auto 42px; padding: 17px 20px; border: 1px solid #dfb85b; border-radius: 14px; background: #fff9df; color: #654f23; font: 14px/1.6 Arial, sans-serif; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-card { min-width: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--cream); box-shadow: 0 18px 44px rgba(54,97,119,.08); }
.team-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e9eff6; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.team-card:hover .team-photo img { transform: scale(1.025); }
.team-card-body { padding: 30px 28px 34px; }
.team-card-body h3 { margin: 7px 0 8px; font: 700 clamp(27px, 2.5vw, 38px)/1.05 "DM Serif Display", Georgia, serif; }
.team-card-body h3 a { text-decoration: none; }
.team-role { margin: 0; color: var(--pink); font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.team-experience { margin: 0 0 18px; font-weight: 700; }
.team-card-body > p:not(.team-role):not(.team-experience) { min-height: 90px; font-size: 15px; line-height: 1.6; }

.profile-page { background: var(--cream); }
.profile-hero { padding: 70px 8% 90px; display: grid; grid-template-columns: minmax(300px, 43%) 1fr; gap: 8%; align-items: center; background: linear-gradient(115deg, #fff5f8, #eef2ff 56%, #f2e3f6); }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 80px 0 36px 0; overflow: hidden; background: #e8edf4; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy h1 { margin: 8px 0 24px; font: 400 clamp(52px, 6vw, 88px)/.98 "DM Serif Display", Georgia, serif; }
.profile-experience { margin: 0 0 16px; color: var(--pink); font-weight: 700; }
.profile-specializations { max-width: 620px; margin: 0 0 32px; font-size: 18px; line-height: 1.6; }
.profile-copy .demo-note { margin: 0 0 28px; }
.profile-content { width: min(850px, calc(100% - 44px)); margin: 0 auto; padding: 80px 0 44px; }
.profile-back { width: min(850px, calc(100% - 44px)); margin: 0 auto; padding: 0 0 90px; }

.booking-page { min-height: 650px; background: linear-gradient(130deg, #fff8ef, #eef3ff); }
.booking-hero { padding: 90px 8% 45px; text-align: center; }
.booking-hero h1 { margin: 0; font: 400 clamp(58px, 7vw, 96px)/1 "DM Serif Display", Georgia, serif; }
.booking-hero > p:last-child { max-width: 650px; margin: 24px auto 0; font-size: 18px; line-height: 1.65; }
.booking-shell { width: min(1120px, calc(100% - 44px)); margin: 0 auto; padding: 10px 0 100px; }
.booking-placeholder { padding: 60px; border: 1px solid var(--line); border-radius: 32px; text-align: center; background: rgba(255,255,255,.82); }
.booking-placeholder h2 { margin: 0; font: 700 clamp(34px, 4vw, 54px)/1.05 "DM Serif Display", Georgia, serif; }
.booking-placeholder p { max-width: 720px; margin: 24px auto 34px; font-size: 17px; line-height: 1.7; }
.booking-placeholder .button-row { justify-content: center; }

.page-content { width: min(920px, calc(100% - 44px)); min-height: 480px; margin: 0 auto; padding: 90px 0; }
.seo-content { width: min(920px, calc(100% - 44px)); margin: 0 auto; padding: 90px 0; }
.seo-content h2 { margin-top: 56px; }
.seo-content h3 { margin-top: 36px; }
.not-found { min-height: 620px; padding: 120px 8%; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(115deg, #fff5f8, #eef2ff); }
.not-found h1 { max-width: 780px; margin: 0; font: 400 clamp(54px, 7vw, 96px)/1 "DM Serif Display", Georgia, serif; }
.not-found > p:not(.small-label) { max-width: 620px; margin: 28px 0 36px; font-size: 18px; line-height: 1.7; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-status.success { color: #28543a; background: #e3f4e8; }
.form-status.error { color: #78455b; background: #f5ddec; }
.empty-state { padding: 40px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.wp-block-image img { height: auto; }
.alignwide { width: min(1120px, 100%); margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.admin-bar .page-header { margin-top: 0; }

@media (max-width: 980px) {
  .page-header { padding-top: 16px; }
  .header-shell { min-height: auto; border-radius: 34px; padding: 16px 22px; grid-template-columns: 72px 1fr; gap: 22px; }
  .logo-link { width: 65px; height: 88px; }
  .primary-navigation .menu { justify-content: flex-start; gap: 18px; overflow-x: auto; padding-bottom: 8px; }
  .primary-navigation a { font-size: 9px; letter-spacing: .22em; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 46px 22px; }
  .hero-photo { min-height: 0; height: min(590px, 78vw); margin-top: 30px; border-radius: 70px 0 28px 0; }
  .hero-card { max-width: 100%; }
  .subpage-hero { grid-template-columns: 1fr; padding: 48px 22px 60px; }
  .subpage-copy { padding: 30px 0 45px; }
  .subpage-image { min-height: 0; height: min(580px, 72vw); border-radius: 70px 0 30px 0; }
  .content-split { grid-template-columns: 1fr; gap: 42px; padding: 80px 7%; }
  .approach { grid-template-columns: 1fr; padding: 38px 22px 70px; }
  .approach-photo { height: 56vw; min-height: 310px; }
  .approach-copy { min-height: 520px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card > img { height: 280px; max-height: none; }
  .service-info { left: 0; width: 90%; margin: -55px auto 0; min-height: 220px; padding: 38px; }
  .service-detail-banner { height: min(360px, 35vw); margin: 0 3%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .scoliosis { padding: 90px 8%; }
  .contact { grid-template-columns: 1fr; padding: 80px 22px; }
  .contact form { padding: 32px; }
  .location { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .profile-hero { grid-template-columns: minmax(260px, 43%) 1fr; gap: 6%; padding: 60px 5% 75px; }
  footer { grid-template-columns: 90px 1fr; }
  footer > p:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .header-shell { grid-template-columns: 65px 1fr; }
  .nav-toggle { justify-self: end; }
  .js .nav-toggle { display: block; }
  .primary-navigation { grid-column: 1 / -1; width: 100%; }
  .js .primary-navigation { display: none; }
  .js .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { padding: 12px 0 4px; flex-direction: column; align-items: stretch; gap: 0; overflow: visible; }
  .primary-navigation li { width: 100%; }
  .primary-navigation a { padding: 13px 4px; display: block; font-size: 10px; }
  .team-grid { grid-template-columns: 1fr; width: min(520px, 100%); margin: 0 auto; }
  .team-card-body > p:not(.team-role):not(.team-experience) { min-height: 0; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-photo { width: min(520px, 100%); margin: 0 auto; }
  .booking-placeholder { padding: 40px 24px; }
}

@media (max-width: 620px) {
  .logo-link { margin: 0; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .subpage-copy h1, .subpage-offer .section-intro h1 { font-size: clamp(47px, 14vw, 70px); }
  .hero-card p { font-size: 16px; }
  .pill { min-width: 190px; font-size: 17px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .contact form { padding: 26px 20px; }
  .service-facts { grid-template-columns: 1fr 1fr; }
  .service-facts .service-place { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .location-card { padding: 42px 24px; }
  .team-section { padding: 72px 22px 90px; }
  .profile-copy h1 { font-size: clamp(46px, 14vw, 70px); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img { margin: 0 auto; }
  footer > p:last-child { grid-column: auto; }
}

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