:root {
    --tm-blue: #002040;
    --tm-blue-2: #072f5f;
    --tm-yellow: #f0b000;
    --tm-yellow-2: #ffc326;
    --tm-white: #ffffff;
    --tm-soft: #f5f7fa;
    --tm-soft-2: #eef3f8;
    --tm-text: #243243;
    --tm-muted: #607082;
    --tm-border: #dce4ee;
    --tm-shadow: 0 18px 45px rgba(0, 32, 64, .14);
    --tm-radius: 22px;
    --tm-radius-sm: 14px;
    --tm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tm-text);
    background: var(--tm-white);
    line-height: 1.65;
    font-size: 16px;
}
a { color: var(--tm-blue); text-decoration: none; }
a:hover { color: var(--tm-yellow); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
    font-family: Montserrat, Inter, system-ui, sans-serif;
    color: var(--tm-blue);
    line-height: 1.15;
    margin: 0 0 .65em;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -0.04em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin-top: 0; }
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    left: 18px;
    top: 18px;
    z-index: 9999;
    background: var(--tm-yellow);
    color: var(--tm-blue);
    padding: 10px 14px;
    border-radius: 10px;
}
.tm-container {
    width: min(calc(100% - 34px), var(--tm-container));
    margin-inline: auto;
}
.tm-main { overflow: hidden; }

/* Header */
.tm-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 228, 238, .85);
    transition: box-shadow .25s ease;
}
.tm-header.is-scrolled { box-shadow: 0 12px 28px rgba(0,32,64,.09); }
.tm-header__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.tm-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.tm-brand__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
}
.tm-brand__text { display: grid; line-height: 1.15; }
.tm-brand__text strong {
    color: var(--tm-blue);
    font-family: Montserrat, Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .035em;
    font-size: .95rem;
}
.tm-brand__text small {
    color: var(--tm-muted);
    font-size: .78rem;
}
.tm-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}
.tm-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.tm-menu__list a {
    color: var(--tm-blue);
    font-weight: 700;
    font-size: .95rem;
}
.tm-menu__list a:hover { color: var(--tm-yellow); }
.tm-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    background: var(--tm-white);
    cursor: pointer;
}
.tm-nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tm-blue);
    margin: 5px auto;
    border-radius: 99px;
}

/* Buttons */
.tm-btn,
button.tm-btn,
input[type="submit"],
.tm-form-wrapper button,
.tm-form-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 800;
    font-family: Inter, system-ui, sans-serif;
    cursor: pointer;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.tm-btn:hover,
input[type="submit"]:hover,
.tm-form-wrapper button:hover { transform: translateY(-1px); }
.tm-btn--small { padding: 11px 18px; font-size: .9rem; }
.tm-btn--primary,
input[type="submit"],
.tm-form-wrapper button,
.tm-form-wrapper input[type="submit"] {
    background: var(--tm-yellow);
    color: var(--tm-blue) !important;
    box-shadow: 0 12px 24px rgba(240,176,0,.28);
}
.tm-btn--primary:hover,
input[type="submit"]:hover { background: var(--tm-yellow-2); color: var(--tm-blue) !important; }
.tm-btn--secondary {
    background: var(--tm-blue);
    color: var(--tm-white) !important;
}
.tm-btn--secondary:hover { background: var(--tm-blue-2); color: var(--tm-white) !important; }
.tm-btn--outline-light {
    border: 1px solid rgba(255,255,255,.42);
    color: var(--tm-white) !important;
    background: rgba(255,255,255,.08);
}
.tm-btn--outline-light:hover { background: var(--tm-white); color: var(--tm-blue) !important; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.tm-hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    color: var(--tm-white);
    background: var(--tm-blue);
    overflow: hidden;
}
.tm-hero__media {
    position: absolute;
    inset: 0;
}
.tm-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,32,64,.94) 0%, rgba(0,32,64,.78) 44%, rgba(0,32,64,.32) 100%);
}
.tm-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tm-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 48px;
    padding: 92px 0;
}
.tm-hero h1,
.tm-hero h2 { color: var(--tm-white); }
.tm-hero__content p {
    max-width: 720px;
    font-size: 1.18rem;
    color: rgba(255,255,255,.88);
}
.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--tm-yellow);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .76rem;
    margin-bottom: 16px;
}
.tm-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    background: currentColor;
    border-radius: 99px;
}
.tm-eyebrow--light { color: var(--tm-yellow-2); }
.tm-hero__badges {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tm-hero__badges li {
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.09);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .9rem;
    font-weight: 700;
}
.tm-hero__card {
    background: rgba(255,255,255,.94);
    color: var(--tm-text);
    border-radius: var(--tm-radius);
    padding: 28px;
    box-shadow: var(--tm-shadow);
}
.tm-hero__card img {
    width: 120px;
    margin-bottom: 16px;
}
.tm-hero__card h2 { color: var(--tm-blue); font-size: 1.55rem; }
.tm-hero__card a {
    display: inline-flex;
    font-weight: 900;
    color: var(--tm-blue);
    border-bottom: 3px solid var(--tm-yellow);
}

/* Sections */
.tm-section { padding: 92px 0; }
.tm-section--soft { background: var(--tm-soft); }
.tm-section__heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}
.tm-section__heading p { color: var(--tm-muted); font-size: 1.08rem; }
.tm-card-grid {
    display: grid;
    gap: 22px;
}
.tm-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-card {
    background: var(--tm-white);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    padding: 30px;
    box-shadow: 0 14px 34px rgba(0,32,64,.06);
}
.tm-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--tm-soft-2);
    border-radius: 16px;
    font-size: 1.55rem;
    margin-bottom: 18px;
}
.tm-card p { color: var(--tm-muted); }
.tm-card a { font-weight: 900; }
.tm-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
}
.tm-split--reverse > div:first-child { order: 2; }
.tm-check-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.tm-check-list li {
    position: relative;
    padding-left: 34px;
    font-weight: 700;
}
.tm-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: var(--tm-yellow);
    color: var(--tm-blue);
    display: grid;
    place-items: center;
    font-size: .8rem;
    font-weight: 900;
}
.tm-photo-stack {
    position: relative;
    min-height: 440px;
}
.tm-photo-stack img,
.tm-photo-card img,
.tm-gallery img {
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow);
    object-fit: cover;
}
.tm-photo-stack img:first-child {
    width: 82%;
    height: 310px;
}
.tm-photo-stack img:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62%;
    height: 245px;
    border: 8px solid var(--tm-white);
}
.tm-photo-card img { width: 100%; height: 430px; }
.tm-info-box {
    background: var(--tm-blue);
    color: var(--tm-white);
    border-radius: var(--tm-radius);
    padding: 38px;
    box-shadow: var(--tm-shadow);
}
.tm-info-box h2 { color: var(--tm-white); }
.tm-info-box p { color: rgba(255,255,255,.86); }
.tm-info-box--large { text-align: center; }
.tm-about-logo { width: 180px; margin: 0 auto 20px; background: white; border-radius: 20px; padding: 12px; }

/* Page hero */
.tm-page-hero {
    background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-2) 72%);
    color: var(--tm-white);
    position: relative;
    overflow: hidden;
}
.tm-page-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(240,176,0,.20);
}
.tm-page-hero__inner {
    position: relative;
    z-index: 1;
    padding: 82px 0;
    max-width: 900px;
}
.tm-page-hero h1 { color: var(--tm-white); font-size: clamp(2.2rem, 4vw, 4rem); }
.tm-page-hero p { color: rgba(255,255,255,.84); font-size: 1.14rem; max-width: 760px; }

/* Services */
.tm-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.tm-service-list article {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-sm);
    padding: 24px;
    background: var(--tm-white);
}
.tm-service-list article h3 { margin-bottom: .35rem; }
.tm-service-list article p { color: var(--tm-muted); margin: 0; }
.tm-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.tm-steps article {
    padding: 24px;
    background: var(--tm-white);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-sm);
}
.tm-steps span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tm-yellow);
    color: var(--tm-blue);
    font-weight: 900;
    margin-bottom: 12px;
}
.tm-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.tm-gallery img { width: 100%; height: 360px; }

/* Contact */
.tm-contact-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.tm-contact-card,
.tm-form-wrapper {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    box-shadow: 0 14px 34px rgba(0,32,64,.06);
    background: var(--tm-white);
}
.tm-contact-card {
    padding: 30px;
    position: sticky;
    top: 108px;
}
.tm-form-wrapper { padding: 30px; }
.tm-form-wrapper form {
    margin-top: 18px;
}
.tm-form-wrapper input,
.tm-form-wrapper select,
.tm-form-wrapper textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--tm-text);
    background: var(--tm-white);
}
.tm-form-wrapper input:focus,
.tm-form-wrapper select:focus,
.tm-form-wrapper textarea:focus {
    outline: 3px solid rgba(240,176,0,.22);
    border-color: var(--tm-yellow);
}
.tm-notice {
    background: #fff7dd;
    border: 1px solid #ffd66d;
    border-radius: 14px;
    padding: 18px;
}

/* Legal and content */
.tm-content {
    max-width: 900px;
}
.tm-content > *:first-child { margin-top: 0; }
.tm-content h2 { margin-top: 1.45em; }
.tm-content h3 { margin-top: 1.2em; }
.tm-legal {
    background: var(--tm-white);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    padding: 34px;
    box-shadow: 0 14px 34px rgba(0,32,64,.06);
}
.tm-post-preview {
    border-bottom: 1px solid var(--tm-border);
    padding: 0 0 28px;
    margin-bottom: 28px;
}

/* CTA */
.tm-cta-band {
    background: var(--tm-blue);
    color: var(--tm-white);
    padding: 58px 0;
}
.tm-cta-band h2 { color: var(--tm-white); }
.tm-cta-band p { color: rgba(255,255,255,.82); margin: 0; }
.tm-cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}
.tm-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.tm-footer {
    background: #06172c;
    color: rgba(255,255,255,.78);
    padding-top: 58px;
}
.tm-footer h2,
.tm-footer h3 { color: var(--tm-white); }
.tm-footer a { color: rgba(255,255,255,.86); }
.tm-footer a:hover { color: var(--tm-yellow); }
.tm-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 34px;
}
.tm-footer__logo {
    width: 92px;
    background: var(--tm-white);
    border-radius: 14px;
    padding: 7px;
    margin-bottom: 16px;
}
.tm-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.tm-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 40px;
    padding: 18px 0;
}
.tm-footer__bottom p { margin: 0; font-size: .92rem; }
.tm-floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 998;
    background: #25d366;
    color: #08351a !important;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(37,211,102,.28);
}

/* Responsive */
@media (max-width: 1020px) {
    .tm-nav-toggle { display: inline-block; }
    .tm-menu {
        position: absolute;
        left: 17px;
        right: 17px;
        top: calc(100% + 8px);
        background: var(--tm-white);
        border: 1px solid var(--tm-border);
        border-radius: 18px;
        box-shadow: var(--tm-shadow);
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
        display: none;
    }
    .tm-menu.is-open { display: flex; }
    .tm-menu__list { flex-direction: column; align-items: stretch; gap: 8px; }
    .tm-menu__list a { display: block; padding: 10px 8px; }
    .tm-hero { min-height: auto; }
    .tm-hero__inner { grid-template-columns: 1fr; padding: 72px 0; }
    .tm-hero__card { max-width: 460px; }
    .tm-card-grid--3,
    .tm-split,
    .tm-service-list,
    .tm-contact-layout,
    .tm-cta-band__inner { grid-template-columns: 1fr; }
    .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tm-contact-card { position: static; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .tm-header__inner { min-height: 74px; }
    .tm-brand__logo { width: 52px; height: 52px; }
    .tm-brand__text strong { font-size: .78rem; }
    .tm-brand__text small { display: none; }
    .tm-section { padding: 64px 0; }
    .tm-page-hero__inner { padding: 60px 0; }
    .tm-hero__inner { padding: 58px 0; }
    .tm-hero__media::after { background: rgba(0,32,64,.82); }
    .tm-actions,
    .tm-cta-band__actions { flex-direction: column; align-items: stretch; }
    .tm-btn { width: 100%; }
    .tm-card,
    .tm-info-box,
    .tm-contact-card,
    .tm-form-wrapper,
    .tm-legal { padding: 22px; }
    .tm-photo-stack { min-height: 0; display: grid; gap: 16px; }
    .tm-photo-stack img:first-child,
    .tm-photo-stack img:last-child {
        position: static;
        width: 100%;
        height: 240px;
        border: 0;
    }
    .tm-gallery,
    .tm-steps,
    .tm-footer__grid { grid-template-columns: 1fr; }
    .tm-gallery img,
    .tm-photo-card img { height: 250px; }
    .tm-floating-whatsapp { left: 18px; right: 18px; text-align: center; justify-content: center; display: flex; }
}
