/* Wavedone public site — professional services design system */

:root {
    --ink: #121a24;
    --ink-soft: #243140;
    --muted: #5d6874;
    --line: #e4ddd2;
    --paper: #f5f2eb;
    --white: #ffffff;
    --brand: #163a5f;
    --brand-deep: #0e2742;
    --accent: #8d5a2b;
    --accent-soft: #c4a27a;
    --ok: #1f6b4a;
    --shadow: 0 18px 40px rgba(18, 26, 36, 0.06);
    --radius: 14px;
    --font: "Manrope", "Segoe UI", sans-serif;
    --serif: "Newsreader", Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1.02rem;
}

h1, h2, h3, h4, .display-3, .display-4, .display-5, .wd-serif {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--ink);
}

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

.wd-kicker {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.wd-lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 42rem;
}

.wd-section { padding: 5.5rem 0; }
.wd-section-tight { padding: 3.5rem 0; }

.wd-rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    border: 0;
    margin: 1.1rem 0 1.4rem;
}

/* Header */
.wd-header.navbar {
    background: rgba(245, 242, 235, 0.92) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    padding: 0.85rem 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.wd-header.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: var(--line);
    padding: 0.55rem 0;
}

.wd-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink) !important;
}

.wd-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.wd-name {
    display: block;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--ink);
}

.wd-tag {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.2rem;
}

.wd-header .nav-link {
    color: var(--ink-soft) !important;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.45rem 0.75rem !important;
    background: transparent !important;
    border-radius: 0;
}

.wd-header .nav-link:hover,
.wd-header .nav-link.active {
    color: var(--ink) !important;
    background: transparent !important;
    transform: none;
}

.wd-header .nav-link.active {
    box-shadow: inset 0 -2px 0 var(--accent);
}

.wd-header .nav-link.wd-nav-cta,
.wd-header .nav-link.wd-nav-cta.active,
.wd-header .nav-link.wd-nav-cta:hover {
    background: var(--ink) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.55rem 1.05rem !important;
    margin-left: 0.4rem;
    box-shadow: none !important;
}

.wd-header .nav-link.btn:hover,
.wd-header .wd-nav-cta:hover {
    background: var(--brand) !important;
    color: #fff !important;
    transform: none;
}

.wd-header .navbar-toggler {
    border: 1px solid var(--line);
    padding: 0.35rem 0.55rem;
}

.wd-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23121a24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.wd-header .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.4rem;
}

.wd-header .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .wd-header .navbar-collapse {
        background: #fff;
        margin-top: 0.8rem;
        padding: 0.8rem;
        border-radius: 12px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .wd-header .nav-link.btn,
    .wd-header .wd-nav-cta {
        margin: 0.4rem 0 0;
        text-align: center;
    }
}

/* Buttons */
.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    letter-spacing: 0.01em;
}

.btn-primary, .btn-submit {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-primary:hover, .btn-submit:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-success {
    background: var(--brand);
    border-color: var(--brand);
}

.btn-success:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
}

.btn-outline-primary, .btn-outline-dark {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-outline-primary:hover, .btn-outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn-cta { border-radius: 999px; }

/* Heroes */
.home-hero {
    padding: 4.5rem 0 3rem;
}

.home-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.hero-panel {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.75rem;
    min-height: 100%;
}

.hero-panel h2,
.hero-panel p { color: inherit; }

.hero-panel .metric {
    border-top: 1px solid var(--line);
    padding: 1rem 0;
}

.hero-panel .metric:first-of-type { border-top: 0; }

.hero-panel .metric strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
}

.hero-panel .metric span {
    color: var(--muted);
    font-size: 0.92rem;
}

.page-hero,
.request-hero,
.portfolio-hero,
.testimonials-hero,
.service-hero {
    background: #fff !important;
    color: var(--ink) !important;
    padding: 4.25rem 0 3.25rem !important;
    margin-bottom: 2.5rem !important;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.page-hero h1,
.request-hero h1,
.portfolio-hero h1,
.testimonials-hero h1,
.service-hero h1,
.page-hero p,
.request-hero p,
.portfolio-hero p,
.testimonials-hero p,
.service-hero .lead,
.service-hero p {
    color: var(--ink) !important;
}

.page-hero .wd-lead,
.request-hero .wd-lead,
.service-hero .lead,
.portfolio-hero p,
.testimonials-hero .lead {
    color: var(--muted) !important;
}

.page-hero h1,
.request-hero h1,
.portfolio-hero h1,
.testimonials-hero h1,
.service-hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.6rem) !important;
    margin-bottom: 0.8rem;
}

.request-hero .text-center,
.portfolio-hero .text-center,
.testimonials-hero .text-center,
.service-hero .text-center {
    text-align: left !important;
}

.request-hero .mx-auto,
.portfolio-hero .mx-auto,
.testimonials-hero .mx-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 46rem;
}

.request-hero h1 i,
.portfolio-hero h1 i,
.testimonials-hero h1 i { display: none; }

.service-badge {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
    color: var(--accent-soft) !important;
    opacity: 1 !important;
}

.stats-badge {
    background: var(--paper) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    backdrop-filter: none !important;
}

.stats-badge .number,
.stats-badge .label { color: var(--ink); }

/* Cards and grids */
.wd-card,
.service-card,
.product-card,
.project-card,
.feature-card,
.form-container,
.review-card,
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    height: 100%;
}

.service-card,
.product-card,
.project-card,
.feature-card,
.testimonial-card,
.review-card {
    padding: 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.product-card:hover,
.project-card:hover,
.feature-card:hover {
    transform: translateY(-3px);
    border-color: #cfc6b8 !important;
}

.card-icon,
.project-icon,
.feature-icon {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--accent) !important;
    margin: 0 0 1rem !important;
    font-size: 1.35rem !important;
    display: block;
}

.service-card .card-body,
.product-card .card-body { padding: 0.25rem; }

.wd-index {
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.service-name {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--brand-deep);
    line-height: 1.12;
}

.catalogue-name {
    display: inline-block;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.catalogue-name::after {
    content: "";
    display: block;
    width: 2.4rem;
    height: 3px;
    margin-top: 0.45rem;
    background: var(--accent);
    border-radius: 2px;
}

.service-card .service-name {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.4rem;
    color: var(--ink);
}

.service-hero h1.service-name {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--brand-deep) !important;
}

.plan-label {
    font-family: var(--font);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ink);
    line-height: 1.25;
}

.pricing-card .plan-name {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink) !important;
}

.sector-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sector-row div {
    padding: 1.35rem 1.1rem;
    font-weight: 700;
    color: var(--ink-soft);
    border-right: 1px solid var(--line);
}

.sector-row strong {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.sector-row div:last-child { border-right: 0; }
.sector-row span {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 0.88rem;
}

.step {
    padding-right: 1.5rem;
}

.step em {
    font-family: var(--serif);
    font-style: normal;
    font-size: 2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.4rem;
}

.announce {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.price {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--ink);
}

.pricing-card {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    background: #fff;
    color: var(--ink);
    transform: none !important;
    box-shadow: none !important;
}

.pricing-card.featured {
    background: #fff !important;
    color: var(--ink) !important;
    border: 2px solid var(--brand) !important;
    transform: none !important;
}

.pricing-card.featured .features-list i,
.pricing-card.featured .features-list li {
    color: var(--ink) !important;
}

.pricing-card:hover,
.pricing-card.featured:hover { transform: none !important; }

.benefit-item {
    background: #fff !important;
    border-left: 2px solid var(--accent) !important;
    border-radius: 0 12px 12px 0 !important;
}

.benefit-icon, .rating-stars, .review-rating, .testimonial-rating { color: var(--accent) !important; }

.nav-pills .nav-link {
    color: var(--ink) !important;
    border-radius: 999px !important;
    font-weight: 700;
}

.nav-pills .nav-link.active {
    background: var(--ink) !important;
    color: #fff !important;
}

#about-service,
#plans,
#questions { scroll-margin-top: 5.5rem; }

.service-prose p { max-width: 46rem; }

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.social-share-buttons .btn {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    padding: 0.35rem 0.8rem;
}

.social-share-buttons .btn:hover {
    background: var(--paper);
    color: var(--ink);
}

.filter-btn, .filter-section .filter-btn {
    display: inline-block;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-section .filter-btn.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.form-container, .selected-item-card, .info-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.form-control, .form-select, textarea.form-control {
    border-radius: 10px;
    border-color: #d9d2c6;
    padding: 0.72rem 0.9rem;
    background: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(22, 58, 95, 0.12);
}

.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--brand); text-decoration: none; }

.empty-state {
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state i { font-size: 2rem; color: var(--accent-soft); }

.cta-band, .cta-section {
    background: #fff !important;
    color: var(--ink) !important;
    border-radius: 0 !important;
    border-top: 1px solid var(--line);
    padding: 4.5rem 0 !important;
    margin-top: 1rem;
}

.cta-band h2, .cta-section h2, .cta-section h3, .cta-band p, .cta-section p, .cta-section .lead {
    color: var(--ink) !important;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 2.8rem) !important;
    text-align: left !important;
    padding-bottom: 0 !important;
}

.section-title::after { display: none !important; }

.promotion-banner {
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid var(--line);
    animation: none !important;
    border-radius: 12px;
}

/* Footer */
.wd-footer {
    background: #fff;
    color: var(--muted);
    margin-top: 0;
    border-top: 1px solid var(--line);
}

.wd-footer h5, .wd-footer h6 {
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.wd-footer h5::after { display: none; }

.wd-footer a {
    color: var(--ink-soft);
    text-decoration: none;
}

.wd-footer a:hover {
    color: var(--brand) !important;
    transform: none !important;
}

.wd-footer .wd-name { color: var(--ink); }

.wd-footer .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ink);
}

.wd-footer .social-icon:hover {
    background: var(--paper);
    color: var(--brand) !important;
}

.wd-footer .btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.wd-footer .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
}

.person-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    height: 100%;
}

.person-card .role {
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 700;
}

.office-card {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.office-card a { color: var(--brand); }
.office-card a.btn,
.office-card a.btn:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}
.office-card p, .office-card h2 { color: inherit; }

@media (max-width: 767px) {
    .sector-row { grid-template-columns: 1fr 1fr; }
    .sector-row div { border-bottom: 1px solid var(--line); }
    .wd-section { padding: 3.5rem 0; }
    .home-hero { padding-top: 2.5rem; }
}
