@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --opj-primary: #0369a1;
    --opj-secondary: #075985;
    --opj-accent: #d97706;
    --opj-background: #f0f9ff;
    --opj-text: #0c4a6e;
    --opj-muted: #7dd3fc;
    --opj-dark-bg: #0c4a6e;
    --opj-light-text: #f0f9ff;
    --opj-white: #ffffff;
    --opj-black: #000000;

    --tp-space-xxs: 4px;
    --tp-space-xs: 8px;
    --tp-space-sm: 16px;
    --tp-space-md: 24px;
    --tp-space-lg: 32px;
    --tp-space-xl: 48px;
    --tp-space-xxl: 64px;
    --tp-space-xxxl: 96px;
    --tp-space-xxxxl: 128px;

    --tp-border-radius-sm: 8px;
    --tp-border-radius-md: 12px;
    --tp-border-radius-lg: 16px;

    --tp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1);
    --tp-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    --tp-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --tp-shadow-card-hover: 0 10px 20px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);

    --tp-transition-duration: 0.25s;
    --tp-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--opj-text);
    background-color: var(--opj-background);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    background: var(--opj-accent);
    color: var(--opj-white);
}

::selection {
    background: var(--opj-accent);
    color: var(--opj-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--opj-secondary);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--tp-space-md);
}

.tp-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px to 72px */
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--opj-dark-bg);
}

.tp-h2 {
    font-size: clamp(2rem, 3.5vw, 3rem); /* 32px to 48px */
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--opj-secondary);
}

.tp-h3 {
    font-size: 1.75rem; /* 28px */
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--opj-primary);
}

p {
    margin-bottom: var(--tp-space-sm);
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
    max-width: 70ch;
}

.tp-hero-subtitle {
    font-size: 1.375rem; /* 22px */
    line-height: 1.5;
    font-weight: 400;
    color: var(--opj-secondary);
}

.tp-subheading {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--opj-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--tp-space-sm);
}

a {
    color: var(--opj-primary);
    text-decoration: none;
    transition: color var(--tp-transition-duration) var(--tp-transition-timing-function);
}

a:hover {
    color: var(--opj-secondary);
    text-decoration: underline;
}

/* Utility Classes */
.tp-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--tp-space-md);
    padding-right: var(--tp-space-md);
}

.tp-section {
    padding-top: var(--tp-space-xxxl);
    padding-bottom: var(--tp-space-xxxl);
}

.tp-section-alt {
    background-color: var(--opj-muted);
    padding-top: var(--tp-space-xxxl);
    padding-bottom: var(--tp-space-xxxl);
}

.tp-text-center {
    text-align: center;
}

.tp-grid {
    display: grid;
    gap: var(--tp-space-lg);
}

.tp-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tp-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tp-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tp-flex {
    display: flex;
    gap: var(--tp-space-sm);
    align-items: center;
}

.tp-flex-col {
    flex-direction: column;
}

.tp-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.tp-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--tp-space-xl);
    height: var(--tp-space-xl);
    background-color: var(--opj-primary);
    border-radius: var(--tp-border-radius-sm);
    color: var(--opj-white);
    margin-bottom: var(--tp-space-sm);
}

.tp-icon-large .tp-icon {
    width: 32px;
    height: 32px;
    color: var(--opj-white);
}

/* Buttons */
.tp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--tp-space-sm) var(--tp-space-lg);
    border-radius: var(--tp-border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--tp-transition-duration) var(--tp-transition-timing-function);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.tp-button-primary {
    background: linear-gradient(45deg, var(--opj-primary), var(--opj-secondary));
    color: var(--opj-white);
    border-color: var(--opj-primary);
}

.tp-button-primary:hover {
    background: linear-gradient(45deg, var(--opj-secondary), var(--opj-primary));
    box-shadow: var(--tp-shadow-md);
    transform: translateY(-2px);
}

.tp-button-secondary {
    background-color: var(--opj-accent);
    color: var(--opj-white);
    border-color: var(--opj-accent);
}

.tp-button-secondary:hover {
    background-color: #e68a1a;
    box-shadow: var(--tp-shadow-md);
    transform: translateY(-2px);color:#ffffff}

.tp-button-outline {
    background-color: transparent;
    color: var(--opj-primary);
    border-color: var(--opj-primary);
}

.tp-button-outline:hover {
    background-color: var(--opj-primary);
    color: var(--opj-white);
    transform: translateY(-2px);
}

.tp-link {
    font-weight: 500;
}

/* Header & Navigation */
.tp-header {
    background-color: var(--opj-white);
    box-shadow: var(--tp-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--tp-space-sm) 0;
}

.tp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--opj-primary);
    text-decoration: none;
    transition: color var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-logo:hover {
    color: var(--opj-secondary);
}

.tp-nav-list {
    list-style: none;
    display: flex;
    gap: var(--tp-space-lg);
}

.tp-nav-item {
    position: relative;
}

.tp-nav-link {
    padding: var(--tp-space-xs) var(--tp-space-sm);
    color: var(--opj-text);
    font-weight: 500;
    transition: all var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-nav-link:hover,
.tp-nav-link.active {
    color: var(--opj-primary);
    transform: translateY(-2px);
}

.tp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--opj-primary);
}

/* Hero Section */
.tp-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--tp-space-xxxl) 0;
    background: linear-gradient(135deg, var(--opj-background) 0%, var(--opj-muted) 100%);
}

.tp-hero-bg-gradient {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: linear-gradient(45deg, rgba(3, 105, 161, 0.1), rgba(7, 89, 133, 0.1), rgba(217, 119, 6, 0.05));
    background-size: 400% 400%;
    animation: tp-gradient-animation 15s ease infinite;
    z-index: 0;
}

@keyframes tp-gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tp-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tp-border-radius-lg);
    padding: var(--tp-space-xxl);
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(3, 105, 161, 0.5), rgba(7, 89, 133, 0.5), rgba(217, 119, 6, 0.2)) 1;
    box-shadow: var(--tp-shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.tp-hero-text {
    margin-bottom: var(--tp-space-xl);
}

.tp-hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Cards & Features */
.tp-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--tp-border-radius-lg);
    padding: var(--tp-space-lg);
    box-shadow: var(--tp-shadow-md);
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(3, 105, 161, 0.3), rgba(7, 89, 133, 0.3), rgba(217, 119, 6, 0.1)) 1;
    transition: all var(--tp-transition-duration) var(--tp-transition-timing-function);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-card-hover);
}

.tp-card-feature .tp-icon {
    width: 48px;
    height: 48px;
    color: var(--opj-primary);
}

.tp-card-feature h3 {
    margin-top: var(--tp-space-sm);
    margin-bottom: var(--tp-space-xs);
    color: var(--opj-secondary);
}

.tp-card-service {
    text-align: center;
    align-items: center;
}

.tp-check-list {
    list-style: none;
    padding-left: 0;
    margin-top: var(--tp-space-md);
}

.tp-check-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--tp-space-xs);
    font-size: 1.0625rem;
}

.tp-check-item .tp-icon {
    color: var(--opj-primary);
    width: 20px;
    height: 20px;
    margin-right: var(--tp-space-xs);
    flex-shrink: 0;
}

/* Editorial Elements */
.tp-pullquote {
    font-size: clamp(1.5rem, 3vw, 2.5rem); /* 24px to 40px */
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    margin: var(--tp-space-xxl) auto;
    max-width: 800px;
    text-align: center;
    color: var(--opj-dark-bg);
    position: relative;
}

.tp-pullquote::before {
    content: '“';
    font-size: clamp(4rem, 10vw, 8rem); /* 64px to 128px */
    position: absolute;
    left: -0.5em;
    top: -0.2em;
    color: var(--opj-muted);
    opacity: 0.6;
    line-height: 1;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    z-index: -1;
}

.tp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--tp-space-md);
    margin-top: var(--tp-space-xl);
    text-align: center;
}

.tp-stat-item {
    background: var(--opj-white);
    padding: var(--tp-space-lg);
    border-radius: var(--tp-border-radius-md);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tp-stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px to 72px */
    font-weight: 800;
    color: var(--opj-primary);
    line-height: 1;
    margin-bottom: var(--tp-space-xs);
}

.tp-stat-label {
    font-size: 0.9375rem; /* 15px */
    text-transform: uppercase;
    font-weight: 600;
    color: var(--opj-secondary);
    letter-spacing: 0.05em;
}

/* Testimonials */
.tp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--tp-space-lg);
}

.tp-testimonial-card {
    background: var(--opj-white);
    border-radius: var(--tp-border-radius-lg);
    padding: var(--tp-space-lg);
    box-shadow: var(--tp-shadow-md);
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tp-testimonial-quote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--opj-text);
}

.tp-testimonial-cite {
    font-weight: 600;
    color: var(--opj-primary);
    display: flex;
    align-items: center;
    gap: var(--tp-space-xs);
}

.tp-testimonial-cite img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tp-testimonial-stars {
    color: var(--opj-accent);
}

/* FAQ Section */
.tp-faq-item {
    background: var(--opj-white);
    border-radius: var(--tp-border-radius-md);
    margin-bottom: var(--tp-space-sm);
    box-shadow: var(--tp-shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-md);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--opj-secondary);
    cursor: pointer;
    background-color: var(--opj-background);
    transition: background-color var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-faq-q:hover {
    background-color: var(--opj-muted);
}

.tp-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-faq-item.active .tp-faq-q::after {
    content: '-';
    transform: rotate(0deg);
}

.tp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 var(--tp-space-md);
    color: var(--opj-text);
}

.tp-faq-item.active .tp-faq-a {
    max-height: 500px; /* Sufficiently large to show content */
    padding-bottom: var(--tp-space-md);
}

/* CTA Section */
.tp-cta {
    background: linear-gradient(135deg, var(--opj-primary), var(--opj-secondary));
    color: var(--opj-white);
    padding: var(--tp-space-xxxl) 0;
    text-align: center;
}

.tp-cta-content h2 {
    color: var(--opj-white);
    margin-bottom: var(--tp-space-sm);
}

.tp-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--tp-space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Forms */
.tp-contact-form {
    background: var(--opj-white);
    border-radius: var(--tp-border-radius-lg);
    padding: var(--tp-space-xl);
    box-shadow: var(--tp-shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tp-form-group {
    margin-bottom: var(--tp-space-md);
}

.tp-form-label {
    display: block;
    margin-bottom: var(--tp-space-xs);
    font-weight: 500;
    color: var(--opj-secondary);
}

.tp-form-input,
.tp-form-textarea {
    width: 100%;
    padding: var(--tp-space-sm);
    border: 1px solid var(--opj-muted);
    border-radius: var(--tp-border-radius-sm);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--opj-text);
    transition: border-color var(--tp-transition-duration) var(--tp-transition-timing-function), box-shadow var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-form-input:focus,
.tp-form-textarea:focus {
    outline: none;
    border-color: var(--opj-primary);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
}

.tp-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.tp-form-error {
    color: #a40e0e;
    font-size: 0.875rem;
    margin-top: var(--tp-space-xs);
    display: none;
}

.tp-form-success {
    color: #157a3a;
    font-size: 1.125rem;
    margin-top: var(--tp-space-md);
    text-align: center;
    display: none;
}

/* Footer */
.tp-footer {
    background-color: var(--opj-dark-bg);
    color: var(--opj-light-text);
    padding-top: var(--tp-space-xxxl);
    padding-bottom: var(--tp-space-md);
    font-size: 0.9375rem;
}

.tp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--tp-space-lg);
    margin-bottom: var(--tp-space-xxl);
}

.tp-footer-col h3 {
    color: var(--opj-white);
    margin-bottom: var(--tp-space-md);
    font-size: 1.25rem;
}

.tp-footer-col p,
.tp-footer-col address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--tp-space-sm);
    font-style: normal;
}

.tp-footer-list {
    list-style: none;
    padding: 0;
}

.tp-footer-list li {
    margin-bottom: var(--tp-space-xs);
}

.tp-footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--tp-transition-duration) var(--tp-transition-timing-function), transform var(--tp-transition-duration) var(--tp-transition-timing-function);
}

.tp-footer-link:hover {
    color: var(--opj-white);
    text-decoration: none;
    transform: translateX(4px);
}

.tp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--tp-space-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--tp-space-lg);
}

/* Animation */
.tp-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tp-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .tp-nav-list {
        gap: var(--tp-space-md);
    }

    .tp-h1 {
        font-size: clamp(2.25rem, 4.5vw, 4rem);
    }

    .tp-hero-subtitle {
        font-size: 1.25rem;
    }

    .tp-section {
        padding-top: var(--tp-space-xxl);
        padding-bottom: var(--tp-space-xxl);
    }
}

@media (max-width: 768px) {
    .tp-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--opj-white);
        box-shadow: var(--tp-shadow-md);
        padding: var(--tp-space-md) 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .tp-nav-list.active {
        max-height: 300px; /* Adjust based on content */
    }

    .tp-nav-item {
        text-align: center;
    }

    .tp-nav-link {
        display: block;
        padding: var(--tp-space-sm) var(--tp-space-md);
    }

    .tp-mobile-toggle {
        display: block;
    }

    .tp-h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .tp-hero-subtitle {
        font-size: 1.125rem;
    }

    .tp-hero-content {
        padding: var(--tp-space-xl);
    }

    .tp-grid-2, .tp-grid-3, .tp-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .tp-section {
        padding-top: var(--tp-space-xxl);
        padding-bottom: var(--tp-space-xxl);
    }

    .tp-pullquote::before {
        font-size: clamp(3rem, 10vw, 6rem);
        left: 0;
        top: 0;
    }

    p {
        font-size: 1.0625rem;
    }
}

@media (max-width: 480px) {
    .tp-container {
        padding-left: var(--tp-space-sm);
        padding-right: var(--tp-space-sm);
    }

    .tp-h1 {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
    }

    .tp-hero-subtitle {
        font-size: 1rem;
    }

    .tp-hero-content {
        padding: var(--tp-space-md);
    }

    .tp-button {
        padding: var(--tp-space-xs) var(--tp-space-md);
        font-size: 0.9rem;
    }

    .tp-stat-number {
        font-size: 3rem;
    }

    .tp-section {
        padding-top: var(--tp-space-xl);
        padding-bottom: var(--tp-space-xl);
    }

    .tp-footer-col h3 {
        font-size: 1.125rem;
    }

    .tp-faq-q {
        font-size: 1rem;
        padding: var(--tp-space-sm);
    }
}


/* === Quality polish === */
button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

@keyframes tpFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.tp-animate { opacity: 0; }
.tp-animate.tp-visible { animation: tpFadeInUp 0.6s ease forwards; }

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

/* FAQ collapsed-by-default — hard fallback (any language, any topic) */
.tp-faq-a, [class*="faq-a"], [class*="faq-answer"] { display: none !important; max-height: 0; overflow: hidden; padding: 0 22px; transition: none; }
.tp-faq-item.active .tp-faq-a, [class*="faq-item"].active [class*="faq-a"], [class*="faq-item"].active [class*="faq-answer"] { display: block !important; max-height: none !important; padding: 0 22px 18px; }
.tp-faq-q, [class*="faq-q"], [class*="faq-question"] { cursor: pointer; user-select: none; }
.tp-faq-q *, [class*="faq-q"] * { pointer-events: none; }

/* === PREMIUM SCAFFOLD (class-contract baseline) === */
/* Layout */
.tp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tp-section { padding: 96px 0; background: #f0f9ff; }
.tp-section-alt { padding: 96px 0; background: color-mix(in srgb, #0369a1 4%, #f0f9ff); }
.tp-grid { display: grid; gap: 32px; }
.tp-grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.tp-grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tp-grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tp-text-center { text-align: center; }
/* Header / Nav */
.tp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid color-mix(in srgb, #0c4a6e 8%, transparent); }
.tp-header > .tp-container, .tp-header .tp-container { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; min-height: 64px; }
.tp-brand, .tp-logo { display: inline-flex; align-items: center; gap: 10px; font-family: Raleway; font-weight: 700; font-size: 1.05rem; line-height: 1; color: #0369a1; letter-spacing: -0.015em; text-decoration: none; flex-shrink: 0; max-width: 220px; margin-right: 24px; }
.tp-brand-mark { display: inline-flex; color: #0369a1; flex-shrink: 0; }
.tp-brand-mark svg { display: block; width: 24px; height: 24px; }
.tp-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; }
.tp-nav-list, .tp-nav-links { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.tp-nav-link { color: #0c4a6e; font-weight: 500; font-size: 0.95rem; padding: 6px 0; position: relative; text-decoration: none; }
.tp-nav-link + .tp-nav-link { margin-left: 0; }
.tp-nav-link:hover { color: #0369a1; }
.tp-mobile-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; margin-left: auto; font-size: 1.4rem; line-height: 1; }
/* Hero */
.tp-hero { padding: 112px 0 96px; background: radial-gradient(circle at 82% 18%, color-mix(in srgb, #0369a1 12%, transparent), transparent 34%), linear-gradient(180deg, color-mix(in srgb, #0369a1 7%, #f0f9ff) 0%, #f0f9ff 100%); position: relative; overflow: hidden; }
/* Hero hardening — kill AI-generated giant ghost/background text & accidental absolute-positioned mockups */
.tp-hero [class*="ghost"], .tp-hero [class*="bg-text"], .tp-hero [class*="watermark"], .tp-hero [class*="hero-bg"], .tp-hero [aria-hidden="true"][class*="text"], .tp-hero [data-decorative="true"] { display: none !important; }
.tp-hero .tp-hero-image, .tp-hero .tp-dashboard-mockup { position: relative !important; }
.tp-hero .tp-hero-image { max-width: 100%; }
.tp-hero .tp-hero-image > * { max-width: 100%; }
.tp-hero .tp-stats { position: static !important; }
.tp-hero > .tp-container { max-width: 1200px; }
.tp-hero h1, .tp-hero .tp-h1 { font-family: Raleway; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; color: #0c4a6e; margin: 0; max-width: 720px; width: 100%; text-wrap: balance; word-break: normal; overflow-wrap: break-word; hyphens: none; }
.tp-hero p, .tp-hero .tp-hero-sub, .tp-hero .tp-hero-subtitle { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.7; color: #7dd3fc; max-width: 48ch; margin: 0; }
.tp-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr); gap: 72px; align-items: center; }
.tp-hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.tp-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.tp-hero-image { position: relative; }
.tp-hero-image::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; background: color-mix(in srgb, #0369a1 12%, transparent); z-index: 0; }
.tp-hero-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 36px 90px -34px rgba(0,0,0,0.42), 0 2px 10px rgba(0,0,0,0.08); }
.tp-hero-subtitle { font-size: 1.25rem; line-height: 1.6; color: #7dd3fc; max-width: 60ch; }
.tp-h1 { font-family: Raleway; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; color: #0c4a6e; margin: 0; }
.tp-h2 { font-family: Raleway; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; color: #0c4a6e; margin: 0 0 24px; }
.tp-h3 { font-family: Raleway; font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: #0c4a6e; margin: 0 0 12px; }
.tp-subheading { font-size: 1.125rem; line-height: 1.7; color: #7dd3fc; max-width: 720px; margin: 0 auto 64px; }
/* Buttons */
.tp-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; line-height: 1; }
.tp-button-primary { background: #0369a1; color: #fff; border-color: #0369a1; }
.tp-button-primary:hover { background: #075985; border-color: #075985; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, #0369a1 50%, transparent); }
.tp-button-secondary { background: #075985; color: #fff; border-color: #075985; }
.tp-button-secondary:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.tp-button-outline { background: transparent; color: #0369a1; border-color: #0369a1; }
.tp-button-outline:hover { background: #0369a1; color: #fff; }
.tp-link { color: #0369a1; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tp-link:hover { gap: 10px; }
/* Cards */
.tp-card { background: #fff; border: 1px solid color-mix(in srgb, #0c4a6e 6%, transparent); border-radius: 14px; padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 16px; }
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06); }
.tp-card-feature, .tp-card-service, .tp-card-process { text-align: left; }
/* Icons */
.tp-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: color-mix(in srgb, #0369a1 10%, transparent); color: #0369a1; }
.tp-icon-wrapper svg, .tp-icon-wrapper .tp-icon { width: 28px; height: 28px; stroke: #0369a1; }
.tp-icon { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
.tp-icon-large { width: 48px; height: 48px; stroke: #0369a1; }
/* Check list */
.tp-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.tp-check-item { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.tp-check-item .tp-icon { color: #0369a1; margin-top: 4px; }
/* Editorial */
.tp-pullquote { font-family: Raleway; font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.4; color: #0c4a6e; max-width: 900px; margin: 64px auto; padding: 0 32px; position: relative; text-align: center; }
.tp-pullquote::before { content: '"'; font-size: 6rem; line-height: 0.8; color: #0369a1; opacity: 0.3; position: absolute; left: 0; top: -16px; }
.tp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px; padding: 64px 0; }
.tp-stat-item { text-align: center; }
.tp-stat-number { display: block; font-family: Raleway; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: #0369a1; line-height: 1; letter-spacing: -0.03em; }
.tp-stat-label { display: block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #7dd3fc; }
/* Testimonials */
.tp-testimonial-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tp-testimonial-card { background: #fff; padding: 32px; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid color-mix(in srgb, #0c4a6e 6%, transparent); }
.tp-testimonial-quote { font-style: italic; line-height: 1.7; color: #0c4a6e; margin-bottom: 16px; }
.tp-testimonial-cite { font-weight: 600; color: #0369a1; font-size: 0.95rem; }
.tp-testimonial-stars { color: #d97706; margin-bottom: 12px; }
/* FAQ */
.tp-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.tp-faq-item { background: #fff; border: 1px solid color-mix(in srgb, #0c4a6e 8%, transparent); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s ease; }
.tp-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.tp-faq-q { padding: 20px 24px; cursor: pointer; user-select: none; font-weight: 600; color: #0c4a6e; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tp-faq-q::after { content: '+'; font-size: 1.5rem; color: #0369a1; transition: transform 0.3s ease; flex-shrink: 0; }
.tp-faq-item.active .tp-faq-q::after { transform: rotate(45deg); }
/* CTA */
.tp-cta { padding: 96px 0; background: linear-gradient(135deg, #0369a1 0%, #075985 100%); color: #fff; text-align: center; }
.tp-cta .tp-h2, .tp-cta h2 { color: #fff; }
.tp-cta-content { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.tp-cta .tp-button-primary { background: #fff; color: #0369a1; border-color: #fff; }
.tp-cta .tp-button-primary:hover { background: #f0f9ff; color: #0369a1; }
/* Form */
.tp-form, .tp-contact-form { display: flex; flex-direction: column; gap: 20px; width: min(100%, 680px); margin: 32px auto 0; background: #fff; padding: 44px; border-radius: 24px; border: 1px solid color-mix(in srgb, #0c4a6e 7%, transparent); box-shadow: 0 30px 80px -34px rgba(0,0,0,0.32), 0 10px 28px -18px color-mix(in srgb, #0369a1 40%, transparent); text-align: left; color: #0c4a6e; }
.tp-form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .tp-form-row { grid-template-columns: 1fr; } }
.tp-form-group { display: flex; flex-direction: column; gap: 8px; }
.tp-form-label, .tp-form label { font-weight: 600; font-size: 0.9rem; color: #0c4a6e; letter-spacing: 0.01em; }
.tp-form-input, .tp-form-textarea, .tp-form input:not([type="submit"]), .tp-form textarea, .tp-form select { padding: 15px 16px; border: 1.5px solid color-mix(in srgb, #0c4a6e 12%, transparent); border-radius: 12px; font-size: 1rem; font-family: inherit; background: color-mix(in srgb, #0369a1 2%, #fff); color: #0c4a6e; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; width: 100%; box-sizing: border-box; }
.tp-form-input:hover, .tp-form-textarea:hover { border-color: color-mix(in srgb, #0369a1 35%, transparent); }
.tp-form-input:focus, .tp-form-textarea:focus, .tp-form input:focus, .tp-form textarea:focus { outline: none; border-color: #0369a1; box-shadow: 0 0 0 4px color-mix(in srgb, #0369a1 18%, transparent); }
.tp-form-textarea, .tp-form textarea { min-height: 140px; resize: vertical; }
/* Form messages — HIDDEN BY DEFAULT, only shown when JS adds .is-visible or removes [hidden] */
.tp-form-error, [class*="form-error"], [class*="form-message-error"] { display: none; color: #dc2626; font-size: 0.875rem; padding: 10px 12px; background: color-mix(in srgb, #dc2626 8%, transparent); border-radius: 8px; }
.tp-form-success, [class*="form-success"], [class*="form-message-success"] { display: none; color: #047857; font-weight: 600; padding: 12px 14px; background: color-mix(in srgb, #059669 10%, transparent); border-radius: 8px; }
.tp-form-error[hidden], .tp-form-success[hidden], [class*="form-error"][hidden], [class*="form-success"][hidden] { display: none !important; }
.tp-form-error.is-visible, .tp-form-success.is-visible { display: block; }
.tp-cta .tp-form, .tp-cta .tp-contact-form { color: #0c4a6e; }
.tp-cta .tp-form button[type="submit"], .tp-cta .tp-contact-form button[type="submit"] { background: #0369a1; color: #fff; border-color: #0369a1; }
/* Footer */
.tp-footer { background: #0c4a6e; color: color-mix(in srgb, #fff 80%, transparent); padding: 96px 0 32px; }
.tp-footer .tp-h3, .tp-footer h3, .tp-footer h4 { color: #fff; font-family: Raleway; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.tp-footer .tp-logo { color: #fff; }
.tp-footer-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 64px; }
.tp-footer-col { display: flex; flex-direction: column; gap: 12px; }
.tp-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tp-footer-link { color: color-mix(in srgb, #fff 70%, transparent); font-size: 0.95rem; }
.tp-footer-link:hover { color: #fff; }
.tp-footer-bottom { padding-top: 32px; border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); font-size: 0.875rem; color: color-mix(in srgb, #fff 60%, transparent); text-align: center; }
.tp-social-links { display: flex; gap: 16px; }
.tp-social-links a { color: color-mix(in srgb, #fff 70%, transparent); }
.tp-social-links a:hover { color: #fff; }
/* Responsive */
@media (max-width: 900px) {
  .tp-hero { padding: 80px 0 64px; }
  .tp-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .tp-section, .tp-section-alt { padding: 64px 0; }
  .tp-cta { padding: 64px 0; }
  .tp-footer { padding: 64px 0 24px; }
}
@media (max-width: 720px) {
  .tp-nav-list { display: none; }
  .tp-mobile-toggle { display: inline-flex; }
  .tp-nav.active .tp-nav-list, .tp-header.active .tp-nav-list, .tp-nav-list.active, .tp-nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .tp-card { padding: 24px; }
  .tp-form, .tp-contact-form { padding: 28px; border-radius: 18px; }
}

/* === STYLE FAMILY: fintech_glass === */
.tp-hero { background: linear-gradient(135deg, color-mix(in srgb, #0369a1 14%, #f0f9ff) 0%, color-mix(in srgb, #d97706 14%, #f0f9ff) 100%); padding: 120px 0 96px; }
.tp-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.5); border-radius: 14px; box-shadow: 0 8px 32px rgba(31,38,135,0.08); }
.tp-button-primary { background: linear-gradient(135deg, #0369a1 0%, #d97706 100%); color: #fff; border-radius: 10px; }
.tp-stats { backdrop-filter: blur(14px); background: rgba(255,255,255,0.5); border-radius: 16px; padding: 32px; }