Files
gw-svelte/src/lib/styles/responsive.css
T

689 lines
11 KiB
CSS
Raw Normal View History

2026-05-02 08:26:18 +12:00
@media (max-width: 1024px) {
nav,
.mobile-menu {
padding-left: 30px;
padding-right: 30px;
}
#hero {
padding-left: 30px;
padding-right: 30px;
}
.promise-inner,
.services-inner,
.values-inner,
.testimonials-inner,
.info-inner,
.form-inner {
padding-left: 30px;
padding-right: 30px;
}
footer {
padding-left: 30px;
padding-right: 30px;
}
.hero-text h1 {
font-size: 40px;
}
}
@media (max-width: 768px) {
2026-05-06 08:27:24 +12:00
/*
* Mobile body type bumps to 16px — modern legibility standard, and
* matches the iOS-Safari zoom-on-focus threshold. Reserve room at
* the bottom of the page for the sticky MobileBookBar so the footer
* never sits behind it; the bar adds its own safe-area-inset
* padding on top of this.
*/
body {
font-size: 16px;
2026-05-07 21:47:42 +12:00
}
body.mobile-cta-enabled {
2026-05-06 08:27:24 +12:00
padding-bottom: 64px;
}
2026-05-02 08:26:18 +12:00
@keyframes mobileMenuBounceIn {
0% {
opacity: 0;
transform: translateY(-10px) scaleY(0.98);
}
70% {
opacity: 1;
transform: translateY(2px) scaleY(1.01);
}
100% {
opacity: 1;
transform: translateY(0) scaleY(1);
}
}
@keyframes mobileMenuItemIn {
0% {
opacity: 0;
transform: translateY(-6px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
header {
background: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
nav {
grid-template-columns: auto minmax(0, 1fr) auto auto;
padding: 20px 24px;
column-gap: 12px;
}
.logo {
justify-content: flex-start;
justify-self: start;
}
.logo img {
height: 25px;
width: auto;
}
.mobile-phone {
display: inline-flex;
justify-self: center;
align-self: center;
2026-05-06 08:27:24 +12:00
min-height: 44px;
padding: 11px 14px;
background: rgba(33, 48, 33, 0.1);
2026-05-07 21:47:42 +12:00
color: var(--gw-green);
font-family: var(--font-head);
2026-05-02 08:26:18 +12:00
font-size: 13px;
font-weight: 700;
line-height: 1.2;
letter-spacing: 0.01em;
2026-05-02 08:26:18 +12:00
}
.mobile-phone .icon {
2026-05-06 08:27:24 +12:00
font-size: 14px;
2026-05-02 08:26:18 +12:00
}
.nav-links {
display: none;
}
.nav-right {
display: flex;
gap: 18px;
justify-content: flex-end;
grid-column: 3;
}
.nav-right .btn {
display: none;
}
.instagram-icon {
color: #0a304e;
font-size: 24px;
}
.hamburger {
display: flex;
color: #2e3031;
grid-column: 4;
justify-self: end;
}
.mobile-menu {
max-width: none;
padding-left: 0;
padding-right: 0;
transform-origin: top center;
}
.mobile-menu.open {
animation: mobileMenuBounceIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu a {
display: block;
padding: 14px 24px;
border-bottom: none;
font-size: 16px;
line-height: 1.35;
animation: mobileMenuItemIn 220ms ease-out forwards;
}
.mobile-menu.open a:nth-child(1) {
animation-delay: 30ms;
}
.mobile-menu.open a:nth-child(2) {
animation-delay: 60ms;
}
.mobile-menu.open a:nth-child(3) {
animation-delay: 90ms;
}
.mobile-menu.open a:nth-child(4) {
animation-delay: 120ms;
}
.mobile-menu.open a:nth-child(5) {
animation-delay: 150ms;
}
.mobile-menu.open a:nth-child(6) {
animation-delay: 180ms;
}
.mobile-menu.open a:nth-child(7) {
animation-delay: 210ms;
}
.mobile-menu.open a:nth-child(8) {
animation-delay: 240ms;
}
.mobile-menu.open a:nth-child(9) {
animation-delay: 270ms;
}
2026-05-02 08:26:18 +12:00
#hero {
min-height: auto;
padding: 50px 20px 0;
}
.hero-inner {
flex-direction: column;
2026-05-06 11:36:19 +12:00
gap: 18px;
2026-05-02 08:26:18 +12:00
align-items: stretch;
text-align: left;
padding: 0;
}
.hero-text {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.hero-text h1,
.hero-heading {
margin-bottom: 22px;
font-size: 38px;
line-height: 1.08;
}
2026-05-03 11:49:59 +12:00
.hero-subtitle {
margin: -10px 0 22px;
max-width: none;
font-size: 16px;
2026-05-03 11:49:59 +12:00
line-height: 1.5;
}
2026-05-06 11:36:19 +12:00
.hero-trust-chip {
margin-bottom: 18px;
padding: 10px 14px;
font-size: 14px;
}
2026-05-02 08:26:18 +12:00
.hero-heading-desktop {
display: none;
}
.hero-text h1 .hero-heading-mobile {
display: block;
color: #fff;
font-family: var(--font-head);
font-size: 36px;
2026-05-02 08:26:18 +12:00
font-weight: 800;
line-height: 1.08;
letter-spacing: -0.04em;
white-space: pre-line;
}
.hero-buttons {
width: 100%;
2026-05-06 11:36:19 +12:00
justify-content: space-between;
gap: 8px;
padding-right: 0;
2026-05-02 08:26:18 +12:00
}
.hero-buttons .btn {
2026-05-06 11:36:19 +12:00
flex: 1 1 0;
width: 0;
2026-05-02 08:26:18 +12:00
min-width: 0;
2026-05-06 17:42:43 +12:00
padding: 14px 10px;
font-size: 13px;
2026-05-02 08:26:18 +12:00
font-weight: 700;
text-align: center;
border-radius: 999px;
2026-05-06 17:42:43 +12:00
line-height: 1.15;
letter-spacing: -0.01em;
2026-05-02 08:26:18 +12:00
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.hero-buttons .btn:last-child {
2026-05-06 11:36:19 +12:00
margin-right: 0;
2026-05-02 08:26:18 +12:00
}
.hero-buttons .btn-yellow {
2026-05-06 11:36:19 +12:00
background: var(--yellow);
2026-05-02 08:26:18 +12:00
color: #000;
}
.hero-buttons .btn-outline {
2026-05-06 11:36:19 +12:00
background: transparent;
color: #fff;
border: 2px solid rgba(255, 255, 255, 0.84);
2026-05-02 08:26:18 +12:00
}
.hero-buttons .btn:active {
transform: translateY(1px) scale(0.985);
}
.hero-buttons .btn-yellow:active {
2026-05-06 11:36:19 +12:00
background: #e6bb00;
2026-05-02 08:26:18 +12:00
}
.hero-buttons .btn-outline:active {
2026-05-06 11:36:19 +12:00
background: rgba(255, 255, 255, 0.08);
2026-05-02 08:26:18 +12:00
}
.hero-img {
flex: none;
width: 100%;
max-width: none;
margin: 0;
display: flex;
justify-content: center;
align-items: flex-end;
}
.hero-img img {
2026-05-06 11:36:19 +12:00
width: min(100%, 460px);
2026-05-02 08:26:18 +12:00
max-width: 100%;
margin: 0 auto -7px;
object-fit: contain;
object-position: center top;
transform: none;
}
#intro {
padding: 30px 24px 24px;
}
.intro-trust-badge {
grid-template-columns: 1fr;
gap: 14px;
padding: 18px 18px 16px;
border-radius: 22px;
}
.intro-trust-mark {
width: 48px;
height: 48px;
font-size: 21px;
}
2026-05-03 11:16:53 +12:00
.intro-google-logo {
width: 24px;
}
2026-05-02 08:26:18 +12:00
#intro p {
font-size: 17px;
line-height: 1.45;
font-weight: 600;
margin-bottom: 0;
}
.intro-trust-meta {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
2026-05-03 11:16:53 +12:00
.intro-trust-cta {
2026-05-02 08:26:18 +12:00
gap: 8px;
padding: 8px 14px;
font-size: 15px;
}
.intro-trust-stars {
font-size: 13px;
}
.promise-inner {
flex-direction: column;
padding: 0 24px;
}
.promise-text {
order: 1;
}
.promise-img {
order: 2;
flex: none;
width: 100%;
max-width: 320px;
margin: 0 auto;
}
.services-grid,
.testimonials-grid,
.info-inner,
.field-group,
.footer-inner {
grid-template-columns: 1fr;
}
.values-grid {
grid-template-columns: 1fr;
}
.value-card:nth-child(odd) {
border-right: none;
}
.value-card {
padding: 24px 0;
}
2026-05-02 08:26:18 +12:00
.service-icon-bubble {
width: 78px;
height: 78px;
margin-bottom: 20px;
}
.service-card .service-card-icon {
font-size: 30px;
}
.mobile-menu a.mobile-link-active {
background: var(--yellow);
color: #0a304e;
}
.booking-header {
margin-bottom: 34px;
}
2026-05-07 21:47:42 +12:00
.booking-eyebrow {
margin-bottom: 12px;
padding: 6px 10px;
font-size: 11px;
}
2026-05-02 08:26:18 +12:00
.booking-title {
font-size: 34px;
line-height: 1.02;
2026-05-02 08:26:18 +12:00
margin-bottom: 24px;
}
2026-05-07 21:47:42 +12:00
.booking-intro {
margin-top: -4px;
font-size: 15px;
line-height: 1.55;
}
.booking-trust-row {
gap: 10px;
margin-top: 16px;
}
.booking-trust-chip {
padding: 8px 12px;
font-size: 13px;
}
2026-05-02 08:26:18 +12:00
.booking-title-highlight::after {
left: 12px;
right: 12px;
bottom: -14px;
height: 20px;
}
.booking-stepper {
gap: 12px;
align-items: flex-start;
}
.booking-step {
flex-direction: column;
gap: 8px;
flex: 1;
}
.booking-step-number {
width: 46px;
height: 46px;
font-size: 20px;
}
.booking-step-label {
font-size: 15px;
text-align: center;
}
.booking-step-divider {
margin-top: 22px;
height: 1px;
width: 36px;
}
.booking-panel-banner {
padding: 22px 18px 34px;
border-radius: 24px 24px 0 0;
font-size: 15px;
line-height: 1.45;
}
.booking-card-grid-owner,
.booking-card-grid-dog {
grid-template-columns: 1fr;
}
2026-05-07 21:47:42 +12:00
.booking-field-group-owner,
.booking-field-group-dog {
2026-05-02 08:26:18 +12:00
grid-template-columns: 1fr;
gap: 18px;
}
.booking-field-card {
padding: 24px 22px;
border-radius: 24px;
}
.booking-card-grid-with-banner .booking-field-card {
border-radius: 0 0 24px 24px;
}
2026-05-02 08:26:18 +12:00
.booking-field-card-group {
padding: 24px 22px;
}
.booking-field-card label,
.booking-service-label {
font-size: 16px;
}
.booking-field-card input,
.booking-field-card textarea {
padding: 14px 18px;
2026-05-06 08:27:24 +12:00
/*
* 16px is the iOS-Safari threshold for triggering auto-zoom on
* focus. Anything smaller and the page jolts every time a field
* is tapped — kills the form's perceived quality at the most
* critical conversion step.
*/
font-size: 16px;
2026-05-02 08:26:18 +12:00
border-width: 2px;
border-radius: 18px;
}
.booking-service-row {
grid-template-columns: 1fr;
gap: 16px;
padding: 22px;
border-radius: 24px;
}
.booking-service-options {
gap: 12px 18px;
}
2026-05-04 20:32:24 +12:00
.booking-toggle-group {
flex-direction: column;
}
.booking-toggle-option {
width: 100%;
border-width: 2px;
border-radius: 16px;
padding: 14px 16px;
}
.booking-toggle-indicator {
width: 22px;
height: 22px;
border-width: 2px;
}
2026-05-02 08:26:18 +12:00
.booking-check-option {
font-size: 15px;
}
.booking-check-box {
width: 24px;
height: 24px;
border-width: 2px;
border-radius: 6px;
}
.booking-actions-final {
gap: 14px;
flex-direction: column-reverse;
align-items: stretch;
}
.booking-actions-final .btn,
.booking-actions-next .btn {
justify-content: center;
}
.services-inner,
.values-inner,
.testimonials-inner,
.info-inner,
.form-inner {
padding: 0 24px;
}
.section-heading {
font-size: 30px;
}
footer {
padding: 48px 24px 28px;
}
.footer-inner {
2026-05-06 17:42:43 +12:00
grid-template-columns: 1fr;
gap: 16px;
2026-05-02 08:26:18 +12:00
}
.footer-action {
order: -1;
}
2026-05-06 17:42:43 +12:00
.footer-panel {
padding: 22px 18px;
border-radius: 24px;
}
.footer-action-title {
font-size: 22px;
}
.footer-action-copy {
font-size: 14px;
}
2026-05-02 08:26:18 +12:00
.footer-book-note {
text-align: left;
}
.footer-nav a {
padding: 11px 0;
}
2026-05-06 17:42:43 +12:00
.footer-contact {
gap: 6px;
}
2026-05-02 08:26:18 +12:00
.footer-bottom {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
#instagram {
padding: 48px 24px;
}
}
@media (max-width: 480px) {
2026-05-07 21:47:42 +12:00
.footer-nav {
gap: 2px 16px;
}
2026-05-02 08:26:18 +12:00
.mobile-phone {
gap: 6px;
2026-05-06 08:27:24 +12:00
padding: 10px 12px;
2026-05-02 08:26:18 +12:00
font-size: 12px;
}
.mobile-phone span {
letter-spacing: -0.01em;
}
2026-05-06 08:27:24 +12:00
.hero-text h1,
.hero-heading {
font-size: 32px;
line-height: 1.12;
}
.hero-text h1 .hero-heading-mobile {
font-size: 31px;
2026-05-06 08:27:24 +12:00
line-height: 1.12;
}
.hero-buttons {
2026-05-06 16:47:15 +12:00
flex-direction: row;
gap: 8px;
2026-05-06 08:27:24 +12:00
padding-right: 0;
}
.hero-buttons .btn {
2026-05-06 16:47:15 +12:00
flex: 1 1 0;
width: 0;
2026-05-06 08:27:24 +12:00
margin-right: 0 !important;
2026-05-06 17:42:43 +12:00
padding: 13px 9px;
font-size: 12px;
line-height: 1.1;
2026-05-06 08:27:24 +12:00
}
2026-05-02 08:26:18 +12:00
}