:root {
    --bg: #f6f7f5;
    --surface: #ffffff;
    --surface-soft: #f1f5f6;
    --surface-muted: #e8eff1;
    --ink: #15292f;
    --muted: #60767d;
    --brand: #56bcbe;
    --brand-deep: #0e6f73;
    --brand-strong: #12353d;
    --accent: #c9a227;
    --accent-soft: #f6eed4;
    --line: #d9e5e8;
    --shadow: 0 22px 54px rgba(18, 39, 46, 0.08);
    --shadow-soft: 0 14px 34px rgba(18, 39, 46, 0.06);
    --radius-xxl: 36px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --nav-height: 94px;
}

html {
    scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(86, 188, 190, 0.12), transparent 25%),
        radial-gradient(circle at right top, rgba(201, 162, 39, 0.12), transparent 18%),
        linear-gradient(180deg, #f8fbfb 0%, var(--bg) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Fraunces', serif;
    color: var(--ink);
    letter-spacing: -0.03em;
}

p {
    margin-top: 0;
}

a {
    color: var(--brand-deep);
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

.site-main {
    padding-top: calc(var(--nav-height) + 0.5rem);
}

#home,
#about,
#services,
#testimonials,
#contact {
    scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.section-padding {
    padding: 5rem 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(232, 239, 241, 0.72));
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(86, 188, 190, 0.12);
    color: var(--brand-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.section-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.section-heading-services {
    margin-bottom: 3.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.45rem;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(18, 39, 46, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d7b85a);
    border-color: transparent;
    color: #12272e;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #b68c16, #cfaf4e);
    color: #12272e;
}

.btn-outline-primary,
.btn-secondary-soft {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-secondary-soft:hover,
.btn-secondary-soft:focus {
    background: rgba(86, 188, 190, 0.08);
    border-color: rgba(14, 111, 115, 0.18);
    color: var(--brand-deep);
}

.site-navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(21, 41, 47, 0.06);
    box-shadow: 0 10px 30px rgba(18, 39, 46, 0.05);
    padding: 0.75rem 0;
}

.navbar-brand img {
    display: block;
    width: auto;
    height: 60px;
}

.site-navbar .nav-link {
    padding: 0.65rem 1rem !important;
    border-radius: 999px;
    color: var(--ink) !important;
    font-weight: 700;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand-deep) !important;
    background: rgba(86, 188, 190, 0.1);
}

.navbar-cta {
    background: var(--brand-strong);
    border: 1px solid transparent;
    color: #ffffff;
}

.navbar-cta:hover,
.navbar-cta:focus {
    background: var(--brand-deep);
    color: #ffffff;
}

.site-alerts {
    padding-top: 1rem;
}

.alert-site {
    border: 1px solid rgba(185, 79, 79, 0.14);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-soft);
}

.hero-section {
    padding: 2rem 0 3.75rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.hero-copy .section-kicker {
    margin-bottom: 1.2rem;
}

.hero-copy h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    line-height: 1.02;
    max-width: 11ch;
}

.hero-lead {
    max-width: 58ch;
    margin-bottom: 1.75rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-trust i {
    color: var(--brand-deep);
}

.hero-visual {
    position: relative;
    min-height: 560px;
    padding-left: 2rem;
}

.hero-image-card {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 470px);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xxl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 250, 0.96));
    box-shadow: var(--shadow);
}

.hero-image-card img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 28px;
}

.hero-panel {
    position: absolute;
    left: 0;
    bottom: 1.75rem;
    width: min(78%, 360px);
    padding: 1.6rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(155deg, rgba(18, 53, 61, 0.98), rgba(23, 92, 96, 0.98));
    color: #ffffff;
    box-shadow: 0 28px 44px rgba(18, 39, 46, 0.18);
}

.hero-panel-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.08;
}

.hero-panel p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.hero-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    font-weight: 800;
}

.hero-contact-link:hover {
    color: #ffffff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.metric-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.metric-card strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-strong);
}

.metric-card span {
    color: var(--muted);
    line-height: 1.65;
}

.section-frame {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xxl);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 1.2rem;
}

.showcase-stack {
    display: grid;
    gap: 1.2rem;
    grid-template-rows: minmax(220px, 1fr) auto;
}

.showcase-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.showcase-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.showcase-card-large img {
    min-height: 500px;
}

.showcase-note {
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #12353d, #1b7578);
    box-shadow: 0 22px 40px rgba(18, 39, 46, 0.16);
}

.showcase-note .section-kicker {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.showcase-note h2 {
    margin-bottom: 0.9rem;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.08;
}

.showcase-note p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.about-image-card,
.about-card,
.service-card,
.testimonial-card,
.contact-info-card,
.contact-form-card,
.legal-content,
.page-hero-card,
.content-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xxl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.about-image-card {
    position: relative;
    overflow: hidden;
}

.about-image-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.about-row {
    --bs-gutter-x: 1rem;
}

.about-media-column,
.about-content-column {
    display: flex;
}

.about-visual-stack {
    position: relative;
    width: 100%;
    padding-bottom: 1.45rem;
}

.about-floating-card {
    position: absolute;
    right: -0.45rem;
    bottom: 0;
    max-width: 290px;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(14, 111, 115, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 32px rgba(18, 39, 46, 0.1);
}

.about-floating-card .section-kicker {
    margin-bottom: 0.8rem;
}

.about-floating-card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.32;
}

.about-floating-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.9rem;
}

.about-card,
.contact-info-card,
.contact-form-card,
.legal-content,
.page-hero-card {
    padding: clamp(1.5rem, 3vw, 3rem);
}

.about-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: clamp(1.1rem, 1.9vw, 1.7rem);
}

.about-card .section-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 2.4vw, 2.45rem);
    max-width: 14ch;
}

.about-proof-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0.95rem 0 0.75rem;
}

.about-proof-pill {
    padding: 0.8rem 0.88rem;
    border: 1px solid rgba(14, 111, 115, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(86, 188, 190, 0.06), rgba(255, 255, 255, 0.92));
}

.about-proof-pill strong,
.about-proof-pill span {
    display: block;
}

.about-proof-pill strong {
    margin-bottom: 0.2rem;
    color: var(--brand-strong);
    font-size: 0.9rem;
}

.about-proof-pill span {
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.86rem;
}

.feature-list {
    display: grid;
    gap: 0.58rem;
    margin: 0.85rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.62rem 0.8rem;
    border: 1px solid rgba(14, 111, 115, 0.08);
    border-radius: 22px;
    background: rgba(248, 251, 251, 0.86);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(86, 188, 190, 0.18), rgba(201, 162, 39, 0.18));
    color: var(--brand-deep);
}

.feature-item h3 {
    margin-bottom: 0.18rem;
    font-size: 0.96rem;
}

.feature-item p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.84rem;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.15rem;
}

.about-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--brand-deep);
    font-weight: 700;
}

.service-card,
.testimonial-card,
.content-card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover,
.testimonial-card:hover,
.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 38px rgba(18, 39, 46, 0.1);
}

.service-media {
    position: relative;
}

.service-card img,
.blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(18, 53, 61, 0.9);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.service-card .card-body,
.testimonial-card .card-body,
.content-card .card-body {
    padding: 1.45rem;
}

.services-grid {
    align-items: stretch;
}

.service-card .card-title,
.content-card .card-title {
    font-size: 1.28rem;
}

.service-card-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.service-card-title {
    max-width: none;
    line-height: 1.18;
}

.service-card .card-text,
.content-card .card-text {
    color: var(--muted);
    line-height: 1.7;
}

.service-card-text {
    flex: 1;
}

.price-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #6f5611;
    font-size: 0.88rem;
    font-weight: 800;
    align-self: flex-end;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
}

.service-card-cta {
    width: 100%;
}

.quote-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(86, 188, 190, 0.12);
    color: var(--brand-deep);
}

.testimonials-marquee {
    --marquee-gap: 1.25rem;
    position: relative;
    overflow: hidden;
    padding-block: 0.35rem;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.testimonials-marquee:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonials-track {
    display: flex;
    align-items: stretch;
    gap: var(--marquee-gap);
    width: max-content;
    animation: testimonialsMarquee 72s linear infinite;
    will-change: transform;
}

.testimonials-track-group {
    display: flex;
    align-items: stretch;
    gap: var(--marquee-gap);
    flex-shrink: 0;
}

.testimonial-slide {
    flex: 0 0 23rem;
    width: 23rem;
}

.testimonial-text {
    color: var(--muted);
    line-height: 1.82;
    min-height: 120px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(86, 188, 190, 0.18), rgba(201, 162, 39, 0.18));
    color: var(--brand-deep);
    font-weight: 800;
}

@keyframes testimonialsMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - (var(--marquee-gap) / 2)));
    }
}

.contact-info-card {
    height: 100%;
    background: linear-gradient(155deg, #12353d, #1b7578);
    color: #ffffff;
}

.contact-info-card .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.contact-info-card .section-title,
.contact-info-card .section-text {
    color: #ffffff;
}

.contact-section {
    position: relative;
}

.contact-heading {
    margin-bottom: 2.4rem;
}

.contact-primary-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 1.35rem;
    align-items: start;
}

.contact-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 1.35rem);
}

.contact-info-card {
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.contact-highlights {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.contact-highlight {
    position: relative;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-highlight strong,
.contact-highlight span {
    display: block;
}

.contact-highlight strong {
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-size: 0.98rem;
}

.contact-highlight span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
    font-size: 0.94rem;
}

.contact-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.contact-point i {
    width: 18px;
    text-align: center;
}

.contact-form-card .form-label {
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--ink);
}

.form-stack {
    display: grid;
    gap: 1.25rem;
}

.booking-form-card {
    border-color: rgba(14, 111, 115, 0.18);
    box-shadow: 0 22px 44px rgba(18, 39, 46, 0.08);
    background:
        radial-gradient(circle at top right, rgba(86, 188, 190, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.96);
}

.form-card-header {
    margin-bottom: 1.5rem;
}

.form-card-header .section-kicker {
    margin-bottom: 1rem;
}

.form-card-header .section-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.form-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.form-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 0.85rem;
    border-radius: 999px;
    background: rgba(14, 111, 115, 0.08);
    color: var(--brand-deep);
    font-size: 0.88rem;
    font-weight: 700;
}

.selected-service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(14, 111, 115, 0.08);
    color: var(--brand-deep);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-control {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
    color: var(--ink);
    background: #ffffff;
}

.form-select {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
    color: var(--ink);
    background-color: #ffffff;
}

.form-control:focus {
    border-color: rgba(14, 111, 115, 0.26);
    box-shadow: 0 0 0 0.24rem rgba(86, 188, 190, 0.16);
}

.form-select:focus {
    border-color: rgba(14, 111, 115, 0.26);
    box-shadow: 0 0 0 0.24rem rgba(86, 188, 190, 0.16);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-error {
    margin-top: 0.45rem;
    color: #b94f4f;
    font-size: 0.9rem;
}

.contact-form-card-secondary {
    margin-top: 1.35rem;
}

.secondary-form-shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    gap: 1.6rem;
    align-items: start;
}

.secondary-form-intro {
    padding-right: 0.35rem;
}

.secondary-form-intro .section-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.secondary-form-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(86, 188, 190, 0.08);
    color: var(--brand-deep);
}

.secondary-form-note i {
    margin-top: 0.15rem;
}

.secondary-form-note span {
    line-height: 1.7;
}

.page-hero {
    padding: 1.5rem 0 2rem;
}

.page-hero-card {
    background: linear-gradient(135deg, #12353d, #1b7578);
    box-shadow: var(--shadow);
}

.page-hero-card h1,
.page-hero-card p {
    color: #ffffff;
}

.page-hero-card .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.page-hero-card-compact {
    max-width: 900px;
    margin: 0 auto;
}

.error-page {
    padding: 1.75rem 0 4.5rem;
}

.error-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
    gap: 1.5rem;
    align-items: stretch;
}

.error-card {
    border: 1px solid rgba(21, 41, 47, 0.06);
    border-radius: var(--radius-xxl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.error-card-main {
    padding: 2.5rem;
}

.error-card-side {
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 239, 241, 0.9)),
        radial-gradient(circle at top right, rgba(86, 188, 190, 0.15), transparent 34%);
}

.error-code {
    margin: 1.2rem 0 0.9rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(4rem, 11vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--accent);
}

.error-card h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.02;
}

.error-card-side h2 {
    margin: 1rem 0 1.2rem;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.error-lead,
.error-detail {
    max-width: 60ch;
    color: var(--muted);
    line-height: 1.85;
}

.error-lead {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.error-detail {
    margin-bottom: 1.75rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.error-points {
    display: grid;
    gap: 0.85rem;
}

.error-point {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(14, 111, 115, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-point:hover,
.error-point:focus {
    transform: translateY(-2px);
    border-color: rgba(14, 111, 115, 0.22);
    box-shadow: var(--shadow-soft);
    color: var(--brand-deep);
}

.error-point i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(86, 188, 190, 0.12);
    color: var(--brand-deep);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    background: linear-gradient(135deg, rgba(86, 188, 190, 0.16), rgba(201, 162, 39, 0.18));
    color: var(--brand-deep);
    font-size: 2rem;
}

.blog-detail-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.blog-detail-copy {
    color: var(--muted);
    line-height: 1.9;
}

.legal-page .legal-content {
    max-width: 920px;
    margin: 0 auto;
    color: var(--muted);
}

.legal-page p,
.legal-page li,
.legal-page a,
.blog-detail-copy p {
    color: var(--muted);
    line-height: 1.85;
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4,
.legal-page h5 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.legal-page ul {
    padding-left: 1.25rem;
}

.empty-state {
    padding: 1.8rem;
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(14, 111, 115, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
}

.footer {
    margin-top: 3rem;
    padding-top: 4rem;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at top left, rgba(86, 188, 190, 0.18), transparent 24%),
        linear-gradient(160deg, #0d252b, #12353d 54%, #174750);
}

.footer-top {
    padding-bottom: 2.5rem;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 74px;
    margin-bottom: 1rem;
}

.footer-intro {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.footer-contact-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.footer-contact-list a,
.footer-contact-list span,
.footer-links a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-contact-list i {
    margin-right: 0.55rem;
    color: var(--accent);
}

.footer-links h4,
.newsletter-panel h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.18rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.72rem;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--accent);
}

.newsletter-panel {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-panel p,
.newsletter-panel label {
    color: rgba(255, 255, 255, 0.74);
}

.newsletter-panel .form-control {
    background: rgba(255, 255, 255, 0.98);
}

.newsletter-panel .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.newsletter-panel .btn-light {
    border: 1px solid transparent;
    color: #12353d;
    font-weight: 800;
}

.footer-bottom {
    padding: 1.4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.copyright strong {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    :root {
        --nav-height: 86px;
    }

    .site-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-soft);
    }

    .hero-grid,
    .showcase-grid,
    .contact-primary-grid,
    .secondary-form-shell {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }

    .hero-visual {
        min-height: auto;
        padding-left: 0;
        display: grid;
        gap: 1rem;
    }

    .hero-image-card,
    .hero-panel {
        position: static;
        width: 100%;
    }

    .hero-image-card img {
        height: 360px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .showcase-stack {
        grid-template-rows: auto;
    }

    .showcase-card-large img {
        min-height: 320px;
    }

    .about-visual-stack {
        padding-bottom: 0;
    }

    .about-floating-card {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

}

@media (min-width: 992px) {
    .about-row {
        --bs-gutter-x: 0.7rem;
    }

    .about-visual-stack {
        min-height: 450px;
    }

    .about-image-card {
        height: 100%;
    }

    .about-image-card img {
        min-height: 100%;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .navbar-brand img {
        height: 52px;
    }

    .site-main {
        padding-top: calc(var(--nav-height) + 0.25rem);
    }

    .hero-section {
        padding: 1.15rem 0 3rem;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        max-width: 9ch;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-image-card,
    .hero-panel,
    .section-frame,
    .about-card,
    .contact-info-card,
    .contact-form-card,
    .legal-content,
    .page-hero-card {
        border-radius: 24px;
    }

    .hero-image-card {
        padding: 0.8rem;
    }

    .hero-image-card img {
        height: 280px;
        border-radius: 20px;
    }

    .showcase-note,
    .about-card,
    .contact-info-card,
    .contact-form-card,
    .legal-content,
    .page-hero-card {
        padding: 1.35rem;
    }

    .showcase-card img {
        min-height: 240px;
    }

    .about-image-card img {
        min-height: 300px;
    }

    .about-proof-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .service-card img,
    .blog-card-image {
        height: 220px;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .section-heading-services {
        margin-bottom: 2.35rem;
    }

    .section-title {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .service-card .card-body {
        padding: 1.25rem;
    }

    .service-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card-title {
        max-width: none;
    }

    .price-pill {
        white-space: normal;
    }

    .contact-point {
        align-items: flex-start;
    }

    .newsletter-panel .btn-light {
        width: 100%;
    }

    .form-card-header {
        margin-bottom: 1.1rem;
    }

    .form-actions .btn {
        min-width: 220px;
    }

    .about-actions {
        align-items: stretch;
    }

    .about-inline-note {
        width: 100%;
    }

    .secondary-form-intro {
        padding-right: 0;
    }

    .testimonial-text {
        min-height: 0;
    }

    .testimonials-marquee {
        --marquee-gap: 1rem;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .testimonial-slide {
        flex-basis: 19.5rem;
        width: 19.5rem;
    }

    .error-shell {
        grid-template-columns: 1fr;
    }

    .error-card-main,
    .error-card-side {
        padding: 1.6rem;
    }

    .error-card h1 {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 3.4rem 0;
    }

    .site-main {
        padding-top: calc(var(--nav-height) + 0.15rem);
    }

    #home,
    #about,
    #services,
    #testimonials,
    #contact {
        scroll-margin-top: calc(var(--nav-height) + 0.75rem);
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 12vw, 2.7rem);
    }

    .hero-trust li {
        width: 100%;
        justify-content: flex-start;
    }

    .metric-card {
        padding: 1rem;
    }

    .service-card img,
    .blog-card-image {
        height: 205px;
    }

    .showcase-note h2 {
        font-size: 1.6rem;
    }

    .contact-form-card .btn-primary,
    .contact-form-card .btn-secondary-soft,
    .service-card-cta,
    .form-actions .btn {
        width: 100%;
    }

    .form-actions {
        align-items: stretch;
    }

    .selected-service-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
        border-radius: 18px;
    }

    .form-meta-list {
        gap: 0.5rem;
    }

    .form-meta-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
        border-radius: 18px;
    }

    .secondary-form-note {
        padding: 0.9rem 1rem;
    }

    .testimonials-marquee {
        --marquee-gap: 0.85rem;
    }

    .testimonial-slide {
        flex-basis: min(84vw, 18rem);
        width: min(84vw, 18rem);
    }

    .footer-logo img {
        height: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .testimonials-track {
        animation: none !important;
    }
}
