*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
@keyframes wave1 { 0%,100%{transform:translateX(0) translateY(0) rotate(0deg)} 33%{transform:translateX(2%) translateY(-1.5%) rotate(1deg)} 66%{transform:translateX(-1.5%) translateY(1%) rotate(-1deg)} }
@keyframes wave2 { 0%,100%{transform:translateX(0) translateY(0) rotate(0deg)} 33%{transform:translateX(-2%) translateY(1%) rotate(-1.5deg)} 66%{transform:translateX(1.5%) translateY(-1.5%) rotate(1.5deg)} }
body { font-family: 'Inter', sans-serif; color: #4b5563; margin: 0; }
h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif !important; font-weight: 800 !important; color: #000000; line-height: 1.2; }

/* ── Navbar ── */
#tnt-ribbon { height: 36px; }
body { padding-top: 108px; }
body:has(.hs-wrap),
body:has(.page-hero) { padding-top: 0; }
#tnt-nav {
    position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
    background: #000000;
}
#tnt-nav.solid { background: #000000; }

#tnt-nav .nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: stretch; justify-content: space-between;
    height: 72px;
}

/* Logo — full white panel flush to nav height */
.tnt-logo {
    background: #fff;
    padding: 0 0.4rem;
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0;
    align-self: stretch;
}
.tnt-logo-text { display: none; }
.tnt-logo-img { display: block !important; opacity: 1 !important; height: 58px; width: auto; }

/* Nav links */
.nav-links { display: none; list-style: none; margin: 0; padding: 0 0 0 2rem; gap: 0.25rem; }
@media(min-width:1024px){ .nav-links { display: flex; align-items: center; } }

.nav-links a {
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
    color: #fff; text-decoration: none;
    position: relative; padding: 0.4rem 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0.9rem; right: 0.9rem;
    height: 2px; background: rgba(237,28,36,0.45);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active {
    color: #000000 !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='10' rx='2.2' ry='3' fill='rgba(237,28,36,0.09)'/%3E%3Ccircle cx='8' cy='5.5' r='1.8' fill='rgba(237,28,36,0.09)'/%3E%3Cline x1='5.8' y1='8.5' x2='2' y2='7' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='5.8' y1='10' x2='2' y2='10' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='5.8' y1='11.5' x2='2' y2='13' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='10.2' y1='8.5' x2='14' y2='7' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='10.2' y1='10' x2='14' y2='10' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='10.2' y1='11.5' x2='14' y2='13' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='7' y1='4' x2='5.5' y2='1.5' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3Cline x1='9' y1='4' x2='10.5' y2='1.5' stroke='rgba(237,28,36,0.11)' stroke-width='0.7'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.10);
    border-bottom: 3px solid #ED1C24;
}
.nav-links a.active::before { display: none; }
.nav-links a.active::after { display: none; }

.nav-cta {
    display: none; align-self: center;
    align-items: center; gap: 0.4rem;
    background-color: #ED1C24;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 10 Q4.5 6.5 5 4' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q7 7 8 4.5' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q3 7 2 4.5' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    color: #fff;
    padding: 0.65rem 1.4rem; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; letter-spacing: 0.02em;
    transition: background-color 0.2s, transform 0.2s;
    margin-left: 1rem;
}
@media(min-width:1024px){ .nav-cta { display: inline-flex; } }
.nav-cta:hover { background-color: #c8161d; transform: translateY(-1px); }

.hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
    align-self: center; margin-left: 1rem;
}
@media(min-width:1024px){ .hamburger { display: none; } }
.hamburger span {
    display: block; height: 1.5px;
    background: #fff; transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 20px; }
.hamburger.open span:nth-child(1) { width: 22px; transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { width: 22px; transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-nav {
    display: flex;
    position: fixed; inset: 0; z-index: 999;
    background: #0a0a0a;
    overflow: hidden;
    flex-direction: column; align-items: center; justify-content: center;
    /* closed state */
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
#mobile-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* animated red blobs */
#mobile-nav::before {
    content: ''; position: absolute;
    width: 80%; height: 70%; top: -15%; left: -20%;
    background: radial-gradient(ellipse at center, rgba(237,28,36,0.18) 0%, transparent 65%);
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    animation: wave1 14s ease-in-out infinite;
    pointer-events: none;
}
#mobile-nav::after {
    content: ''; position: absolute;
    width: 70%; height: 60%; bottom: -20%; right: -10%;
    background: radial-gradient(ellipse at center, rgba(237,28,36,0.14) 0%, transparent 65%);
    border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%;
    animation: wave2 18s ease-in-out infinite;
    pointer-events: none;
}
#mobile-nav nav {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    width: 100%;
}
/* close button */
#mobile-nav-close {
    position: absolute; top: 1rem; right: 1.25rem;
    z-index: 2; background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.7); padding: 0.25rem;
    transition: color 0.2s;
}
#mobile-nav-close:hover { color: #ED1C24; }
/* logo */
#mobile-nav-logo {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 1; white-space: nowrap;
    background: #fff; padding: 0.5rem 1.25rem;
    opacity: 0; transition: opacity 0.4s ease 0.2s;
}
#mobile-nav.open #mobile-nav-logo { opacity: 1; }
#mobile-nav-logo img { height: 58px; width: auto; display: block; }
/* nav items — hidden by default, slide up on open */
#mobile-nav nav a {
    display: block; width: 100%; text-align: center;
    padding: 0.85rem 2rem;
    color: #fff; font-weight: 600; font-size: 1.15rem;
    text-decoration: none; letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(22px);
    transition: color 0.2s, opacity 0.35s ease, transform 0.35s ease;
}
#mobile-nav nav a:hover { color: #ED1C24; }
#mobile-nav nav a.active {
    color: #000 !important;
    background: #fff;
    border-bottom: 3px solid #ED1C24;
    font-weight: 700;
    width: auto;
    display: inline-block;
}
/* staggered reveal after menu slides in */
#mobile-nav.open nav a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.52s; }
#mobile-nav.open nav a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.61s; }
#mobile-nav.open nav a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.70s; }
#mobile-nav.open nav a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.79s; }
#mobile-nav.open nav a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.88s; }
#mobile-nav.open nav a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.97s; }
#mobile-nav.open nav a:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 1.06s; }
.mobile-portal-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #111; color: #fff;
    font-size: 1rem; font-weight: 600;
    padding: 0.85rem 2.5rem;
    text-decoration: none; letter-spacing: 0.02em;
    margin-top: 0.5rem;
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
#mobile-nav.open .mobile-portal-link { opacity: 1; transform: translateY(0); transition-delay: 1.15s; }
#mobile-nav .mobile-cta {
    background: #ED1C24; color: #fff;
    margin-top: 0.5rem;
    padding: 0.85rem 2.5rem; font-size: 1rem;
    width: auto; display: inline-block;
    transition: background 0.2s, opacity 0.35s ease, transform 0.35s ease;
}
#mobile-nav .mobile-cta:hover { background: #c8161d; }

/* ── Sections ── */
.tnt-section { padding: 5rem 0; }
.tnt-section-sm { padding: 3.5rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
    padding-top: calc(108px + 7rem); padding-bottom: 5rem;
    position: relative; overflow: hidden;
    background: #000000;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.18;
}
.page-hero-content { position: relative; z-index: 1; }

/* ── Eyebrow ── */
.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: #ED1C24;
    display: block; margin-bottom: 0.75rem;
}
.eyebrow-white { color: rgba(255,255,255,0.75); }

/* ── Buttons ── */
.btn-red, .btn-green {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: #ED1C24;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 10 Q4.5 6.5 5 4' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q7 7 8 4.5' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q3 7 2 4.5' stroke='rgba(255,255,255,0.12)' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    color: #fff;
    padding: 0.8rem 1.8rem; font-weight: 600; font-size: 0.875rem;
    letter-spacing: 0.03em; text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}
.btn-red:hover, .btn-green:hover { background-color: #c8161d; transform: translateY(-2px); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 10 Q4.5 6.5 5 4' stroke='rgba(255,255,255,0.1)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q7 7 8 4.5' stroke='rgba(255,255,255,0.1)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M5 10 Q3 7 2 4.5' stroke='rgba(255,255,255,0.1)' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    color: #fff;
    padding: 0.8rem 1.8rem; font-weight: 600; font-size: 0.875rem;
    letter-spacing: 0.03em; text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}
.btn-outline:hover { background-color: #374151; transform: translateY(-2px); }

/* ── Cards ── */
.tnt-card {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}
.tnt-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.tnt-card-subtle {
    background: #f9fafb;
    transition: background 0.2s, box-shadow 0.2s;
}
.tnt-card-subtle:hover {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── Form ── */
.tnt-label {
    display: block; font-size: 0.82rem; font-weight: 500;
    color: #374151; margin-bottom: 0.35rem;
}
.tnt-input, .tnt-select, .tnt-textarea {
    width: 100%; padding: 0.8rem 1rem;
    border: 1px solid #d1d5db; background: #fff;
    font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #374151;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.tnt-input:focus, .tnt-select:focus, .tnt-textarea:focus {
    border-color: #ED1C24;
    box-shadow: 0 0 0 3px rgba(237,28,36,0.15);
}
.tnt-textarea { resize: vertical; min-height: 100px; }
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; }

/* ── Testimonials Slider ── */
.tnt-slider { overflow: hidden; }
.tnt-slider-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tnt-slide { min-width: 100%; padding: 0 1rem; }

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media(min-width:640px){ .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px){ .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── CTA Strip ── */
.cta-strip { background: #161616; }
.cta-strip .container { text-align: left !important; }

/* ── Divider ── */
.tnt-divider { display: none; }
.tnt-divider-center { display: none; }

/* ── Fade in ── */
.fade-in { opacity: 0; transform: translate(0, 24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.visible { opacity: 1; transform: translate(0, 0); }

/* ── Footer ── */
#tnt-footer { background: #0a0a0a; }
#tnt-footer > .container { position: relative; z-index: 1; }

/* ── Quote form section ── */
.quote-section { background: #f9fafb; }

/* ── Service detail ── */
.service-round {
    display: flex; gap: 1.25rem; padding: 1.25rem 0;
}
.round-number {
    font-family: 'Open Sans', sans-serif; font-weight: 700;
    font-size: 1.75rem; color: #ED1C24; line-height: 1;
    min-width: 1.75rem; padding-top: 2px;
}
.round-desc {
    font-size: 0.82rem; color: #6b7280; line-height: 1.6;
}
@media (min-width: 768px) {
    .round-desc { max-width: 680px; }
}
.svc-corner-art { display: none; }
@media (min-width: 1024px) {
    .svc-corner-art { display: block; }
}

/* ── Stats row ── */
.stat-num {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem; font-weight: 700; color: #ED1C24;
    line-height: 1;
}

.nav-cta-group { display: none; align-self: center; align-items: center; gap: 0; margin-left: 1rem; }
@media(min-width:1024px) { .nav-cta-group { display: flex; } }
.ribbon-mobile { display: none; }
.nav-portal-btn {
    display: none; align-self: center;
    align-items: center; gap: 0.4rem;
    background-color: #111;
    color: #fff;
    padding: 0.65rem 1.4rem; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; letter-spacing: 0.02em;
    transition: background-color 0.2s, transform 0.2s;
    margin-left: 0; white-space: nowrap;
}
@media(min-width:1024px) { .nav-portal-btn { display: inline-flex; } }
.nav-portal-btn:hover { background-color: #000; transform: translateY(-1px); }
@media(max-width:640px){
    .ribbon-desktop { display: none; }
    .ribbon-mobile { display: inline; }
    .tnt-section { padding: 3rem 0; }
    h1.hero-title { font-size: 2.5rem !important; }
    .hero-section { align-items: flex-end !important; }
    .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
    .key-benefits-list { grid-template-columns: 1fr !important; }
    #tnt-nav .nav-inner { padding-left: 0.75rem; padding-right: 0.75rem; }
    .hamburger { padding: 10px 10px 10px 10px; gap: 7px; margin-right: 0.5rem; }
}

/* ── About section responsive ── */
.about-section { background: #fff; padding: 5rem 0; }
.about-card { background: #0a0a0a; padding: 4rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-bottom: 2.5rem; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

@media(max-width: 1024px) {
    .about-card { padding: 3rem 2.5rem; }
    .about-grid { gap: 3rem; }
}

@media(max-width: 768px) {
    .about-section { padding: 3rem 0; background: #0a0a0a; }
    .about-section .container { padding-left: 0; padding-right: 0; }
    .about-card { padding: 2rem 1.25rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .about-stats > div { padding: 1.25rem 1rem; }
}

@media(max-width: 480px) {
    .about-section { padding: 2rem 0; background: #0a0a0a; }
    .about-section .container { padding-left: 0; padding-right: 0; }
    .about-card { padding: 1.5rem 1rem; }
    .about-grid { gap: 1.75rem; }
    .about-stats { gap: 0.5rem; }
    .about-stats > div { padding: 1rem 0.75rem; }
    .about-stats .stat-value { font-size: 1rem !important; }
}

/* ── Services Option 5 tab layout responsive ── */
@media(max-width: 900px) {
    #svcTabs ~ div { min-height: 320px; }
}
@media(max-width: 768px) {
    /* Option 4 filmstrip: narrower cards */
    /* (handled via inline flex — cards shrink naturally) */

    /* Option 5: stack tabs above panel */
    #svcTabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    #svcTabs button {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 0.75rem;
        gap: 0.5rem;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    #svcTabs button span { font-size: 0.7rem; }
    /* Tab selector grid collapses to stacked */
    .svc5-wrap { grid-template-columns: 1fr !important; }

    /* Option 6 large cards */
    .svc6-top { grid-template-columns: 1fr !important; }
    .svc6-top > a { height: 280px !important; }
    .svc6-bottom { grid-template-columns: repeat(2, 1fr) !important; }
    .svc6-bottom > a { height: 200px !important; }
}
@media(max-width: 480px) {
    #svcTabs { grid-template-columns: repeat(2, 1fr); }
    .svc6-bottom { grid-template-columns: 1fr !important; }
    .svc6-bottom > a { height: 180px !important; }
}

@media(max-width: 768px) {
    .sa-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
