/**
 * Theme Name: Retech Group
 * Description: Native WordPress theme for Retech Group with editable pages, products, news, multilingual-ready content, and standard page templates.
 * Version: 2.1.3
 * Author: Retech Group
 */

:root {
    --retech-primary: #087985;
    --retech-primary-dark: #065c66;
    --retech-accent: #f39c32;
    --retech-accent-hover: #e68a20;
    --retech-secondary: #5a6d7e;
    --retech-secondary-soft: #eef3f5;
    --retech-text: #18313f;
    --retech-muted: #637280;
    --retech-border: #dde6ea;
    --retech-bg: #f7fafb;
    --retech-white: #ffffff;
    --retech-shadow: 0 8px 28px rgba(16, 35, 43, 0.06);
    --retech-radius: 18px;
    --retech-container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--retech-text);
    background: var(--retech-white);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    line-height: 1.15;
    color: var(--retech-text);
}

ul,
ol {
    margin: 0;
    padding: 0;
}

.retech-container {
    width: min(calc(100% - 2rem), var(--retech-container));
    margin: 0 auto;
}

.retech-main {
    min-height: 50vh;
}

.retech-stack > * + * {
    margin-top: 1.5rem;
}

.retech-topbar {
    background: var(--retech-secondary);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.retech-topbar__inner,
.retech-mainnav__inner,
.retech-footer__bottom,
.retech-section-heading--split,
.retech-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.retech-topbar__inner {
    padding: 0.75rem 0;
}

.retech-topbar__contact,
.retech-topbar__links,
.retech-language-switcher,
.retech-socials,
.retech-article-meta,
.retech-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.retech-article-meta--compact {
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.86rem;
    color: #7b8994;
}

.retech-article-meta--compact span,
.retech-article-meta--hero span {
    position: relative;
}

.retech-article-meta--compact span + span::before,
.retech-article-meta--hero span + span::before {
    content: "";
    display: inline-block;
    width: 0.28rem;
    height: 0.28rem;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    opacity: 0.7;
}

.retech-article-category {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.retech-language-switcher a {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.retech-language-switcher a.is-current {
    background: rgba(255, 255, 255, 0.16);
}

.retech-mainnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(221, 230, 234, 0.8);
}

.retech-mainnav__inner {
    min-height: 6rem;
}

.retech-brand {
    display: inline-flex;
    align-items: center;
}

.retech-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.retech-logo__mark {
    display: inline-flex;
    width: 3.1rem;
    height: 3.1rem;
}

.retech-logo--small .retech-logo__mark {
    width: 2.3rem;
    height: 2.3rem;
}

.retech-logo__text {
    display: flex;
    flex-direction: column;
}

.retech-logo__name {
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--retech-primary);
}

.retech-logo__tagline {
    color: var(--retech-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retech-desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.retech-desktop-nav > a:not(.retech-button),
.retech-mobile-nav__panel > a {
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--retech-muted);
}

.retech-desktop-nav > a.is-active:not(.retech-button),
.retech-mobile-nav__panel > a.is-active {
    color: var(--retech-primary);
}

.retech-mobile-nav {
    display: none;
}

.retech-mobile-nav summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
}

.retech-mobile-nav summary::-webkit-details-marker {
    display: none;
}

.retech-mobile-nav summary span {
    width: 1.6rem;
    height: 2px;
    background: var(--retech-text);
    border-radius: 999px;
}

.retech-mobile-nav__panel {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.4rem);
    width: min(20rem, calc(100vw - 2rem));
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--retech-shadow);
    display: grid;
    gap: 1rem;
}

.retech-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.25s ease;
}

.retech-button:hover {
    transform: translateY(-1px);
}

.retech-button--small {
    padding: 0.8rem 1.25rem;
}

.retech-button--primary {
    background: var(--retech-primary);
    color: var(--retech-white);
}

.retech-button--primary:hover {
    background: var(--retech-primary-dark);
}

.retech-button--accent {
    background: var(--retech-accent);
    color: var(--retech-white);
}

.retech-button--accent:hover {
    background: var(--retech-accent-hover);
}

.retech-button--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--retech-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.retech-button--ghost:hover,
.retech-button--light {
    background: var(--retech-white);
    color: var(--retech-primary);
}

.retech-button--secondary {
    width: 100%;
    background: var(--retech-secondary-soft);
    color: var(--retech-primary);
}

.retech-button--full {
    width: 100%;
}

.retech-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--retech-primary);
    font-weight: 700;
}

.retech-inline-link--light {
    color: var(--retech-white);
}

.retech-hero,
.retech-page-hero {
    background: linear-gradient(135deg, #0f4e60, #0fa3b1);
    color: var(--retech-white);
    background-size: cover;
    background-position: center;
}

.retech-hero {
    padding: 7rem 0 8rem;
}

.retech-page-hero {
    padding: 5rem 0;
}

.retech-page-hero--article {
    background-size: cover;
    background-position: center;
}

.retech-hero__content {
    display: flex;
    align-items: center;
}

.retech-hero__copy {
    max-width: 48rem;
}

.retech-hero h1,
.retech-page-hero h1,
.retech-section--primary h2,
.retech-section--primary h3 {
    color: var(--retech-white);
}

.retech-hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.4rem;
}

.retech-page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.retech-hero h1 span {
    color: var(--retech-accent);
}

.retech-hero p,
.retech-page-hero p,
.retech-article-meta--hero {
    color: rgba(255, 255, 255, 0.88);
}

.retech-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.retech-section {
    padding: 5.5rem 0;
}

.retech-section--tight {
    padding: 3.5rem 0 5rem;
}

.retech-section--muted {
    background: var(--retech-bg);
}

.retech-section--primary {
    background: linear-gradient(135deg, #114654, #0f7f90);
    color: var(--retech-white);
}

.retech-section--cta {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.retech-section-heading {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.retech-section-heading--split {
    max-width: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.retech-section-heading h2,
.retech-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--retech-primary);
}

.retech-section-heading p,
.retech-section-title + p {
    color: var(--retech-muted);
    font-size: 1.05rem;
}

.retech-feature-grid,
.retech-card-grid,
.retech-team-grid,
.retech-footer__grid,
.retech-two-col-cards,
.retech-contact-layout,
.retech-article-layout,
.retech-products-layout,
.retech-detail-grid,
.retech-trust-grid {
    display: grid;
    gap: 1.75rem;
}

.retech-feature-grid,
.retech-card-grid,
.retech-team-grid,
.retech-footer__grid,
.retech-two-col-cards,
.retech-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.retech-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.retech-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.retech-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retech-products-layout {
    grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
    align-items: start;
}

.retech-contact-layout,
.retech-detail-grid,
.retech-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.retech-article-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(18rem, 0.9fr);
    align-items: start;
}

.retech-feature-card,
.retech-card,
.retech-info-card,
.retech-sidebar-card,
.retech-form-card,
.retech-detail-card,
.retech-content-card,
.retech-empty-state,
.retech-team-card,
.retech-cta-box {
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    border-radius: var(--retech-radius);
    box-shadow: var(--retech-shadow);
}

.retech-feature-card,
.retech-info-card,
.retech-sidebar-card,
.retech-form-card,
.retech-detail-card,
.retech-content-card,
.retech-empty-state,
.retech-cta-box {
    padding: 2rem;
}

.retech-feature-card {
    background: linear-gradient(180deg, #f6fbfc, #ffffff);
}

.retech-feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 163, 177, 0.12);
    color: var(--retech-primary);
    margin-bottom: 1.2rem;
}

.retech-feature-icon svg {
    width: 1.8rem;
    height: 1.8rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.retech-card {
    overflow: hidden;
}

.retech-card__media {
    position: relative;
    min-height: 15rem;
    background: linear-gradient(135deg, rgba(15, 163, 177, 0.15), rgba(243, 156, 50, 0.18));
}

.retech-card__media img,
.retech-detail-media img,
.retech-team-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retech-card__placeholder,
.retech-team-card__placeholder,
.retech-map-card__visual {
    display: grid;
    place-items: center;
    min-height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 30%),
        linear-gradient(135deg, rgba(15,163,177,.85), rgba(90,109,126,.95));
    color: var(--retech-white);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retech-card__placeholder--large {
    min-height: 28rem;
}

.retech-card__body {
    padding: 1.6rem;
}

.retech-card__body h2,
.retech-card__body h3,
.retech-sidebar-card h2,
.retech-sidebar-card h3,
.retech-detail-card h2,
.retech-content-card h1,
.retech-content-card h2,
.retech-content-card h3,
.retech-team-card h3 {
    color: var(--retech-primary);
}

.retech-card__body p,
.retech-feature-card p,
.retech-info-card p,
.retech-sidebar-card p,
.retech-team-card p,
.retech-content-card p,
.retech-detail-card p {
    color: var(--retech-muted);
}

.retech-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    color: var(--retech-muted);
    font-size: 0.9rem;
}

.retech-eyebrow {
    margin-bottom: 0.65rem;
    color: var(--retech-accent);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    font-weight: 800;
    text-transform: uppercase;
}

.retech-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: var(--retech-accent);
    color: var(--retech-white);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retech-badge--primary {
    background: var(--retech-primary);
}

.retech-person__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.retech-person span,
.retech-commitment-card,
.retech-commitment-card h3,
.retech-checklist li,
.retech-cta-strip h2,
.retech-cta-strip p {
    color: var(--retech-white);
}

.retech-commitment-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--retech-radius);
    padding: 2rem;
}

.retech-checklist {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.retech-checklist li {
    position: relative;
    padding-left: 1.7rem;
}

.retech-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--retech-accent);
    font-weight: 800;
}

.retech-cta-box {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.retech-cta-box p {
    max-width: 40rem;
    margin: 0 auto 2rem;
    color: var(--retech-muted);
    font-size: 1.08rem;
}

.retech-info-card {
    border-top: 5px solid var(--retech-primary);
}

.retech-info-card--accent {
    border-top-color: var(--retech-accent);
}

.retech-info-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(15, 163, 177, 0.08);
    color: var(--retech-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.retech-info-card--about {
    border-top-width: 4px;
    box-shadow: 0 20px 42px rgba(16, 35, 43, 0.08);
}

.retech-info-card__icon--accent {
    background: rgba(243, 156, 50, 0.12);
    color: var(--retech-accent);
}

.retech-timeline {
    display: grid;
    gap: 1.6rem;
    max-width: 62rem;
    margin: 0 auto;
}

.retech-timeline__item {
    display: grid;
    grid-template-columns: 8rem 2rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.retech-timeline__dot {
    width: 1rem;
    height: 1rem;
    margin-top: 0.8rem;
    border-radius: 50%;
    background: var(--retech-primary);
    box-shadow: 0 0 0 8px rgba(15, 163, 177, 0.12);
}

.retech-timeline__year {
    color: var(--retech-accent);
    font-size: 2rem;
    font-weight: 800;
    text-align: right;
}

.retech-timeline__card {
    position: relative;
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 35, 43, 0.05);
}

.retech-team-card {
    overflow: hidden;
}

.retech-team-card__media {
    height: 17rem;
    background: linear-gradient(135deg, rgba(15, 163, 177, 0.18), rgba(243, 156, 50, 0.18));
}

.retech-team-card--about .retech-team-card__body {
    text-align: center;
}

.retech-team-card__placeholder {
    font-size: 2.25rem;
}

.retech-team-card__body {
    padding: 1.5rem;
}

.retech-team-card__role {
    color: var(--retech-accent);
    font-weight: 700;
}

.retech-certifications {
    text-align: center;
}

.retech-certifications p {
    color: var(--retech-muted);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.retech-certifications__logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.retech-certifications__logos span {
    min-width: 9rem;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    background: #eef3f5;
    color: #7d8a94;
    font-weight: 700;
}

.retech-sidebar-card {
    position: sticky;
    top: 7rem;
}

.retech-sidebar-card__header {
    margin-bottom: 1rem;
}

.retech-category-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.retech-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    color: var(--retech-muted);
    background: transparent;
    transition: 0.2s ease;
}

.retech-category-list__chevron {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0;
    transform: translateX(-4px);
    transition: 0.2s ease;
}

.retech-category-list a:hover {
    background: var(--retech-secondary-soft);
}

.retech-category-list a:hover .retech-category-list__chevron,
.retech-category-list a.is-active .retech-category-list__chevron {
    opacity: 1;
    transform: translateX(0);
}

.retech-category-list a.is-active {
    background: var(--retech-primary);
    color: var(--retech-white);
}

.retech-help-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--retech-border);
}

.retech-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    border-radius: 1.25rem;
    box-shadow: 0 12px 34px rgba(16, 35, 43, 0.05);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.retech-search-wrap {
    position: relative;
    width: min(100%, 24rem);
}

.retech-search-wrap__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8b99a5;
    font-size: 1rem;
    pointer-events: none;
}

.retech-search,
.retech-form input,
.retech-form select,
.retech-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #cdd8dd;
    border-radius: 0.95rem;
    background: var(--retech-white);
    color: var(--retech-text);
    font: inherit;
}

.retech-search {
    padding-left: 2.8rem;
}

.retech-search:focus,
.retech-form input:focus,
.retech-form select:focus,
.retech-form textarea:focus {
    outline: none;
    border-color: var(--retech-primary);
    box-shadow: 0 0 0 4px rgba(15, 163, 177, 0.12);
}

.retech-toolbar__meta {
    color: var(--retech-muted);
    white-space: nowrap;
}

.retech-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border-style: dashed;
}

.retech-detail-media {
    min-height: 28rem;
    overflow: hidden;
    border-radius: var(--retech-radius);
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    box-shadow: var(--retech-shadow);
}

.retech-detail-content {
    display: grid;
    gap: 1.5rem;
}

.retech-detail-summary {
    background: var(--retech-white);
    border: 1px solid var(--retech-border);
    border-radius: var(--retech-radius);
    box-shadow: var(--retech-shadow);
    padding: 2rem;
}

.retech-detail-summary h2 {
    margin-bottom: 0.75rem;
    color: var(--retech-primary);
    font-size: 1.7rem;
}

.retech-detail-summary p {
    margin: 0;
    color: var(--retech-muted);
    font-size: 1.05rem;
}

.retech-spec-list {
    display: grid;
    gap: 0.8rem;
}

.retech-spec-list div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--retech-border);
}

.retech-spec-list dt {
    font-weight: 700;
    color: var(--retech-text);
}

.retech-spec-list dd {
    margin: 0;
    color: var(--retech-muted);
}

.retech-content-card {
    max-width: 100%;
}

.retech-content-card--article {
    padding: 2.5rem;
}

.retech-content-card p,
.retech-content-card li {
    color: var(--retech-muted);
}

.retech-content-card ul,
.retech-content-card ol {
    margin: 0 0 1.2rem 1.2rem;
    padding-left: 1rem;
}

.retech-lead {
    font-size: 1.18rem;
    color: var(--retech-text) !important;
}

.retech-cta-strip {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--retech-primary), #0e6d7a);
    border-radius: var(--retech-radius);
}

.retech-cta-strip--product {
    margin-top: 2.25rem;
    align-items: center;
}

.retech-map-card {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: var(--retech-radius);
    position: relative;
    min-height: 18rem;
    border: 1px solid var(--retech-border);
    box-shadow: var(--retech-shadow);
}

.retech-map-card__visual {
    min-height: 18rem;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.65), transparent 25%),
        radial-gradient(circle at 75% 45%, rgba(255,255,255,.35), transparent 20%),
        linear-gradient(135deg, rgba(15,163,177,.88), rgba(90,109,126,.96));
}

.retech-map-card .retech-button {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.retech-form-card {
    padding: 2.2rem;
}

.retech-form {
    display: grid;
    gap: 1rem;
}

.retech-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--retech-text);
    font-weight: 600;
}

.retech-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.retech-form__hint {
    margin: 0;
    color: var(--retech-muted);
    font-size: 0.9rem;
}

.retech-notice {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    font-weight: 600;
}

.retech-notice--success {
    background: rgba(17, 140, 98, 0.1);
    color: #136f4f;
}

.retech-notice--error {
    background: rgba(210, 74, 74, 0.1);
    color: #9a2d2d;
}

.retech-related-list {
    display: grid;
    gap: 1.2rem;
}

.retech-related-list article {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--retech-border);
}

.retech-related-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.retech-sidebar-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--retech-border);
}

.retech-sidebar-cta h3 {
    color: var(--retech-primary);
    margin-bottom: 0.7rem;
}

.retech-sidebar-cta p {
    color: var(--retech-muted);
    margin-bottom: 1rem;
}

.retech-footer {
    background: var(--retech-secondary);
    color: rgba(255, 255, 255, 0.94);
    padding: 4.5rem 0 2rem;
}

.retech-footer__grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    margin-bottom: 2rem;
}

.retech-footer__brand p,
.retech-footer__links a,
.retech-footer__contact li,
.retech-footer__bottom {
    color: rgba(255, 255, 255, 0.78);
}

.retech-footer h3 {
    color: var(--retech-white);
    margin-bottom: 1rem;
}

.retech-footer__links,
.retech-footer__contact {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.retech-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.4rem;
}

.retech-footer__legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.retech-socials a {
    display: inline-flex;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 700;
}

.retech-footer__logo {
    display: inline-flex;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: var(--retech-white);
}

.pagination {
    margin-top: 2rem;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    min-width: 2.75rem;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--retech-border);
    background: var(--retech-white);
}

.pagination .page-numbers.current {
    background: var(--retech-primary);
    color: var(--retech-white);
    border-color: var(--retech-primary);
}

@media (max-width: 1100px) {
    .retech-team-grid,
    .retech-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .retech-card-grid,
    .retech-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .retech-topbar {
        display: none;
    }

    .retech-desktop-nav {
        display: none;
    }

    .retech-mobile-nav {
        display: inline-block;
        position: relative;
    }

    .retech-products-layout,
    .retech-contact-layout,
    .retech-detail-grid,
    .retech-article-layout,
    .retech-trust-grid,
    .retech-two-col-cards {
        grid-template-columns: 1fr;
    }

    .retech-sidebar-card {
        position: static;
    }

    .retech-section-heading--split,
    .retech-cta-strip,
    .retech-toolbar,
    .retech-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .retech-hero,
    .retech-page-hero,
    .retech-section,
    .retech-section--cta {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .retech-feature-grid,
    .retech-card-grid,
    .retech-team-grid,
    .retech-footer__grid,
    .retech-form__grid,
    .retech-timeline__item {
        grid-template-columns: 1fr;
    }

    .retech-timeline__year {
        text-align: left;
    }

    .retech-timeline__dot {
        display: none;
    }

    .retech-card__footer,
    .retech-person {
        flex-direction: column;
        align-items: flex-start;
    }

    .retech-cta-box,
    .retech-form-card,
    .retech-content-card--article,
    .retech-feature-card,
    .retech-info-card,
    .retech-sidebar-card,
    .retech-detail-card,
    .retech-content-card {
        padding: 1.5rem;
    }
}

/* React parity refinements */
.retech-topbar {
    font-size: 0.84rem;
}

.retech-topbar__item {
    position: relative;
    padding-left: 1.1rem;
}

.retech-topbar__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--retech-primary);
    transform: translateY(-50%);
}

.retech-mainnav {
    box-shadow: 0 8px 24px rgba(16, 35, 43, 0.04);
}

.retech-mainnav__inner {
    min-height: 5.5rem;
}

.retech-logo {
    gap: 0.8rem;
}

.retech-logo__mark {
    filter: drop-shadow(0 8px 20px rgba(15, 163, 177, 0.18));
}

.retech-logo__name {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: none;
    color: #1f2b37;
}

.retech-logo__name span {
    font-weight: 500;
}

.retech-logo--small .retech-logo__name {
    font-size: 1.25rem;
}

.retech-logo__tagline {
    margin-top: 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #6f7f8e;
}

.retech-desktop-nav > a:not(.retech-button),
.retech-mobile-nav__panel > a {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
}

.retech-button {
    box-shadow: 0 12px 28px rgba(16, 35, 43, 0.08);
}

.retech-hero {
    position: relative;
    padding: 8rem 0 8.5rem;
    overflow: hidden;
}

.retech-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 45, 56, 0.74) 0%, rgba(12, 45, 56, 0.48) 40%, rgba(12, 45, 56, 0.16) 100%);
}

.retech-hero__content {
    position: relative;
    z-index: 1;
}

.retech-hero__copy {
    max-width: 50rem;
}

.retech-hero h1 {
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 1.6rem;
}

.retech-hero p {
    max-width: 46rem;
    font-size: 1.28rem;
    font-weight: 300;
}

.retech-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.retech-hero__meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retech-section-heading h2 {
    letter-spacing: -0.03em;
}

.retech-feature-card {
    border: 0;
    box-shadow: 0 20px 42px rgba(16, 35, 43, 0.08);
    background: linear-gradient(180deg, rgba(90, 109, 126, 0.08), #ffffff);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retech-feature-card:hover,
.retech-card:hover,
.retech-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(16, 35, 43, 0.12);
}

.retech-feature-icon {
    background: rgba(15, 163, 177, 0.1);
}

.retech-card {
    border-radius: 1.15rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retech-card__media {
    min-height: 12.75rem;
}

.retech-card__media img {
    transition: transform 0.4s ease;
}

.retech-card:hover .retech-card__media img {
    transform: scale(1.05);
}

.retech-card-grid--home .retech-card__body {
    padding: 1.45rem 1.5rem 1.6rem;
}

.retech-card-grid--products {
    gap: 1.6rem;
}

.retech-card-grid--news {
    gap: 1.85rem;
}

.retech-card--article .retech-card__media {
    min-height: 13rem;
}

.retech-card__body--article {
    display: flex;
    flex-direction: column;
    min-height: 15.5rem;
}

.retech-card__body--article p {
    flex: 1;
}

.retech-card__body--article .retech-inline-link {
    margin-top: auto;
}

.retech-card--product .retech-card__media {
    min-height: 13.5rem;
}

.retech-card--product .retech-card__body {
    padding: 1.35rem 1.35rem 1.45rem;
}

.retech-card--product .retech-card__footer {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--retech-border);
}

.retech-card--product .retech-card__footer span {
    max-width: 55%;
}

.retech-content-card--product {
    margin-top: 2rem;
    padding: 2.25rem;
}

.retech-content-card--product h2,
.retech-content-card--product h3 {
    color: var(--retech-primary);
}

.retech-hero__meta--detail {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.retech-card__body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.retech-section--primary {
    background: linear-gradient(135deg, #0f4e60, #0fa3b1);
}

.retech-trust-grid {
    gap: 3rem;
}

.retech-section--primary blockquote {
    margin: 0 0 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
    font-style: italic;
}

.retech-commitment-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.retech-cta-box {
    border: 0;
    box-shadow: 0 30px 64px rgba(16, 35, 43, 0.12);
}

.retech-footer {
    padding-top: 4rem;
}

.retech-footer__logo {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.retech-footer__brand p {
    max-width: 18rem;
}

.retech-socials a {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
}

.retech-socials__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@media (max-width: 860px) {
    .retech-logo__name {
        font-size: 1.65rem;
    }

    .retech-hero {
        padding: 6rem 0 6.5rem;
    }

    .retech-hero p {
        font-size: 1.12rem;
    }
}

@media (max-width: 640px) {
    .retech-logo__tagline {
        letter-spacing: 0.2em;
    }

    .retech-hero__meta {
        gap: 0.55rem;
    }

    .retech-hero__meta span {
        font-size: 0.72rem;
        padding: 0.48rem 0.8rem;
    }
}

/* Native layout system — 2.1.0. Shared rules for all PHP templates. */
html { scroll-padding-top: 2rem; }
body { font-size: 1rem; -webkit-text-size-adjust: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { touch-action: manipulation; }
button { cursor: pointer; }
h1, h2, h3, h4 { overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.2rem; }
.retech-site { overflow-wrap: anywhere; }
.retech-container { width: min(calc(100% - clamp(2rem, 6vw, 5rem)), var(--retech-container)); }
.retech-main:focus { outline: none; }
:where(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid #087985; outline-offset: 4px; box-shadow: 0 0 0 6px #fff;
}
.retech-skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 1000; padding: .8rem 1.2rem; background: #fff; color: #18313f; transform: translateY(-200%); }
.retech-skip-link:focus { transform: none; }
.retech-header { position: relative; z-index: 40; }
.retech-mainnav { position: relative; }
.retech-mainnav__inner { min-height: 5.5rem; position: relative; }
.retech-brand { flex-shrink: 0; max-width: calc(100% - 4rem); }
.retech-logo__mark { flex-shrink: 0; }
.retech-desktop-nav { gap: clamp(.8rem, 1.8vw, 1.5rem); }
.retech-desktop-nav > a:not(.retech-button) { padding-block: 1rem; letter-spacing: .06em; }
.retech-desktop-nav > a:hover, .retech-desktop-nav > a.is-active { text-decoration: underline; text-underline-offset: .6rem; text-decoration-thickness: 2px; }
.retech-topbar__inner { padding-block: .35rem; }
.retech-topbar a { display: inline-flex; align-items: center; min-height: 32px; }
.retech-mobile-nav summary { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--retech-border); border-radius: .65rem; }
.retech-mobile-nav[open] summary { background: var(--retech-secondary-soft); }
.retech-mobile-nav__panel { right: 0; top: calc(100% - .25rem); max-height: min(70vh, 36rem); overflow-y: auto; gap: .25rem; }
.retech-mobile-nav__panel > a { padding: .8rem; border-radius: .5rem; letter-spacing: .05em; }
.retech-mobile-nav__panel > a.is-active { background: var(--retech-secondary-soft); }
.retech-language-switcher--mobile { padding-top: .75rem; border-top: 1px solid var(--retech-border); margin-top: .75rem; }
.retech-language-switcher--mobile a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-color: var(--retech-border); }
.retech-language-switcher--mobile [aria-current] { background: var(--retech-primary); color: #fff; }
.retech-button { min-height: 44px; line-height: 1.4; text-align: center; border-radius: .65rem; box-shadow: none; transition: background-color .2s, transform .2s; }
.retech-button--accent, .retech-badge { color: #18313f; }
.retech-badge--primary { color: #fff; }
.retech-hero { padding-block: clamp(4rem, 8vw, 7rem); }
.retech-hero h1 { font-size: clamp(2.35rem, 5.5vw, 4.75rem); letter-spacing: -.04em; line-height: 1.1; }
.retech-page-hero { padding-block: clamp(3rem, 6vw, 5rem); }
.retech-page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -.035em; }
.retech-page-hero p, .retech-hero p { max-width: 62ch; font-weight: 400; }
.retech-page-hero p:last-child { margin-bottom: 0; }
.retech-section { padding-block: clamp(3rem, 6vw, 5rem); }
.retech-section--tight { padding-top: 2.5rem; }
.retech-section-heading { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.retech-section-heading h2, .retech-section-title { color: var(--retech-text); font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.retech-section--primary .retech-section-title, .retech-section--primary .retech-section-heading h2 { color: #fff; }
.retech-feature-grid > *, .retech-card-grid > *, .retech-footer__grid > *, .retech-contact-layout > *, .retech-detail-grid > *, .retech-article-layout > *, .retech-products-layout > * { min-width: 0; }
.retech-card-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.retech-card { display: flex; flex-direction: column; }
.retech-card__media, .retech-card--article .retech-card__media, .retech-card--product .retech-card__media { aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; }
.retech-card__media > img, .retech-card__media > .retech-card__placeholder { width: 100%; height: 100%; }
.retech-card--product .retech-card__media { background: #f3f7f8; }
.retech-card--product .retech-card__media img { object-fit: contain; padding: 1.25rem; }
.retech-card__body { display: flex; flex-direction: column; flex: 1; }
.retech-card__body h2, .retech-card__body h3 { font-size: 1.25rem; line-height: 1.35; color: var(--retech-text); }
.retech-card__body > p { flex: 1; }
.retech-card__footer { flex-wrap: wrap; align-items: center; margin-top: auto; }
.retech-card--product .retech-card__footer span { max-width: none; }
.retech-card__body--article { min-height: 0; }
.retech-card__footer a, .retech-card__body > .retech-inline-link { min-height: 44px; }
.retech-eyebrow, .retech-timeline__year, .retech-team-card__role { color: #96560d; }
.retech-hero .retech-eyebrow, .retech-page-hero .retech-eyebrow { color: #ffc879; }
.retech-detail-media { aspect-ratio: 1; min-height: 0; }
.retech-detail-media img { width: 100%; height: 100%; object-fit: contain; padding: clamp(1rem, 3vw, 2rem); }
.retech-detail-media .retech-card__placeholder--large { min-height: 100%; }
.retech-detail-card .retech-checklist li { color: var(--retech-text); }
.retech-detail-card .retech-checklist li::before { color: var(--retech-primary); }
.retech-toolbar { flex-wrap: wrap; }
.retech-search-wrap { flex: 1 1 14rem; width: auto; }
.retech-toolbar__meta { white-space: normal; font-size: .9rem; }
.retech-sidebar-card { top: 2rem; }
.retech-content-card { line-height: 1.8; }
.retech-content-card > :last-child { margin-bottom: 0; }
.retech-content-card :is(h2, h3, h4):not(:first-child) { margin-top: 2rem; }
.retech-content-card :is(p, ul, ol, blockquote) { max-width: 72ch; }
.retech-content-card a { color: var(--retech-primary); text-decoration: underline; text-underline-offset: .2em; }
.retech-content-card blockquote { margin-inline: 0; padding-left: 1.5rem; border-left: 3px solid var(--retech-primary); }
.retech-content-card pre, .retech-content-card .wp-block-table { max-width: 100%; overflow-x: auto; }
.retech-content-card table { border-collapse: collapse; width: 100%; }
.retech-content-card :is(th, td) { padding: .7rem; border: 1px solid var(--retech-border); text-align: left; }
.retech-content-card iframe { max-width: 100%; }
.retech-form textarea { resize: vertical; min-height: 9rem; }
.retech-footer { background: #123D46; color: #DCE7EA; }
.retech-footer h3 { color: #FFFFFF; }
.retech-footer__brand p,
.retech-footer__links a,
.retech-footer__contact li,
.retech-footer__bottom { color: #DCE7EA; }
.retech-footer__brand p { margin-top: 1.25rem; }
.retech-footer__links a, .retech-footer__legal a { display: inline-block; padding-block: .2rem; }
.retech-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.retech-footer a:not(.retech-footer__logo):hover,
.retech-footer a:not(.retech-footer__logo):focus-visible { color: #F39C32; }
.retech-footer__bottom p { margin-bottom: 0; }
.retech-socials a { width: 44px; height: 44px; }
@media (max-width: 1100px) {
    .retech-desktop-nav { display: none; }
    .retech-mobile-nav { display: block; position: static; }
}
@media (max-width: 860px) {
    .retech-mainnav__inner { min-height: 4.75rem; }
    .retech-mobile-nav { position: static; }
    .retech-toolbar { flex-direction: row; align-items: center; }
    .retech-sidebar-card { position: static; }
    .retech-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .retech-help-box { margin-top: 1.25rem; padding-top: 1.25rem; }
}
@media (max-width: 640px) {
    .retech-card-grid--products, .retech-category-list { grid-template-columns: 1fr; }
    .retech-detail-summary, .retech-content-card--product, .retech-cta-strip, .retech-commitment-card { padding: 1.5rem; }
    .retech-actions { gap: .75rem; }
    .retech-actions .retech-button { width: 100%; }
    .retech-spec-list div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .retech-toolbar__meta { flex-basis: 100%; }
    .retech-logo__name { font-size: 1.45rem; }
    .retech-logo__tagline { font-size: .55rem; letter-spacing: .12em; }
    .retech-logo__mark { width: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .retech-site *, .retech-site *::before, .retech-site *::after { transition: none !important; animation: none !important; }
    .retech-card:hover, .retech-feature-card:hover, .retech-team-card:hover, .retech-card:hover .retech-card__media img, .retech-button:hover { transform: none; }
}

/* Uploaded WordPress logo: preserve its aspect ratio without cropping. */
.retech-logo--custom { max-width: 100%; }
.retech-logo__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(240px, 100%);
    max-height: 64px;
    object-fit: contain;
}
.retech-footer__logo { max-width: 100%; }
.retech-logo--small .retech-logo__image { max-width: min(200px, 100%); max-height: 56px; }
@media (max-width: 640px) {
    .retech-brand .retech-logo__image { max-width: min(190px, 100%); max-height: 48px; }
}

/* Team: center every row, including a row with only one or two people. */
.retech-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.75rem;
}
.retech-team-grid > .retech-team-card {
    flex: 0 1 calc((100% - 5.25rem) / 4);
    min-width: 0;
}
@media (max-width: 1100px) {
    .retech-team-grid > .retech-team-card {
        flex-basis: calc((100% - 1.75rem) / 2);
        max-width: 22rem;
    }
}
@media (max-width: 640px) {
    .retech-team-grid > .retech-team-card {
        flex-basis: 100%;
    }
}
