:root {
    --tuc-teal: #0f766e;
    --tuc-teal-dark: #0b5e58;
    --tuc-teal-soft: #ccfbf1;
    --tuc-sky: #0284c7;
    --tuc-sky-soft: #e0f2fe;
    --tuc-ink: #0f172a;
    --tuc-body: #334155;
    --tuc-muted: #64748b;
    --tuc-bg: #ffffff;
    --tuc-bg-alt: #f8fafc;
    --tuc-border: #e2e8f0;
    --tuc-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
    --tuc-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.18);
}

* {
    scroll-behavior: smooth;
}

html, body {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--tuc-body);
    background-color: var(--tuc-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--tuc-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    color: var(--tuc-body);
    line-height: 1.7;
}

.text-accent {
    color: var(--tuc-teal);
}

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: var(--tuc-teal);
    border-color: var(--tuc-teal);
    font-weight: 600;
    box-shadow: 0 6px 18px -6px rgba(15, 118, 110, 0.55);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--tuc-teal-dark);
    border-color: var(--tuc-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(15, 118, 110, 0.6);
}
.btn-outline-dark {
    border-color: var(--tuc-border);
    color: var(--tuc-ink);
    font-weight: 600;
    background-color: #fff;
}
.btn-outline-dark:hover {
    background-color: var(--tuc-ink);
    color: #fff;
}

/* ---------- Navbar ---------- */
.site-nav {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    padding: 0.75rem 0;
}
.site-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--tuc-border);
    box-shadow: 0 2px 16px -8px rgba(15, 23, 42, 0.1);
}
.navbar-brand {
    font-weight: 800;
    color: var(--tuc-ink);
    font-size: 1.2rem;
}
.navbar-brand:hover {
    color: var(--tuc-ink);
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tuc-teal), var(--tuc-sky));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 6px 14px -6px rgba(15, 118, 110, 0.5);
}
.site-nav .nav-link {
    color: var(--tuc-body);
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: var(--tuc-teal);
    background-color: var(--tuc-teal-soft);
}

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: var(--tuc-teal-soft);
    color: var(--tuc-teal-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
}
.section-lead {
    color: var(--tuc-muted);
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 12% 10%, rgba(204, 251, 241, 0.9), transparent 60%),
        radial-gradient(50% 55% at 95% 20%, rgba(224, 242, 254, 0.95), transparent 60%),
        radial-gradient(40% 50% at 80% 95%, rgba(204, 251, 241, 0.6), transparent 60%),
        linear-gradient(180deg, #ffffff, #f8fafc);
    z-index: -1;
}
.hero-title {
    line-height: 1.05;
    color: var(--tuc-ink);
    letter-spacing: -0.02em;
}
.hero-sub {
    color: var(--tuc-body);
    font-size: 1.15rem;
    max-width: 560px;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    color: var(--tuc-ink);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 10px -6px rgba(15, 23, 42, 0.08);
}
.pill i {
    color: var(--tuc-teal);
}

.hero-card {
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--tuc-shadow-lg);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.25), rgba(2, 132, 199, 0.18));
    z-index: -1;
    filter: blur(18px);
    opacity: 0.6;
}
.hero-card h5 {
    font-weight: 700;
}
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tuc-teal-dark);
    background-color: var(--tuc-teal-soft);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.status-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--tuc-teal);
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.6);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); }
}
.hero-card-list li {
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--tuc-border);
    color: var(--tuc-body);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list i {
    color: var(--tuc-teal);
}

/* ---------- Sections ---------- */
.section {
    padding: 5.5rem 0;
}
.section-alt {
    background-color: var(--tuc-bg-alt);
    border-top: 1px solid var(--tuc-border);
    border-bottom: 1px solid var(--tuc-border);
}

/* ---------- About feature cards ---------- */
.feature {
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--tuc-shadow);
    border-color: var(--tuc-teal-soft);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--tuc-teal-soft);
    color: var(--tuc-teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}
.feature h6 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.feature p {
    color: var(--tuc-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Service cards ---------- */
.service-card {
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 160px; height: 160px;
    background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 70%);
    transform: translate(40px, -40px);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tuc-shadow-lg);
    border-color: #cbd5e1;
}
.service-card:hover::after {
    transform: translate(0, 0);
}
.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.service-card p {
    color: var(--tuc-muted);
    margin-bottom: 0;
    font-size: 0.97rem;
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.3);
    position: relative;
    z-index: 1;
}
.service-icon-1 { background: linear-gradient(135deg, #f97316, #ef4444); }
.service-icon-2 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.service-icon-3 { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.service-icon-4 { background: linear-gradient(135deg, #db2777, #e11d48); }
.service-icon-5 { background: linear-gradient(135deg, #4f46e5, #0284c7); }
.service-icon-6 { background: linear-gradient(135deg, #16a34a, #22c55e); }

/* ---------- Steps / How it works ---------- */
.steps { position: relative; }
.step {
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--tuc-shadow);
}
.step-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tuc-teal), var(--tuc-sky));
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    box-shadow: 0 6px 16px -8px rgba(15, 118, 110, 0.5);
}
.step h6 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.step p {
    color: var(--tuc-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Callout / disclaimers ---------- */
.callout {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fcd34d;
    border-radius: 18px;
    padding: 1.75rem;
    color: #78350f;
}
.callout h5 { color: #78350f; }
.callout-icon {
    color: #d97706;
    font-size: 1.8rem;
}
.callout-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
    color: #78350f;
}
.callout-list li {
    padding: 0.15rem 0;
    line-height: 1.55;
}

/* ---------- Contact ---------- */
.contact-info {
    margin-top: 1.25rem;
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--tuc-body);
    font-size: 0.98rem;
}
.contact-info i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: var(--tuc-teal-soft);
    color: var(--tuc-teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info a {
    color: var(--tuc-body);
    text-decoration: none;
    transition: color 0.15s ease;
}
.contact-info a:hover {
    color: var(--tuc-teal);
}
.contact-card {
    background-color: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: var(--tuc-shadow);
}
.contact-card .form-label {
    font-weight: 600;
    color: var(--tuc-ink);
    font-size: 0.95rem;
}
.contact-card .form-control {
    border-radius: 12px;
    border-color: var(--tuc-border);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-card .form-control:focus {
    border-color: var(--tuc-teal);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}
#formSuccess {
    border-radius: 14px;
    background-color: #ecfdf5;
    border: 1px solid #86efac;
    color: #065f46;
    display: flex;
}
#formSuccess.show { display: flex !important; }
#formSuccess.d-none,
#formError.d-none { display: none !important; }
#formError {
    border-radius: 14px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    display: flex;
}
.g-recaptcha {
    transform-origin: 0 0;
}
@media (max-width: 360px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 2.75rem 0;
    margin-top: 0;
}
.site-footer .navbar-brand {
    color: #fff;
}
.site-footer .text-accent {
    color: #5eead4;
}
.site-footer .text-muted {
    color: #94a3b8 !important;
}
.site-footer .brand-mark {
    box-shadow: none;
}
.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    margin-left: 0.4rem;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
}
.social a:hover {
    background-color: var(--tuc-teal);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--tuc-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px -10px rgba(15, 118, 110, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    z-index: 1030;
    text-decoration: none;
}
.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.to-top:hover {
    background-color: var(--tuc-teal-dark);
    color: #fff;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .hero { padding: 8rem 0 4rem; }
    .hero-card { margin-top: 1rem; }
    .site-nav .navbar-nav { padding-top: 0.75rem; }
    .site-nav .nav-link { padding: 0.6rem 0.4rem; }
}
@media (max-width: 575.98px) {
    .hero { padding: 7rem 0 3rem; }
    .section { padding: 4rem 0; }
    .hero-title { font-size: 2.4rem; }
    .hero-card { padding: 1.25rem; }
    .contact-card { padding: 1.25rem; }
    .callout { padding: 1.25rem; }
}
