Files
gw-svelte/src/lib/styles/sections.css
T
2026-05-18 09:43:29 +12:00

1128 lines
21 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Featured sections — more breathing room */
#promise,
#services {
padding: var(--space-section-featured-y) 0;
}
/* Supporting sections */
#values,
#testimonials,
#info {
padding: var(--space-section-support-y) 0;
}
/* Booking / lead form — neutral */
#newlead {
padding: var(--space-section-form-y) 0;
}
#hero {
background: var(--surface-brand);
color: var(--text-inverse);
padding: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
min-height: 65svh;
max-height: 680px;
overflow: hidden;
position: relative;
}
#hero::after {
content: '';
position: absolute;
inset: 0;
height: auto;
background: linear-gradient(
to bottom,
transparent 30%,
var(--surface-brand) 95%
);
pointer-events: none;
z-index: 1;
}
.hero-inner {
position: relative;
z-index: 2;
flex: none;
display: block;
width: 100%;
max-width: 700px;
margin: 0 auto;
padding: 0 var(--space-container-x) var(--space-hero-inner-bottom);
gap: 0;
}
.hero-text {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding-bottom: 0;
}
.hero-kicker {
display: inline-block;
margin: 0 0 14px;
padding: 7px 12px;
border-radius: 999px;
background: var(--surface-accent-soft);
box-shadow: inset 0 0 0 1px var(--border-accent-soft);
font-family: var(--font-body);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--yellow);
}
.hero-subtitle {
margin: -6px 0 22px;
max-width: 560px;
color: var(--text-inverse-soft);
font-size: var(--body-lead-size);
line-height: 1.55;
text-align: center;
}
.hero-seo-heading {
margin: -10px 0 14px;
color: var(--yellow);
font-family: var(--font-head);
font-size: 18px;
font-weight: 600;
letter-spacing: 0.01em;
text-align: center;
}
@media (max-width: 768px) {
.hero-seo-heading {
margin: -4px 0 10px;
font-size: 15px;
}
}
.hero-chips {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 22px;
}
.hero-chip,
.hero-trust-chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 44px;
padding: 10px 16px;
border-radius: 999px;
background: var(--surface-overlay-strong);
border: 1px solid var(--border-inverse-muted);
color: var(--text-inverse);
font-size: 13px;
font-weight: 600;
line-height: 1.2;
letter-spacing: 0.01em;
}
:global(.hero-chip .icon) {
color: var(--yellow);
font-size: 12px;
}
.hero-trust-chip {
gap: 10px;
padding: 8px 16px 8px 8px;
background: rgba(var(--white-rgb), 0.05);
border-color: rgba(var(--white-rgb), 0.14);
text-decoration: none;
transition:
background 0.22s ease,
border-color 0.22s ease,
transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-trust-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--surface-page);
box-shadow: var(--shadow-card);
flex: 0 0 auto;
}
.hero-trust-logo {
display: block;
width: 16px;
height: auto;
}
.hero-trust-stars {
display: inline-flex;
align-items: center;
gap: 2px;
color: var(--yellow);
font-size: 11px;
line-height: 1;
}
:global(.hero-trust-stars .icon) {
font-size: 11px;
}
.hero-trust-label {
font-size: 13px;
font-weight: 600;
letter-spacing: 0.005em;
color: rgba(var(--white-rgb), 0.92);
}
@media (hover: hover) {
.hero-trust-chip:hover {
background: rgba(var(--white-rgb), 0.09);
border-color: rgba(var(--white-rgb), 0.24);
transform: translateY(-1px);
}
}
.hero-trust-chip:focus-visible {
outline: 2px solid var(--yellow);
outline-offset: 3px;
}
.hero-buttons {
display: flex;
gap: 18px;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
:global(.hero-cta-arrow) {
font-size: 11px;
margin-left: 2px;
}
.hero-secondary-link {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 44px;
padding: 0 4px;
color: var(--text-inverse-soft);
font-family: var(--font-head);
font-size: 15px;
font-weight: 700;
text-decoration: none;
transition: color 0.2s ease, opacity 0.2s ease;
}
@media (hover: hover) {
.hero-secondary-link:hover {
color: var(--text-inverse);
}
}
.hero-img {
position: absolute;
inset: 0;
z-index: 0;
width: 100%;
height: 100%;
flex: none;
display: block;
margin: 0;
}
.hero-img picture {
display: block;
width: 100%;
height: 100%;
}
.hero-img img {
width: 60%;
height: 100%;
max-width: none;
margin: 0;
object-fit: cover;
object-position: center -10%;
transform: scale(1.06);
opacity: 0;
animation: heroImageEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-text > * {
opacity: 0;
transform: translateY(14px);
animation: heroRise 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-text > :nth-child(1) { animation-delay: 120ms; }
.hero-text > :nth-child(2) { animation-delay: 180ms; }
.hero-text > :nth-child(3) { animation-delay: 240ms; }
.hero-text > :nth-child(4) { animation-delay: 300ms; }
.hero-text > :nth-child(5) { animation-delay: 360ms; }
.hero-text > :nth-child(6) { animation-delay: 420ms; }
.hero-text > :nth-child(7) { animation-delay: 480ms; }
.hero-title-highlight {
position: relative;
display: inline-block;
}
.hero-title-highlight::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -0.06em;
height: 2px;
background: var(--yellow);
transform: scaleX(0);
transform-origin: left center;
animation: heroUnderlineDraw 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
animation-delay: 350ms;
opacity: 0.85;
border-radius: 2px;
}
:global(.hero-trust-stars .hero-trust-star) {
opacity: 0;
transform: scale(0.6);
animation: heroStarPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:global(.hero-trust-star-1) { animation-delay: 820ms; }
:global(.hero-trust-star-2) { animation-delay: 880ms; }
:global(.hero-trust-star-3) { animation-delay: 940ms; }
:global(.hero-trust-star-4) { animation-delay: 1000ms; }
:global(.hero-trust-star-5) { animation-delay: 1060ms; }
@keyframes heroImageEnter {
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes heroRise {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes heroUnderlineDraw {
to {
transform: scaleX(1);
}
}
@keyframes heroStarPop {
to {
opacity: 1;
transform: scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
.hero-img img,
.hero-text > *,
.hero-title-highlight::after {
animation: none;
opacity: 1;
transform: none;
}
.hero-title-highlight::after {
transform: scaleX(1);
}
:global(.hero-trust-stars .hero-trust-star) {
animation: none;
opacity: 1;
transform: none;
}
}
#intro {
position: relative;
background: var(--gw-green);
color: var(--text-inverse);
padding: clamp(48px, 7vw, 88px) var(--space-container-x);
overflow: hidden;
isolation: isolate;
}
#intro::before,
#intro::after {
content: '';
position: absolute;
pointer-events: none;
z-index: 0;
}
#intro::before {
inset: 0;
background:
radial-gradient(60% 80% at 85% 20%, rgba(var(--accent-rgb), 0.10), transparent 60%),
radial-gradient(50% 70% at 8% 100%, rgba(var(--white-rgb), 0.05), transparent 60%);
}
#intro::after {
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent 0%, rgba(var(--white-rgb), 0.16) 18%, rgba(var(--white-rgb), 0.16) 82%, transparent 100%);
}
.intro-inner {
position: relative;
z-index: 1;
width: 100%;
max-width: var(--max-w);
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
gap: clamp(32px, 5vw, 80px);
}
.intro-statement {
min-width: 0;
}
.intro-kicker {
display: inline-flex;
align-items: center;
gap: 14px;
margin-bottom: clamp(16px, 2.4vw, 26px);
color: rgba(var(--white-rgb), 0.62);
font-family: var(--font-body);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.intro-kicker-rule {
display: inline-block;
width: 36px;
height: 1px;
background: var(--yellow);
opacity: 0.9;
}
.intro-headline {
font-family: var(--font-head);
font-weight: var(--weight-display);
font-size: var(--text-display);
line-height: 1.08;
letter-spacing: var(--tracking-display);
color: var(--text-inverse);
margin: 0;
max-width: 18ch;
text-wrap: balance;
}
.intro-word {
display: inline-block;
opacity: 0;
transform: translateY(14px);
animation: introWordRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
animation-delay: calc(80ms + var(--word-i) * 55ms);
}
.intro-word:last-child {
color: var(--yellow);
}
.intro-trust {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 14px;
padding-left: clamp(24px, 4vw, 56px);
border-left: 1px solid rgba(var(--white-rgb), 0.12);
}
.intro-google {
display: inline-flex;
align-items: center;
gap: 14px;
padding: 10px 14px 10px 10px;
border-radius: 999px;
background: rgba(var(--white-rgb), 0.04);
box-shadow: inset 0 0 0 1px rgba(var(--white-rgb), 0.10);
color: var(--text-inverse);
text-decoration: none;
transition:
background 0.25s ease,
box-shadow 0.25s ease,
transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-google:hover,
.intro-google:focus-visible {
background: rgba(var(--white-rgb), 0.08);
box-shadow: inset 0 0 0 1px rgba(var(--white-rgb), 0.22);
transform: translateY(-1px);
}
.intro-google:focus-visible {
outline: 2px solid var(--yellow);
outline-offset: 3px;
}
.intro-google-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--surface-page);
box-shadow: var(--shadow-card);
flex-shrink: 0;
}
.intro-google-logo {
display: block;
width: 18px;
height: auto;
}
.intro-google-copy {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
line-height: 1.2;
}
.intro-stars {
display: inline-flex;
align-items: center;
gap: 3px;
color: var(--yellow);
font-size: 11px;
}
.intro-google-label {
font-family: var(--font-body);
font-size: 13px;
font-weight: 600;
color: rgba(var(--white-rgb), 0.92);
letter-spacing: 0.005em;
}
.intro-meta {
display: inline-flex;
align-items: center;
gap: 10px;
margin: 0;
font-family: var(--font-body);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
color: rgba(var(--white-rgb), 0.58);
}
.intro-meta-dot {
display: inline-block;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--yellow);
opacity: 0.85;
}
@keyframes introWordRise {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.intro-word {
animation: none;
opacity: 1;
transform: none;
}
.intro-google {
transition: none;
}
}
#promise,
#values {
background: var(--off-white);
}
#services,
#testimonials,
#info,
#newlead {
background: var(--surface-page);
}
footer {
background: var(--surface-brand);
color: var(--text-inverse);
}
#testimonials .section-heading {
text-align: center;
}
#services .section-heading {
text-align: center;
}
footer {
padding: var(--space-11) var(--space-container-x) var(--space-7);
}
.testimonial-card {
background: var(--surface-panel);
border-radius: var(--radius-lg);
padding: var(--space-7);
box-shadow:
var(--shadow-inset-strong),
var(--shadow-md);
transition:
transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 0.22s ease;
}
@media (hover: hover) {
.testimonial-card:hover {
transform: translateY(-2px);
box-shadow:
var(--shadow-inset-strong),
var(--shadow-lg);
filter: brightness(1.01);
}
}
.testimonial-card:active {
transform: translateY(-1px) scale(0.994);
}
.stars {
color: var(--yellow);
font-size: 18px;
margin-bottom: 14px;
}
.reviewer {
font-weight: 700;
font-size: 14px;
}
.reviewer span {
font-weight: 400;
color: var(--gray);
}
.info-copy {
margin-top: 10px;
}
.info-copy a {
color: var(--gw-green);
font-weight: 600;
}
.faq details {
border-radius: var(--radius-lg);
border: 1px solid var(--border-brand-muted);
background: var(--surface-page);
padding: 0;
margin-bottom: 10px;
transition: box-shadow 0.2s ease;
}
.faq details[open] {
box-shadow: var(--shadow-lg);
}
.faq summary {
font-weight: 600;
font-size: 16px;
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
padding: var(--space-5) var(--space-6);
border-radius: var(--radius-lg);
transition: background 0.18s ease;
}
.faq summary::-webkit-details-marker {
display: none;
}
.faq summary:focus-visible {
outline: 2px solid var(--border-focus);
outline-offset: -2px;
}
.faq summary:hover {
background: var(--surface-brand-faint);
}
.faq details[open] summary {
border-bottom: 1px solid var(--border-brand-soft);
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.faq summary::after {
content: '+';
flex: 0 0 auto;
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--surface-brand-soft);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 400;
color: var(--text-brand);
transition: background 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] summary::after {
content: '';
background: rgba(var(--brand-rgb), 0.1);
transform: rotate(180deg);
}
.faq details p {
margin: 0;
padding: 16px 22px 20px;
color: var(--gray);
font-size: var(--body-copy-size);
line-height: 1.65;
}
#instagram {
background: var(--yellow);
text-align: center;
padding: var(--space-section-support-y) var(--space-container-x);
}
#instagram h2 {
color: var(--gw-green);
}
.instagram-blurb {
margin: -8px 0 24px;
font-size: var(--body-copy-size);
color: rgba(var(--brand-rgb), 0.72);
}
.footer-logo {
display: block;
height: 30px;
width: auto;
margin-bottom: 18px;
}
.footer-brand p {
font-size: 14px;
line-height: 1.7;
opacity: 0.85;
margin-bottom: 18px;
white-space: pre-line;
max-width: 30ch;
}
.footer-social-cluster {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.footer-social-invite {
display: inline-flex;
align-items: center;
gap: 8px;
padding-left: 4px;
color: var(--text-inverse-muted);
font-family: var(--font-head);
font-size: 12px;
font-weight: var(--weight-heading);
letter-spacing: 0.02em;
line-height: 1.2;
}
:global(.footer-social-invite-arrow) {
font-size: 14px;
color: var(--yellow);
transform: rotate(24deg);
transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-links a {
width: 44px;
height: 44px;
border-radius: 16px;
background: var(--surface-overlay-soft);
box-shadow: var(--shadow-inset-inverse);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition:
background 0.2s,
color 0.2s,
transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-links a:hover {
background: var(--yellow);
color: var(--text-strong);
transform: translateY(-1px);
}
@media (hover: hover) {
.footer-social-cluster:hover :global(.footer-social-invite-arrow) {
transform: rotate(34deg) translateX(1px) translateY(1px);
}
}
.footer-col-label {
margin: 0 0 14px;
font-family: var(--font-head);
font-size: 12px;
font-weight: var(--weight-heading);
letter-spacing: 0.12em;
text-transform: uppercase;
opacity: 0.55;
}
.footer-nav {
list-style: none;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2px 24px;
}
.footer-explore .footer-nav {
grid-template-columns: 1fr;
}
.footer-nav li {
margin: 0;
min-width: 0;
}
.footer-nav a {
display: block;
padding: 8px 0;
font-size: 14px;
font-weight: 500;
opacity: 0.85;
transition: opacity 0.18s;
}
.footer-nav a:hover {
opacity: 1;
}
.footer-contact {
display: grid;
gap: 8px;
margin-top: 18px;
padding-top: 18px;
border-top: 1px solid rgba(var(--white-rgb), 0.1);
max-width: 24rem;
}
.footer-contact-link {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 44px;
padding: 0 2px;
font-size: 14px;
font-weight: 500;
opacity: 0.85;
transition: opacity 0.18s;
}
.footer-contact-link:hover {
opacity: 1;
}
.footer-contact-link .icon {
font-size: 12px;
opacity: 0.8;
}
.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
gap: 12px;
border-top: 1px solid rgba(var(--white-rgb), 0.1);
padding-top: 28px;
font-size: 12px;
opacity: 0.55;
}
.footer-bottom > span {
flex: 1 1 auto;
}
.footer-legal {
display: flex;
justify-content: flex-end;
gap: 20px;
flex-wrap: wrap;
flex: 0 0 auto;
text-align: right;
}
.footer-legal a {
opacity: 0.8;
transition: opacity 0.2s;
}
.footer-legal a:hover {
opacity: 1;
}
.footer-back-top {
border: none;
background: none;
color: inherit;
font: inherit;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
opacity: 0.55;
cursor: pointer;
flex: 0 0 auto;
transition: opacity 0.2s;
}
.footer-back-top:hover {
opacity: 1;
}
/* ── PageHeader shared component ──────────────────────────────────────── */
.page-header {
padding: 72px 0 80px;
}
.ph-inner {
max-width: var(--max-w);
margin: 0 auto;
padding: 0 var(--space-container-x);
text-align: center;
}
/* Green variant */
.page-header--green {
background: var(--surface-brand);
color: var(--text-inverse);
}
.page-header--green .eyebrow {
display: inline-block;
padding: 7px 12px;
border-radius: 999px;
background: var(--surface-accent-soft);
box-shadow: inset 0 0 0 1px var(--border-accent-soft);
color: var(--yellow);
}
/* White variant */
.page-header--white {
background: var(--off-white);
color: var(--text);
}
/* 2-col layout when media slot is used (service pages) */
.ph-inner--grid {
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
gap: 52px;
align-items: center;
text-align: left;
}
/* Title */
.ph-title {
margin: 0 0 16px;
font-family: var(--font-head);
font-size: clamp(34px, 4vw, 56px);
font-weight: 800;
line-height: 1.05;
letter-spacing: -0.04em;
}
.page-header--green .ph-title {
color: var(--text-inverse);
}
.page-header--white .ph-title {
color: var(--text-strong);
}
/* Subtitle */
.ph-subtitle {
font-size: 17px;
line-height: 1.6;
max-width: 520px;
margin: 0 auto;
}
.page-header--green .ph-subtitle {
color: var(--text-inverse-gentle);
}
.page-header--white .ph-subtitle {
color: var(--gray);
}
.ph-inner--grid .ph-subtitle {
margin: 0;
}
/* Media column */
.ph-media {
aspect-ratio: 4 / 3;
border-radius: var(--radius-lg);
overflow: hidden;
background: var(--surface-panel-beige);
box-shadow: var(--shadow-2xl);
}
.ph-media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
/* Shared chip styles — used via default slot content */
.ph-chips {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 28px;
}
.ph-chip {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 9px 18px;
border-radius: 999px;
font-family: var(--font-head);
font-size: 14px;
font-weight: 700;
line-height: 1.2;
letter-spacing: 0.01em;
}
.page-header--green .ph-chip {
background: var(--surface-overlay);
border: 1px solid var(--border-inverse-strong);
color: var(--text-inverse);
}
.page-header--white .ph-chip {
background: rgba(var(--brand-rgb), 0.07);
border: 1px solid var(--border-brand-muted);
color: var(--text-brand);
}
.ph-chip--link {
text-decoration: none;
transition: background 0.18s ease;
}
.page-header--green .ph-chip--link:hover {
background: rgba(var(--white-rgb), 0.18);
}
.page-header--white .ph-chip--link:hover {
background: var(--surface-brand-selected);
}
/* Responsive */
@media (max-width: 1024px) {
.ph-inner--grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: start;
}
}
@media (max-width: 768px) {
.page-header {
padding: 48px 0 56px;
}
.ph-inner {
padding: 0 24px;
}
.ph-inner--grid {
grid-template-columns: 1fr;
gap: 24px;
}
.ph-copy {
text-align: center;
}
.ph-title {
font-size: clamp(28px, 7vw, 38px);
}
.ph-subtitle {
margin-left: auto;
margin-right: auto;
text-align: center;
}
.ph-chips {
gap: 8px;
}
.ph-chip {
font-size: 13px;
min-height: 44px;
padding: 10px 16px;
}
}