/* ══════════════════════════════════════
   TopPrint Homepage v2
   Industrial Precision Design
   ══════════════════════════════════════ */

/* ── Design tokens ── */
:root {
    --tp-primary: #2c3e50;
    --tp-dark: #1a2a38;
    --tp-deeper: #0f1922;
    --tp-bg: #eef0f3;
    --tp-card: #fff;
    --tp-border: #d5dce4;
    --tp-text: #2c3e50;
    --tp-text-2: #5a6c7d;
    --tp-muted: #8a9bae;
    --tp-accent: #2980b9;
    --tp-radius: 4px;
    --tp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --tp-shell: min(1280px, 100% - 80px);
}

/* ── Base ── */
.tp-nav,
.tp-hero-wrap,
.tp-hero,
.tp-metrics,
.tp-page,
.tp-footer {
    font-family: var(--tp-font);
    color: var(--tp-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */

.tp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--tp-primary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s, box-shadow 0.3s;
}

.tp-nav--scrolled {
    background: var(--tp-deeper);
    box-shadow: 0 1px 12px rgba(0,0,0,0.18);
}

.tp-nav__inner {
    width: var(--tp-shell);
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 28px;
}

/* Logo */
.tp-logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}
.tp-logo__top   { color: #fff; }
.tp-logo__print { color: var(--tp-muted); }
.tp-logo--footer { font-size: 24px; }
.tp-logo--footer .tp-logo__print { color: rgba(255,255,255,0.35); }

/* Nav links */
.tp-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.tp-nav__links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

.tp-nav__links a:hover { color: #fff; }

.tp-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.25s;
}
.tp-nav__links a:hover::after { width: 100%; }

/* Nav right */
.tp-nav__right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 20px;
}

/* Phone dropdown */
.tp-nav__phones {
    position: relative;
}

.tp-nav__phone {
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    padding: 0;
}
.tp-nav__phone:hover { color: #fff; }
.tp-nav__phone svg {
    transition: transform 0.2s;
    opacity: 0.5;
}
.tp-nav__phones--open .tp-nav__phone svg {
    transform: rotate(180deg);
}

.tp-nav__phones-drop {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--tp-deeper);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tp-radius);
    padding: 6px 0;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 100;
}
.tp-nav__phones--open .tp-nav__phones-drop {
    display: block;
}
.tp-nav__phones-drop a {
    display: block;
    padding: 8px 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.tp-nav__phones-drop a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.tp-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--tp-radius);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.tp-nav__cta:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.tp-nav__cta svg {
    opacity: 0.7;
}

/* Burger */
.tp-nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
}
.tp-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.25s;
}


/* ══════════════════════════════════════
   HERO — constrained to shell width
   ══════════════════════════════════════ */

.tp-hero-wrap {
    padding-top: 64px;
}

.tp-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--tp-primary);
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* Dark overlay for text readability */
.tp-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 42, 0);
    z-index: 1;
}

.tp-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 483px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px 60px;
    max-width: 720px;
    margin: 0 auto 0 calc((100% - min(1280px, 100% - 80px)) / 2);
}

.tp-hero__label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--tp-radius);
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.06);
}

.tp-hero__title {
    margin: 0;
    font-size: clamp(30px, 3.85vw, 47px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    text-transform: uppercase;
}

.tp-hero__title span {
    color: #5a6c7d;
    font-size: 0.85em;
}

.tp-hero__title--accent {
    color: rgba(255,255,255,0.85) !important;
    font-style: italic;
    font-weight: 700;
}

.tp-hero__sub {
    margin: 28px 0 0;
    font-size: clamp(18.27px, 2.385vw, 29.25px);
    line-height: 1.15;
    color: #5a6c7d;
    max-width: 580px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.tp-hero__desc {
    margin: 8px 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.4);
    max-width: 440px;
    font-style: italic;
}

.tp-hero__actions {
    margin-top: 35px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ── Buttons ── */

.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--tp-radius);
    font-family: var(--tp-font);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
}

.tp-btn--white {
    background: #fff;
    color: var(--tp-primary);
}
.tp-btn--white:hover {
    background: var(--tp-bg);
    color: var(--tp-primary);
}

.tp-btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
}
.tp-btn--ghost:hover {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}

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

.tp-btn--outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    padding: 10px 24px;
    font-size: 0.84rem;
    margin-top: 12px;
}
.tp-btn--outline-light:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}


/* ══════════════════════════════════════
   METRICS STRIP
   ══════════════════════════════════════ */

.tp-metrics {
    background: #e4e3eb;
    border-bottom: 1px solid var(--tp-border);
}

.tp-metrics__inner {
    width: var(--tp-shell);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-metrics__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 16px;
}

.tp-metrics__num {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tp-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tp-metrics__label {
    font-size: 0.78rem;
    color: var(--tp-text-2);
    line-height: 1.35;
    max-width: 130px;
}

.tp-metrics__div {
    width: 1px;
    height: 36px;
    background: var(--tp-border);
    flex-shrink: 0;
}


/* ══════════════════════════════════════
   PAGE BODY
   ══════════════════════════════════════ */

.tp-page {
    background: var(--tp-card);
}

.tp-shell {
    width: var(--tp-shell);
    margin: 0 auto;
}


/* ── Section ── */

.tp-section {
    padding: 48px 0;
}

.tp-section--dark {
    background: var(--tp-primary);
}

.tp-section__head {
    margin-bottom: 40px;
}

.tp-section__num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tp-muted);
    margin-bottom: 10px;
}

.tp-section__head--light .tp-section__num {
    color: rgba(255,255,255,0.2);
}

.tp-section__title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--tp-text);
}

.tp-section__head--light .tp-section__title {
    color: #fff;
}

.tp-section__sub {
    margin: 10px 0 0;
    font-size: 0.95rem;
    color: var(--tp-text-2);
    max-width: 460px;
    line-height: 1.5;
}

.tp-section__head--light .tp-section__sub {
    color: rgba(255,255,255,0.35);
}

/* ── Arrow link ── */

.tp-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: var(--tp-text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.tp-arrow-link:hover { color: var(--tp-dark); }
.tp-arrow-link svg { transition: transform 0.2s; }
.tp-arrow-link:hover svg { transform: translateX(4px); }


/* ══════════════════════════════════════
   SERVICES — 2×2 grid, horizontal cards
   ══════════════════════════════════════ */

.tp-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tp-svc {
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    position: relative;
    display: flex;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.25s;
    text-decoration: none;
    color: inherit;
}

.tp-svc:hover, .tp-svc:focus, .tp-svc:active {
    text-decoration: none;
    color: inherit;
    border-color: var(--tp-primary);
    transform: translateY(-2px);
}

.tp-svc__body {
    flex: 1;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-svc__tag {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tp-muted);
    margin-bottom: 12px;
}

.tp-svc__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tp-text);
    line-height: 1.3;
}

.tp-svc__text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--tp-text-2);
}

.tp-svc__img {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.tp-svc__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ══════════════════════════════════════
   WHY US
   ══════════════════════════════════════ */

.tp-why {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.tp-reason {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 0;
}

.tp-reason + .tp-reason {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.tp-reason__num {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.07);
    line-height: 1;
    flex-shrink: 0;
    min-width: 56px;
    font-variant-numeric: tabular-nums;
}

.tp-reason__body h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.tp-reason__body p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
}

/* Gallery mosaic: 1 wide top + 2 bottom */
.tp-why__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 190px;
    gap: 8px;
}

.tp-why__photo {
    border-radius: var(--tp-radius);
    overflow: hidden;
    display: block;
}

.tp-why__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.tp-why__photo:hover img {
    transform: scale(1.04);
}

.tp-why__photo--0 {
    grid-column: 1 / -1;
}


/* ══════════════════════════════════════
   PORTFOLIO — asymmetric grid
   ══════════════════════════════════════ */

.tp-portfolio {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 200px;
    gap: 10px;
}

/* First item spans 2 rows (large left) */
.tp-port-item--0 {
    grid-row: 1 / -1;
}

.tp-port-item {
    border-radius: var(--tp-radius);
    overflow: hidden;
    display: block;
    background: var(--tp-border);
}

.tp-port-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.tp-port-item:hover img {
    transform: scale(1.04);
}


/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */

.tp-cta {
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.tp-cta__copy {
    padding: 44px 40px;
}

.tp-cta__copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tp-text);
    letter-spacing: -0.01em;
}

.tp-cta__copy > p {
    margin: 0 0 24px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--tp-text-2);
}

.tp-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    font-family: var(--tp-font);
}
.tp-cta__list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 2;
    color: var(--tp-text-2);
    letter-spacing: -0.01em;
}
.tp-cta__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tp-primary);
    opacity: 0.35;
}

.tp-cta__feats {
    display: flex;
    gap: 24px;
}

.tp-cta__feat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-cta__feat img {
    width: 20px;
    height: 20px;
    opacity: 0.45;
}

.tp-cta__feat span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tp-muted);
}

.tp-cta__form {
    background: #f6f7f9;
    padding: 36px 32px;
    border-left: 1px solid var(--tp-border);
}

/* Override Bootstrap form inside CTA */
.tp-cta__form .container { padding: 0; max-width: none; }

.tp-cta__form .form-group { margin-bottom: 12px; }

.tp-cta__form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tp-text-2);
    margin-bottom: 4px;
}

.tp-cta__form .form-control {
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    font-size: 0.85rem;
    padding: 8px 12px;
    background: #fff;
    color: var(--tp-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-cta__form .form-control:focus {
    border-color: var(--tp-primary);
    box-shadow: 0 0 0 3px rgba(44,62,80,0.08);
    outline: none;
}

.tp-cta__form textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.tp-cta__form .btn,
.tp-cta__form .btn-primary,
.tp-cta__form [type="submit"] {
    background: var(--tp-primary) !important;
    border-color: var(--tp-primary) !important;
    border-radius: var(--tp-radius);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 28px;
    color: #fff !important;
    transition: background 0.2s;
}

.tp-cta__form .btn:hover,
.tp-cta__form .btn-primary:hover,
.tp-cta__form [type="submit"]:hover {
    background: var(--tp-dark) !important;
    border-color: var(--tp-dark) !important;
}


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.tp-footer {
    background: var(--tp-primary);
}

.tp-footer__inner {
    width: var(--tp-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 44px;
}

.tp-footer__brand p {
    margin: 16px 0 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.35);
    max-width: 260px;
}

.tp-footer__col h4 {
    margin: 0 0 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.tp-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-footer__col li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 2.1;
}

.tp-footer__col a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.tp-footer__col a:hover { color: #fff; }

.tp-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    padding: 20px 0;
}

.tp-footer__bottom span {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.2);
}


/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].tp-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in services grid */
.tp-services.tp-revealed .tp-svc {
    animation: tp-fadeUp 0.5s ease both;
}
.tp-services.tp-revealed .tp-svc:nth-child(1) { animation-delay: 0s; }
.tp-services.tp-revealed .tp-svc:nth-child(2) { animation-delay: 0.1s; }
.tp-services.tp-revealed .tp-svc:nth-child(3) { animation-delay: 0.2s; }
.tp-services.tp-revealed .tp-svc:nth-child(4) { animation-delay: 0.3s; }

/* Stagger portfolio items */
.tp-portfolio.tp-revealed .tp-port-item {
    animation: tp-fadeUp 0.5s ease both;
}
.tp-portfolio.tp-revealed .tp-port-item:nth-child(1) { animation-delay: 0s; }
.tp-portfolio.tp-revealed .tp-port-item:nth-child(2) { animation-delay: 0.08s; }
.tp-portfolio.tp-revealed .tp-port-item:nth-child(3) { animation-delay: 0.16s; }
.tp-portfolio.tp-revealed .tp-port-item:nth-child(4) { animation-delay: 0.24s; }
.tp-portfolio.tp-revealed .tp-port-item:nth-child(5) { animation-delay: 0.32s; }

@keyframes tp-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════
   NEWS — 1 featured + 2 small
   ══════════════════════════════════════ */

.tp-news {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.tp-news-card {
    background: var(--tp-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.25s;
    text-decoration: none !important;
    color: inherit;
}
.tp-news-card:hover {
    border-color: var(--tp-primary);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

/* Featured card spans all rows when 3+ items exist */
.tp-news-card--featured {
    grid-row: 1 / -1;
    background: var(--tp-primary);
    border-color: var(--tp-primary);
}
.tp-news-card--featured:hover {
    border-color: #3d5269;
}
.tp-news-card--featured .tp-news-card__body {
    padding: 28px 28px;
}
.tp-news-card--featured .tp-news-card__date {
    color: rgba(255,255,255,0.5);
}
.tp-news-card--featured .tp-news-card__title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.tp-news-card--featured .tp-news-card__excerpt {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    -webkit-line-clamp: unset;
}

/* Placeholder header for cards without image */
.tp-news-card--no-img::before {
    content: '';
    display: block;
    height: 140px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #667085 100%);
}
.tp-news-card--featured.tp-news-card--no-img::before {
    display: none;
}

.tp-news-card__img {
    width: 100%;
    overflow: hidden;
    background: var(--tp-bg);
}
.tp-news-card--featured .tp-news-card__img { height: 320px; }
.tp-news-card:not(.tp-news-card--featured) .tp-news-card__img { height: 160px; }

.tp-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.tp-news-card:hover .tp-news-card__img img { transform: scale(1.04); }

.tp-news-card__body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tp-news-card__date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tp-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tp-news-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--tp-text);
}
.tp-news-card--featured .tp-news-card__title { font-size: 1.3rem; }

.tp-news-card__excerpt {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--tp-text-2);
}

/* Stagger news cards */
.tp-news.tp-revealed .tp-news-card {
    animation: tp-fadeUp 0.5s ease both;
}
.tp-news.tp-revealed .tp-news-card:nth-child(1) { animation-delay: 0s; }
.tp-news.tp-revealed .tp-news-card:nth-child(2) { animation-delay: 0.1s; }
.tp-news.tp-revealed .tp-news-card:nth-child(3) { animation-delay: 0.2s; }


/* ══════════════════════════════════════
   PROCESS — 4 steps timeline
   ══════════════════════════════════════ */

.tp-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.tp-process::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: rgba(255,255,255,0.08);
}

.tp-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.tp-step__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.tp-step__icon svg {
    width: 28px;
    height: 28px;
    stroke: rgba(255,255,255,0.5);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-step__num {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.15);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tp-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tp-step__text {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.35);
}

/* Stagger process steps */
.tp-process.tp-revealed .tp-step {
    animation: tp-fadeUp 0.5s ease both;
}
.tp-process.tp-revealed .tp-step:nth-child(1) { animation-delay: 0s; }
.tp-process.tp-revealed .tp-step:nth-child(2) { animation-delay: 0.12s; }
.tp-process.tp-revealed .tp-step:nth-child(3) { animation-delay: 0.24s; }
.tp-process.tp-revealed .tp-step:nth-child(4) { animation-delay: 0.36s; }


/* ══════════════════════════════════════
   CONTACTS + MAP
   ══════════════════════════════════════ */

.tp-map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    overflow: hidden;
}

.tp-map-section__info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-map-section__info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.tp-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
}
.tp-contact-row + .tp-contact-row {
    border-top: 1px solid var(--tp-border);
}

.tp-contact-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tp-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tp-contact-row__icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--tp-text-2);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-contact-row__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tp-muted);
    margin-bottom: 4px;
}

.tp-contact-row__value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--tp-text);
    line-height: 1.5;
}
.tp-contact-row__value a {
    color: var(--tp-text);
    text-decoration: none;
}
.tp-contact-row__value a:hover { color: var(--tp-accent); }

.tp-map-section__map {
    background: var(--tp-bg);
    min-height: 380px;
}
.tp-map-section__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tp-schedule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tp-bg);
    padding: 8px 16px;
    border-radius: var(--tp-radius);
    margin-top: 20px;
}
.tp-schedule__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27ae60;
}
.tp-schedule__text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tp-text-2);
}


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1199px) {
    :root { --tp-shell: min(1280px, 100% - 48px); }

    .tp-hero__inner {
        padding: 32px 28px 40px;
        min-height: 280px;
    }

    .tp-services {
        grid-template-columns: 1fr 1fr;
    }

    .tp-why {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tp-why__gallery {
        grid-template-rows: 200px 160px;
    }

    .tp-news { grid-template-columns: 1fr; }
    .tp-news-card--featured { grid-row: auto; }
    .tp-news-card--featured .tp-news-card__img { height: 220px; }

    .tp-process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .tp-process::before { display: none; }

    .tp-map-section { grid-template-columns: 1fr; }

    .tp-portfolio {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 180px;
    }
    .tp-port-item--0 { grid-row: auto; }

    .tp-cta {
        grid-template-columns: 1fr;
    }

    .tp-cta__form {
        border-left: none;
        border-top: 1px solid var(--tp-border);
    }

    .tp-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .tp-footer__brand { grid-column: 1 / -1; }
}


@media (max-width: 767px) {
    :root { --tp-shell: min(1280px, 100% - 32px); }

    /* Mobile nav */
    .tp-nav__links,
    .tp-nav__right { display: none; }
    .tp-nav__burger { display: flex; }

    .tp-nav--open .tp-nav__inner {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 0;
    }

    .tp-nav--open .tp-nav__links {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 0 10px;
        border-top: 1px solid rgba(255,255,255,0.06);
        margin-top: 14px;
    }

    .tp-nav--open .tp-nav__right {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0 4px;
    }

    .tp-nav--open .tp-nav__cta { align-self: stretch; text-align: center; }

    /* Hero */
    .tp-hero__inner {
        padding: 24px 16px 32px;
        min-height: 240px;
        margin-left: 16px;
        margin-right: 16px;
        max-width: 100%;
    }
    .tp-hero__title { font-size: clamp(22px, 6vw, 32px); }
    .tp-hero__sub { max-width: 100%; font-size: clamp(14px, 4.5vw, 22px); }
    .tp-hero__actions { margin-top: 24px; }
    .tp-hero__actions .tp-btn { font-size: 0.85rem; padding: 10px 20px; }

    /* Metrics stacked */
    .tp-metrics__inner { flex-direction: column; }
    .tp-metrics__item {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 0;
    }
    .tp-metrics__div { width: 100%; height: 1px; }

    /* Sections */
    .tp-section { padding: 48px 0; }
    .tp-section__head { margin-bottom: 28px; }

    /* Services single col, vertical cards */
    .tp-services { grid-template-columns: 1fr; }
    .tp-svc { flex-direction: column; }
    .tp-svc__img { width: 100%; height: 160px; order: -1; }
    .tp-svc__body { padding: 18px 20px; }

    /* Gallery single col */
    .tp-why__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 180px 140px 140px;
    }
    .tp-why__photo--0 { grid-column: auto; }

    /* News single col */
    .tp-news-card--featured .tp-news-card__img { height: 180px; }
    .tp-news-card:last-child { display: none; }

    /* Process single col */
    .tp-process { grid-template-columns: 1fr; }
    .tp-step { text-align: left; display: flex; gap: 16px; padding: 0 0 24px; }
    .tp-step__icon { margin: 0; width: 56px; height: 56px; flex-shrink: 0; }

    /* Map */
    .tp-map-section__info { padding: 28px 20px; }
    .tp-map-section__map { min-height: 280px; }

    /* CTA */
    .tp-cta__copy { padding: 28px 20px; }
    .tp-cta__form { padding: 24px 20px; }
    .tp-cta__feats { flex-direction: column; gap: 10px; }

    /* Footer */
    .tp-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 0 28px;
    }
    .tp-footer__brand { grid-column: auto; }

    /* Portfolio single col */
    .tp-portfolio {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .tp-port-item--0 { grid-row: auto; }
    .tp-port-item { height: 180px; }
}
