:root {
  --tc-accent: #2d7896;
  --tc-accent-dark: #23627d;
  --tc-navy: #123343;
  --tc-text: #526a78;
  --tc-muted: #6e8290;
  --tc-soft: #eef1f3;
  --tc-border: #dfe6e9;
  --tc-white: #fff;
  --tc-container: 1180px;
  --tc-logo-width: 245px;
  --tc-radius: 13px;
  --tc-shadow: 0 12px 32px rgba(18, 51, 67, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tc-theme { margin: 0; background: #fff; color: var(--tc-text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--tc-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tc-navy); }
button, input, textarea { font: inherit; }
.tc-container { width: min(var(--tc-container), calc(100% - 48px)); margin-inline: auto; }
.tc-main { min-height: 50vh; }
.tc-skip-link { position: absolute; left: -9999px; top: 10px; z-index: 9999; padding: 10px 14px; background: #fff; color: var(--tc-navy); }
.tc-skip-link:focus { left: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Shared typography */
h1, h2, h3, h4, h5, h6 { margin: 0 0 16px; color: var(--tc-navy); font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
h1 { font-size: clamp(2.15rem, 4.3vw, 3.15rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.13rem; letter-spacing: -.01em; }
p { margin: 0 0 16px; font-size: 1rem; line-height: 1.7; }
.tc-eyebrow { margin: 0 0 16px; color: var(--tc-accent); font-size: .72rem; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tc-section-heading { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.tc-section-heading > p:last-child { margin-bottom: 0; }
.tc-section-heading--left { margin-left: 0; text-align: left; }
.tc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.tc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--tc-accent); border-radius: 6px; background: var(--tc-accent); color: #fff; font-size: .9rem; font-weight: 650; line-height: 1.2; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; cursor: pointer; }
.tc-button:hover { color: #fff; background: var(--tc-navy); border-color: var(--tc-navy); transform: translateY(-1px); }
.tc-button--outline { color: var(--tc-accent-dark); background: #fff; }
.tc-button--outline:hover { color: #fff; background: var(--tc-accent); border-color: var(--tc-accent); }
.tc-button--light { color: var(--tc-navy); background: #fff; border-color: #fff; }
.tc-button--light:hover { color: var(--tc-navy); background: #edf4f6; border-color: #edf4f6; }

/* Header / navigation */
.tc-header { position: relative; z-index: 50; width: 100%; background: rgba(255,255,255,.98); border-bottom: 1px solid #edf0f2; }
.tc-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tc-brand { flex: 0 1 auto; min-width: 210px; }
.tc-brand .custom-logo { display: block; width: auto; max-width: var(--tc-logo-width); max-height: 70px; object-fit: contain; }
.tc-brand__fallback { display: inline-flex; align-items: center; gap: 10px; color: var(--tc-navy); text-decoration: none; }
.tc-brand__mark { display: inline-flex; width: 44px; height: 44px; color: var(--tc-accent); flex: 0 0 44px; }
.tc-brand__mark svg { width: 100%; height: 100%; }
.tc-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.tc-brand__text strong { color: var(--tc-navy); font-size: 1.12rem; font-weight: 700; letter-spacing: -.03em; }
.tc-brand__text small { margin-top: 4px; color: var(--tc-text); font-size: .68rem; font-weight: 600; letter-spacing: .025em; }
.tc-nav { margin-left: auto; }
.tc-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); padding: 0; margin: 0; list-style: none; }
.tc-menu li { margin: 0; padding: 0; }
.tc-menu a { display: inline-block; padding: 10px 0; color: var(--tc-navy); font-size: .92rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.tc-menu a:hover, .tc-menu .current-menu-item > a, .tc-menu .current_page_item > a { color: var(--tc-accent); border-color: var(--tc-accent); }
.tc-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--tc-border); border-radius: 7px; background: #fff; cursor: pointer; }
.tc-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; width: 20px; margin: 4px auto; background: var(--tc-navy); }

/* Homepage hero: horizontal photo fills the full right-hand space. */
.tc-home-hero { padding: 34px 0 30px; background: #fff; }
.tc-home-hero__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(28px, 4.5vw, 62px); align-items: center; }
.tc-home-hero__copy { max-width: 570px; }
.tc-home-hero__copy h1 { margin-bottom: 16px; max-width: 580px; }
.tc-home-hero__copy p:not(.tc-eyebrow) { max-width: 560px; margin-bottom: 0; }
.tc-home-hero__media { width: 100%; height: clamp(260px, 27vw, 360px); overflow: hidden; border-radius: var(--tc-radius); background: var(--tc-soft); box-shadow: var(--tc-shadow); }
.tc-home-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .45s ease; }
.tc-home-hero__media:hover img { transform: scale(1.025); }

/* Provider profile */
.tc-provider-section { padding: 34px 0 50px; background: #fff; }
.tc-provider-section__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(300px, .88fr); gap: clamp(30px, 5vw, 68px); align-items: center; }
.tc-provider-section__copy { min-width: 0; }
.tc-provider-name { margin: 0 0 4px; color: var(--tc-accent-dark); font-size: clamp(1.7rem, 2.8vw, 2.15rem); line-height: 1.18; font-weight: 550; }
.tc-provider-credentials { margin: 0 0 18px; color: var(--tc-navy); font-size: 1rem; line-height: 1.4; font-weight: 650; letter-spacing: .025em; }
.tc-provider-section__copy p:not(.tc-eyebrow):not(.tc-provider-credentials) { margin-bottom: 13px; font-size: .96rem; }
.tc-provider-section__photo { width: 100%; height: 440px; overflow: hidden; border-radius: var(--tc-radius); background: var(--tc-soft); box-shadow: var(--tc-shadow); }
.tc-provider-section__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* Home approach / steps */
.tc-approach-section { padding: 44px 0 48px; background: var(--tc-soft); }
.tc-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.tc-info-card { min-height: 150px; padding: 22px 22px 20px; background: #fff; border: 1px solid rgba(18,51,67,.04); border-radius: 12px; box-shadow: 0 3px 12px rgba(18,51,67,.035); transition: transform .22s ease, box-shadow .22s ease; }
.tc-info-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow); }
.tc-card-symbol { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; margin-bottom: 12px; color: var(--tc-navy); font-size: 1.45rem; font-weight: 700; }
.tc-info-card h3 { margin: 0 0 7px; color: var(--tc-navy); font-size: 1rem; }
.tc-info-card p { margin: 0; font-size: .9rem; line-height: 1.55; }
.tc-steps-section { padding: 48px 0 50px; background: #fff; }
.tc-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.tc-step { display: flex; align-items: flex-start; gap: 14px; }
.tc-step > span, .tc-pt-steps article > span { display: inline-flex; flex: 0 0 38px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--tc-accent); color: #fff; font-weight: 700; font-size: .9rem; }
.tc-step h3 { margin: 0 0 7px; color: var(--tc-accent-dark); font-size: 1.13rem; }
.tc-step p { margin: 0; font-size: .9rem; line-height: 1.55; }
.tc-cta-band { padding: 42px 0 44px; background: var(--tc-accent); color: #fff; text-align: center; }
.tc-cta-band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.tc-cta-band p { margin: 0 0 22px; color: rgba(255,255,255,.9); font-size: .96rem; }

/* About page */
.tc-page-intro { padding: 44px 0 46px; }
.tc-about-intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(36px,7vw,90px); align-items: start; }
.tc-about-intro-grid h1 { max-width: 470px; }
.tc-about-intro-grid p { margin-bottom: 18px; }
.tc-about-intro-grid > div:last-child p:last-child { margin-bottom: 0; }
.tc-about-philosophy { padding: 58px 0; background: var(--tc-soft); }
.tc-about-philosophy-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,58px); align-items: center; }
.tc-about-photo { height: 420px; overflow: hidden; border-radius: var(--tc-radius); }
.tc-about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .45s ease; }
.tc-about-photo:hover img { transform: scale(1.025); }
.tc-about-philosophy-grid p:last-child { margin-bottom: 0; }
.tc-commitments { padding: 48px 0 54px; }

/* Services page */
.tc-services-heading { padding: 42px 0 40px; text-align: center; }
.tc-services-heading h1 { margin-bottom: 14px; }
.tc-services-heading p:last-child { margin: 0 auto; max-width: 700px; }
.tc-services-list { padding: 44px 0 52px; background: var(--tc-soft); }
.tc-service-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,56px); align-items: center; margin-bottom: 44px; }
.tc-service-row:last-child { margin-bottom: 0; }
.tc-service-row figure { height: 300px; overflow: hidden; border-radius: var(--tc-radius); }
.tc-service-row figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tc-service-row figure:hover img { transform: scale(1.035); }
.tc-service-row h2 { margin-bottom: 18px; }
.tc-service-row p:last-child { max-width: 540px; margin-bottom: 0; }
.tc-service-row--reverse figure { order: 2; }
.tc-service-row--reverse > div { order: 1; }

/* Contact page and forms */
.tc-contact-section { padding: 56px 0 68px; }
.tc-contact-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(40px,7vw,90px); align-items: start; }
.tc-contact-copy h1 { max-width: 470px; margin-bottom: 22px; }
.tc-contact-copy > p { max-width: 480px; color: var(--tc-muted); }
.tc-contact-details { margin-top: 36px; display: grid; gap: 18px; }
.tc-contact-details > div { display: flex; align-items: flex-start; gap: 14px; }
.tc-contact-icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 8px; background: var(--tc-soft); color: var(--tc-navy); font-size: 1.15rem; }
.tc-contact-details small { display: block; margin-bottom: 3px; color: var(--tc-muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.tc-contact-details a { color: var(--tc-navy); text-decoration: none; overflow-wrap: anywhere; }
.tc-contact-form-wrap { min-width: 0; }
.tc-contact-form { display: grid; gap: 10px; }
.tc-contact-form > label:not(.tc-consent) { margin-top: 5px; color: var(--tc-navy); font-size: .93rem; font-weight: 600; }
.tc-contact-form input[type="text"], .tc-contact-form input[type="email"], .tc-contact-form textarea { width: 100%; padding: 13px 15px; border: 1px solid #aebbc2; border-radius: 8px; background: #fff; color: var(--tc-navy); font-size: .98rem; outline: none; }
.tc-contact-form input:focus, .tc-contact-form textarea:focus, .tc-footer input:focus { border-color: var(--tc-accent); box-shadow: 0 0 0 3px rgba(45,120,150,.13); }
.tc-contact-form textarea { resize: vertical; min-height: 130px; }
.tc-consent { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; color: var(--tc-text); font-size: .9rem; line-height: 1.55; }
.tc-consent input { margin-top: 5px; flex: 0 0 auto; }
.tc-form-note { margin: 0 0 6px; color: var(--tc-muted); font-size: .8rem; }
.tc-form-notice { padding: 12px 14px; margin: 0 0 16px; border-radius: 8px; font-size: .9rem; }
.tc-form-notice--success { color: #14532d; background: #e9f8ee; }
.tc-form-notice--invalid, .tc-form-notice--error { color: #7f1d1d; background: #fff0f0; }
.tc-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Portuguese encouragement band: complete headline replaces the old placeholder. */
.tc-pt-encouragement { padding: 42px 0 44px; background: var(--tc-accent); color: #fff; }
.tc-pt-encouragement .tc-eyebrow { color: rgba(255,255,255,.82); }
.tc-pt-encouragement h2 { max-width: 940px; margin: 0 auto 14px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.24; text-align: center; }
.tc-pt-encouragement p { max-width: 920px; margin: 0 auto 14px; color: rgba(255,255,255,.93); text-align: justify; }
.tc-pt-encouragement .tc-pt-encouragement__lead { margin-bottom: 12px; color: #fff; font-size: 1.05rem; font-weight: 650; text-align: center; }
/* Portuguese page — European Portuguese, complete headings, justified text. */
.tc-portuguese { color: var(--tc-text); }
.tc-portuguese p, .tc-portuguese li { font-size: 1rem; line-height: 1.78; text-align: justify; hyphens: auto; }
.tc-portuguese h1, .tc-portuguese h2, .tc-portuguese h3 { color: var(--tc-navy); }
.tc-pt-hero { padding: 38px 0 42px; }
.tc-pt-hero__grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(30px,5vw,64px); align-items: center; }
.tc-pt-hero h1 { max-width: 540px; margin-bottom: 10px; }
.tc-pt-hero__lead { margin-bottom: 14px; color: var(--tc-accent-dark); font-size: 1.2rem !important; font-weight: 600; text-align: left !important; }
.tc-pt-hero__image { height: 310px; overflow: hidden; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); }
.tc-pt-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-pt-intro { padding: 48px 0; background: var(--tc-soft); }
.tc-pt-intro__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(34px,6vw,74px); align-items: start; }
.tc-pt-intro__grid p:last-child { margin-bottom: 0; }
.tc-pt-consultation { padding: 52px 0; }
.tc-pt-consultation .tc-section-heading { max-width: 860px; }
.tc-pt-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 34px 0 34px; }
.tc-pt-steps article { padding: 24px; border-radius: 12px; background: var(--tc-soft); }
.tc-pt-steps article > span { margin-bottom: 16px; }
.tc-pt-steps h3 { margin-bottom: 8px; }
.tc-pt-steps p { margin: 0; font-size: .92rem; }
.tc-pt-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 34px 0; }
.tc-pt-photo-grid figure { height: 190px; overflow: hidden; border-radius: 10px; }
.tc-pt-photo-grid img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.tc-pt-photo-grid figure:hover img { transform: scale(1.04); }
.tc-pt-closing { margin-top: 26px; }
.tc-pt-provider { padding: 54px 0; background: var(--tc-soft); }
.tc-pt-provider__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px,5vw,60px); align-items: center; }
.tc-pt-provider__grid figure { height: 460px; overflow: hidden; border-radius: var(--tc-radius); }
.tc-pt-provider__grid figure img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 45%; }
.tc-pt-provider__grid h2 { margin-bottom: 6px; }
.tc-pt-provider__grid .tc-provider-credentials { margin-bottom: 14px; }
.tc-pt-lead { color: var(--tc-accent-dark); font-weight: 650; }
.tc-pt-journey { padding: 52px 0; }
.tc-pt-journey__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(34px,6vw,74px); align-items: start; }
.tc-pt-journey__grid p:last-child { margin-bottom: 0; }

/* Footer */
.tc-footer { padding: 42px 0 18px; background: #102f3d; color: rgba(255,255,255,.85); }
.tc-footer__grid { display: grid; grid-template-columns: .85fr 1fr 1.15fr; gap: clamp(30px,7vw,90px); }
.tc-footer h2 { margin-bottom: 14px; color: #fff; font-size: 1.2rem; letter-spacing: 0; }
.tc-footer h3 { margin: 18px 0 8px; color: #fff; font-size: 1rem; }
.tc-footer p { margin-bottom: 6px; color: rgba(255,255,255,.84); font-size: .88rem; }
.tc-footer a { color: rgba(255,255,255,.9); }
.tc-footer a:hover { color: #fff; }
.tc-footer-menu { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.tc-footer-menu a { font-size: .88rem; text-decoration: none; }
.tc-socials { display: flex; gap: 10px; }
.tc-socials a { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; text-decoration: none; font-size: .72rem; font-weight: 700; }
.tc-footer__newsletter form { display: grid; gap: 8px; }
.tc-footer__newsletter label { color: rgba(255,255,255,.88); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.tc-footer input[type="email"] { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 5px; color: var(--tc-navy); background: #fff; }
.tc-button--footer { width: 100%; min-height: 42px; border: 1px solid #fff; border-radius: 22px; color: #fff; background: transparent; }
.tc-button--footer:hover { color: var(--tc-navy); background: #fff; }
.tc-footer__bottom { margin-top: 28px; color: rgba(255,255,255,.7); font-size: .74rem; text-align: center; }

/* Generic WordPress / Elementor compatibility */
.tc-standard-page { padding: 44px 0 60px; }
.tc-standard-page__header { margin-bottom: 28px; }
.tc-entry-content { max-width: 860px; padding-bottom: 60px; }
.tc-entry-content img { border-radius: 10px; }
.elementor h1.elementor-heading-title { font-size: clamp(2.15rem, 4vw, 3.15rem) !important; line-height: 1.16 !important; }
.elementor h2.elementor-heading-title { font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important; line-height: 1.2 !important; }
.elementor h3.elementor-heading-title { font-size: 1.15rem !important; line-height: 1.3 !important; }
.elementor-widget-text-editor p, .elementor-widget-text-editor li { font-size: 1rem !important; line-height: 1.7 !important; }
.elementor-widget-button .elementor-button { font-family: inherit !important; font-size: .92rem !important; font-weight: 600 !important; }
.elementor-location-header .elementor-widget-theme-site-logo img, .elementor-location-header .elementor-widget-image img[alt*="logo"], .elementor-location-header .elementor-widget-image img[alt*="Logo"] { width: auto !important; max-width: var(--tc-logo-width) !important; max-height: 70px; object-fit: contain; }
.elementor-location-header .elementor-container, .elementor-location-header .e-con-inner { align-items: center; }
.tc-archive, .tc-single, .tc-404 { padding-top: 54px; padding-bottom: 70px; }
.tc-archive-card { padding: 22px 0; border-bottom: 1px solid var(--tc-border); }
.tc-archive-card h2 { font-size: 1.35rem; }

/* Tablet */
@media (max-width: 1024px) {
  .tc-header__inner { min-height: 76px; }
  .tc-container { width: min(var(--tc-container), calc(100% - 40px)); }
  .tc-home-hero__grid { gap: 30px; }
  .tc-provider-section__grid { grid-template-columns: minmax(0,1fr) minmax(270px,.82fr); gap: 32px; }
  .tc-provider-section__photo { height: 390px; }
  .tc-about-photo { height: 360px; }
  .tc-service-row figure { height: 270px; }
}
@media (max-width: 767px) {
  body.tc-theme { font-size: 15px; }
  .tc-container { width: calc(100% - 36px); }
  .tc-header__inner { min-height: 68px; gap: 12px; }
  .tc-brand { min-width: 0; }
  .tc-brand .custom-logo { max-width: min(var(--tc-logo-width), 190px); max-height: 54px; }
  .tc-brand__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .tc-brand__text strong { font-size: .98rem; }
  .tc-brand__text small { font-size: .61rem; }
  .tc-menu-toggle { display: block; margin-left: auto; }
  .tc-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 18px 16px; background: #fff; border-bottom: 1px solid var(--tc-border); box-shadow: 0 14px 22px rgba(18,51,67,.08); }
  .tc-nav.is-open { display: block; }
  .tc-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .tc-menu a { display: block; padding: 12px 6px; border-bottom: 1px solid #edf1f3; }
  h1 { font-size: clamp(2rem, 8vw, 2.65rem); }
  h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  p { font-size: .96rem; line-height: 1.68; }
  .tc-home-hero { padding: 28px 0 26px; }
  .tc-home-hero__grid, .tc-provider-section__grid, .tc-about-intro-grid, .tc-about-philosophy-grid, .tc-contact-grid, .tc-pt-hero__grid, .tc-pt-intro__grid, .tc-pt-provider__grid, .tc-pt-journey__grid { grid-template-columns: 1fr; gap: 24px; }
  .tc-home-hero__media { order: -1; height: auto; aspect-ratio: 16/9; min-height: 0; }
  .tc-home-hero__copy h1 { font-size: clamp(2rem, 8vw, 2.55rem); }
  .tc-provider-section { padding: 28px 0 38px; }
  .tc-provider-section__photo { height: auto; aspect-ratio: 4/5; max-height: 500px; }
  .tc-card-grid, .tc-steps-grid, .tc-pt-steps, .tc-pt-photo-grid { grid-template-columns: 1fr; }
  .tc-approach-section, .tc-steps-section, .tc-commitments { padding: 38px 0; }
  .tc-section-heading { margin-bottom: 26px; }
  .tc-info-card { min-height: 0; }
  .tc-steps-grid { gap: 22px; }
  .tc-cta-band { padding: 34px 0; }
  .tc-page-intro, .tc-contact-section { padding: 38px 0 44px; }
  .tc-about-philosophy { padding: 38px 0; }
  .tc-about-photo { height: auto; aspect-ratio: 4/3; }
  .tc-services-heading { padding: 34px 0 28px; }
  .tc-services-list { padding: 30px 0 38px; }
  .tc-service-row, .tc-service-row--reverse { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .tc-service-row figure, .tc-service-row--reverse figure { order: 0; height: auto; aspect-ratio: 16/10; }
  .tc-service-row > div, .tc-service-row--reverse > div { order: 1; }
  .tc-contact-grid { gap: 30px; }
  .tc-contact-details { margin-top: 24px; }
  .tc-pt-hero { padding: 30px 0 34px; }
  .tc-pt-hero__image { order: -1; height: auto; aspect-ratio: 16/9; }
  .tc-pt-intro, .tc-pt-consultation, .tc-pt-provider, .tc-pt-journey { padding: 38px 0; }
  .tc-pt-steps { gap: 12px; margin: 26px 0; }
  .tc-pt-steps article { padding: 20px; }
  .tc-pt-photo-grid { gap: 12px; }
  .tc-pt-photo-grid figure { height: auto; aspect-ratio: 16/9; }
  .tc-pt-provider__grid figure { height: auto; aspect-ratio: 4/5; max-height: 520px; }
  .tc-footer { padding-top: 36px; }
  .tc-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .tc-footer__bottom { margin-top: 24px; }
  .tc-standard-page { padding-top: 32px; }
  .elementor h1.elementor-heading-title { font-size: clamp(2rem, 8vw, 2.65rem) !important; }
  .elementor h2.elementor-heading-title { font-size: clamp(1.55rem, 6vw, 2rem) !important; }
  .elementor-widget-text-editor p, .elementor-widget-text-editor li { font-size: .96rem !important; line-height: 1.68 !important; }
  .elementor-section .elementor-container { width: calc(100% - 36px); }
  .elementor-widget-image img { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Version 3 — per-page and per-section Customizer design tokens. */
.tc-editable-section {
  background: var(--tc-section-bg, #fff) !important;
  color: var(--tc-section-text-color, var(--tc-body-color));
  padding-top: var(--tc-section-padding-top, 54px) !important;
  padding-bottom: var(--tc-section-padding-bottom, 54px) !important;
  text-align: var(--tc-section-text-align, left);
}
.tc-editable-section h1,
.tc-editable-section h2,
.tc-editable-section h3,
.tc-editable-section h4,
.tc-editable-section h5,
.tc-editable-section h6 { color: var(--tc-section-heading-color, var(--tc-heading-color)) !important; font-family: var(--tc-heading-font); }
.tc-editable-section h1,
.tc-editable-section h2 { font-size: var(--tc-section-title-size, var(--tc-h2-size)); }
.tc-editable-section h3,
.tc-editable-section .tc-info-card h3 { font-size: var(--tc-section-card-title-size, var(--tc-h3-size)); }
.tc-editable-section p,
.tc-editable-section li { color: var(--tc-section-text-color, var(--tc-body-color)); font-size: var(--tc-section-body-size, var(--tc-body-size)); }
.tc-editable-section .tc-eyebrow { color: var(--tc-section-eyebrow-color, var(--tc-accent)); font-size: var(--tc-section-eyebrow-size, 11px); }
.tc-editable-section .tc-info-card,
.tc-editable-section .tc-pt-steps article { background: var(--tc-section-card-bg, #fff); }
.tc-editable-section .tc-section-heading { text-align: var(--tc-section-text-align, center); }
.tc-editable-section .tc-button { background: var(--tc-button-bg); border-color: var(--tc-button-bg); color: var(--tc-button-text); }
.tc-editable-section .tc-button--outline { background: transparent; color: var(--tc-accent); }
.tc-editable-section .tc-button--light { background: #fff; border-color: #fff; color: var(--tc-navy); }
.tc-editable-section .tc-media-frame { width: 100%; height: auto !important; overflow: hidden; border-radius: var(--tc-radius); }
.tc-editable-image { display: block; width: 100%; max-width: var(--tc-image-max-width, 100%); height: var(--tc-image-height, auto); object-fit: var(--tc-image-fit, cover); object-position: var(--tc-image-position, center center); margin-inline: auto; }
.tc-home-hero__media { height: auto !important; }
.tc-home-hero__media .tc-editable-image { width: 100%; }
.tc-provider-section__photo,
.tc-about-photo,
.tc-pt-provider__grid figure,
.tc-pt-hero__image,
.tc-services-heading__photo { height: auto !important; }
.tc-provider-section__photo .tc-editable-image,
.tc-about-photo .tc-editable-image,
.tc-pt-provider__grid figure .tc-editable-image,
.tc-pt-hero__image .tc-editable-image,
.tc-services-heading__photo .tc-editable-image { width: 100%; }
.tc-services-list { padding: 0; background: transparent; }
.tc-service-row { margin: 0 0 24px; }
.tc-service-row:last-child { margin-bottom: 0; }
.tc-service-row .tc-media-frame { min-width: 0; }
.tc-contact-section { padding: 40px 0 56px; }
.tc-contact-grid { align-items: start; }
.tc-contact-form-wrap { border-radius: 14px; padding: 28px; }
.tc-contact-form-wrap h2 { margin-bottom: 22px; }
.tc-contact-form-wrap .tc-contact-form > label:not(.tc-consent) { color: var(--tc-section-heading-color, var(--tc-navy)); }
.tc-contact-form-wrap .tc-consent { color: var(--tc-section-text-color, var(--tc-body-color)); }
.tc-pt-hero__image .tc-editable-image { width: 100%; }
.tc-pt-photo-grid .tc-media-frame { height: auto !important; }
.tc-pt-photo-grid .tc-editable-image { width: 100%; }
.tc-footer { background: var(--tc-footer-bg); color: var(--tc-footer-text); }
.tc-footer h2, .tc-footer h3 { color: var(--tc-footer-heading); }
.tc-footer a, .tc-footer p { color: var(--tc-footer-text); }

@media (max-width: 1024px) {
  .tc-container { width: min(var(--tc-container), calc(100% - 40px)); }
  .tc-home-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .tc-provider-section__grid { grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr); }
  .tc-services-heading__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); }
}
@media (max-width: 767px) {
  .tc-editable-section { padding-top: clamp(26px, 7vw, var(--tc-section-padding-top, 44px)) !important; padding-bottom: clamp(26px, 7vw, var(--tc-section-padding-bottom, 44px)) !important; }
  .tc-editable-section h1, .tc-editable-section h2 { font-size: clamp(25px, 7vw, var(--tc-section-title-size, 36px)); }
  .tc-editable-section p, .tc-editable-section li { font-size: max(14px, min(var(--tc-section-body-size, 16px), 17px)); }
  .tc-home-hero__grid,
  .tc-provider-section__grid,
  .tc-about-intro-grid,
  .tc-about-philosophy-grid,
  .tc-services-heading__grid,
  .tc-contact-grid,
  .tc-pt-hero__grid,
  .tc-pt-intro__grid,
  .tc-pt-provider__grid,
  .tc-pt-journey__grid { grid-template-columns: 1fr; gap: 24px; }
  .tc-home-hero__media .tc-editable-image { height: min(var(--tc-image-height, 360px), 330px); }
  .tc-provider-section__photo .tc-editable-image,
  .tc-about-photo .tc-editable-image,
  .tc-pt-provider__grid figure .tc-editable-image { height: min(var(--tc-image-height, 520px), 520px); }
  .tc-services-heading__photo .tc-editable-image,
  .tc-pt-hero__image .tc-editable-image { height: min(var(--tc-image-height, 390px), 360px); }
  .tc-service-row { grid-template-columns: 1fr; gap: 18px; }
  .tc-service-row .tc-editable-image { height: min(var(--tc-image-height, 360px), 300px); }
  .tc-pt-photo-grid { grid-template-columns: 1fr; }
  .tc-pt-photo-grid .tc-editable-image { height: min(var(--tc-image-height, 240px), 260px); }
  .tc-contact-form-wrap { padding: 22px 18px; }
}
/* Page-specific content width controls (desktop, tablet and mobile). */
.tc-container { width: min(var(--tc-page-container, var(--tc-container)), calc(100% - 48px)); }
@media (max-width: 1024px) { .tc-container { width: min(var(--tc-page-container, var(--tc-container)), calc(100% - 40px)); } }
@media (max-width: 767px) { .tc-container { width: min(var(--tc-page-container, var(--tc-container)), calc(100% - 36px)); } }
/* Portuguese body copy remains justified while headings and lead text keep their layout alignment. */
.tc-portuguese .tc-editable-section p:not(.tc-eyebrow):not(.tc-pt-hero__lead),
.tc-portuguese .tc-editable-section li { text-align: justify; hyphens: auto; }
.tc-portuguese .tc-pt-hero__lead { text-align: left; }
/* Preserve the user's chosen sizes as closely as possible on small screens. */
@media (max-width: 767px) {
  body.tc-theme { font-size: min(var(--tc-body-size, 16px), 16px); }
  .tc-editable-section { padding-top: min(var(--tc-section-padding-top, 44px), 44px) !important; padding-bottom: min(var(--tc-section-padding-bottom, 44px), 44px) !important; }
  .tc-editable-section h1, .tc-editable-section h2 { font-size: min(var(--tc-section-title-size, 36px), 36px); }
  .tc-editable-section h3, .tc-editable-section .tc-info-card h3 { font-size: min(var(--tc-section-card-title-size, 18px), 20px); }
  .tc-editable-section p, .tc-editable-section li { font-size: min(var(--tc-section-body-size, 16px), 17px); }
}
.elementor h1.elementor-heading-title { font-size: var(--tc-h1-size) !important; }
.elementor h2.elementor-heading-title { font-size: var(--tc-h2-size) !important; }
.elementor h3.elementor-heading-title { font-size: var(--tc-h3-size) !important; }
.elementor-widget-text-editor p, .elementor-widget-text-editor li { font-size: var(--tc-body-size) !important; }
.tc-contact-grid > :only-child { grid-column: 1 / -1; }
@media (max-width: 767px) {
  .tc-provider-section__photo .tc-editable-image,
  .tc-about-photo .tc-editable-image,
  .tc-pt-provider__grid figure .tc-editable-image { height: auto !important; object-fit: contain; }
}


/* Version 4.1.0 — homepage banner and image-placement refinements. */
.tc-home-hero.tc-editable-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.tc-home-hero__banner { position: relative; overflow: hidden; min-height: clamp(460px, 62vw, 680px); }
.tc-home-hero__media { position: absolute; inset: 0; width: 100%; height: 100% !important; border-radius: 0; box-shadow: none; background: #dfe7e2; }
.tc-home-hero__media .tc-editable-image { width: 100%; height: 100% !important; object-fit: cover; object-position: center; }
.tc-home-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,25,31,.28) 0%, rgba(14,25,31,.42) 48%, rgba(14,25,31,.58) 100%); z-index: 1; }
.tc-home-hero__overlay { position: relative; z-index: 2; min-height: clamp(460px, 62vw, 680px); display: flex; align-items: center; justify-content: center; }
.tc-home-hero__copy { max-width: 820px; text-align: center; }
.tc-home-hero__copy .tc-eyebrow { color: rgba(255,255,255,.98) !important; font-size: .84rem; letter-spacing: .18em; margin-bottom: 18px; }
.tc-home-hero__copy h1 { margin: 0 0 18px; color: #fff !important; font-size: clamp(2.45rem, 5.4vw, 4.5rem) !important; line-height: 1.08; text-wrap: balance; }
.tc-home-hero__copy p:not(.tc-eyebrow) { margin: 0 auto; max-width: 760px; color: rgba(255,255,255,.94) !important; font-size: 1.06rem; line-height: 1.75; }
.tc-home-hero__copy .tc-actions { justify-content: center; margin-top: 28px; }
.tc-home-hero__copy .tc-button { box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.tc-home-hero__copy .tc-button--outline { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.38); color: #fff; }
.tc-home-hero__copy .tc-button--outline:hover { background: #fff; color: var(--tc-navy); border-color: #fff; }

.tc-services-heading { text-align: left; }
.tc-services-heading__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(30px,5vw,56px); align-items: center; }
.tc-services-heading__photo { height: 380px; overflow: hidden; border-radius: var(--tc-radius); background: var(--tc-soft); box-shadow: var(--tc-shadow); }
.tc-services-heading__photo .tc-editable-image { width: 100%; height: 100% !important; object-fit: cover; }
.tc-services-heading p:last-child { margin: 0; max-width: 680px; }

@media (max-width: 1024px) {
  .tc-home-hero__banner,
  .tc-home-hero__overlay { min-height: clamp(420px, 58vw, 580px); }
  .tc-home-hero__copy h1 { font-size: clamp(2.25rem, 5.2vw, 3.8rem) !important; }
}
@media (max-width: 767px) {
  .tc-home-hero__banner,
  .tc-home-hero__overlay { min-height: 420px; }
  .tc-home-hero__copy { max-width: 100%; }
  .tc-home-hero__copy h1 { font-size: clamp(2rem, 8vw, 2.85rem) !important; }
  .tc-home-hero__copy p:not(.tc-eyebrow) { font-size: .98rem; }
  .tc-home-hero__copy .tc-actions { flex-direction: column; }
  .tc-home-hero__copy .tc-button { width: min(100%, 260px); }
  .tc-services-heading__grid { grid-template-columns: 1fr; }
  .tc-services-heading__photo { height: auto; aspect-ratio: 4/3; }
}


/* Version 4.1.1 — mobile refinement, icon footer and shared mobile reveal motion. */
.tc-brand .custom-logo-link { display: inline-flex; align-items: center; max-width: var(--tc-logo-width); text-decoration: none; }
.tc-brand .custom-logo { display: block; width: auto; max-width: 100%; max-height: 68px; object-fit: contain; object-position: left center; }

/* Ensure the banner image stretches between its top and bottom edges. */
.tc-home-hero.tc-editable-section .tc-home-hero__media { position: absolute; inset: 0; width: 100%; height: auto !important; max-width: none; }
.tc-home-hero.tc-editable-section .tc-home-hero__media .tc-editable-image { position: absolute; inset: 0; width: 100% !important; max-width: none !important; height: 100% !important; object-fit: cover; }

/* Calm, three-column footer inspired by the supplied reference. */
.tc-footer { padding: 52px 0 20px; background: #123f3d; color: rgba(255,255,255,.9); }
.tc-footer__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.9fr) minmax(0,1.12fr); gap: clamp(28px,5vw,72px); align-items: start; }
.tc-footer__column { min-width: 0; }
.tc-footer__contact, .tc-footer__newsletter { border-left: 1px solid rgba(255,255,255,.24); padding-left: clamp(20px,3vw,42px); }
.tc-footer__brand-title { max-width: 300px; margin: 0 0 10px; color: #fff; font-size: clamp(1.45rem,2.2vw,1.9rem); line-height: 1.2; letter-spacing: -.025em; }
.tc-footer__brand-tagline { max-width: 310px; margin: 0 0 22px; color: rgba(255,255,255,.82); font-size: .9rem; }
.tc-footer h2 { margin: 0 0 16px; color: #fff; font-size: 1rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.tc-footer h3 { margin: 0 0 12px; color: #fff; font-size: .82rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.tc-footer p { color: rgba(255,255,255,.88); font-size: .9rem; line-height: 1.55; }
.tc-footer a { color: rgba(255,255,255,.94); text-decoration: none; }
.tc-footer a:hover { color: #d8e8c3; }
.tc-footer-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 18px; margin: 0; padding: 0; list-style: none; }
.tc-footer-menu li { min-width: 0; margin: 0; }
.tc-footer-menu a { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; font-size: .88rem; line-height: 1.35; }
.tc-footer-menu__icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: #d5e7d6; }
.tc-footer__contact-item { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; overflow-wrap: anywhere; }
.tc-footer__contact-icon { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; align-items: center; justify-content: center; color: #d5e7d6; }
.tc-footer__contact-icon svg { display: block; width: 20px; height: 20px; }
.tc-footer__newsletter-description { max-width: 360px; margin: -3px 0 16px; }
.tc-footer__newsletter form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.tc-footer__newsletter input[type="email"] { min-width: 0; width: 100%; min-height: 48px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.72); border-radius: 9px; background: #fff; color: #123343; font-size: .9rem; }
.tc-button--footer { width: auto; min-width: 116px; min-height: 48px; padding-inline: 18px; border: 1px solid #d5e7c3; border-radius: 9px; background: #d5e7c3; color: #123343 !important; font-weight: 700; }
.tc-button--footer:hover { background: #fff; border-color: #fff; color: #123343 !important; }
.tc-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.76); font-size: .78rem; text-align: left; }
.tc-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.tc-footer__legal a { color: rgba(255,255,255,.9); font-size: .8rem; }

@media (max-width: 980px) {
  .tc-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
  .tc-footer__contact { border-left: 1px solid rgba(255,255,255,.24); padding-left: 24px; }
  .tc-footer__newsletter { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* Keep the original WordPress Site Identity logo crisp on small screens. */
@media (max-width: 767px) {
  .tc-header__inner { min-height: 72px; }
  .tc-brand { flex: 0 1 auto; max-width: calc(100% - 64px); }
  .tc-brand .custom-logo-link { width: min(174px, 100%); max-width: 174px; min-height: 48px; }
  .tc-brand .custom-logo { width: auto; max-width: 174px; max-height: 52px; object-fit: contain; object-position: left center; }
  .tc-brand__mark { display: none; }
  .tc-brand__fallback { gap: 0; }

  /* Force the full-width image to cover the entire banner, including the CTA area. */
  .tc-home-hero.tc-editable-section { padding: 0 !important; }
  .tc-home-hero__banner { position: relative; display: flex; align-items: stretch; min-height: 590px; height: auto; overflow: hidden; background: #123343; }
  .tc-home-hero.tc-editable-section .tc-home-hero__media { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: auto !important; min-height: 0; max-width: none; border-radius: 0; }
  .tc-home-hero.tc-editable-section .tc-home-hero__media .tc-editable-image { position: absolute; inset: 0; display: block; width: 100% !important; max-width: none !important; height: 100% !important; min-height: 100%; object-fit: cover; object-position: center center; }
  .tc-home-hero__veil { z-index: 1; background: linear-gradient(180deg, rgba(11,30,36,.42) 0%, rgba(11,30,36,.52) 48%, rgba(11,30,36,.78) 100%); }
  .tc-home-hero__overlay { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 590px; padding-top: 44px; padding-bottom: 48px; }
  .tc-home-hero__copy { width: 100%; max-width: 540px; padding-inline: 2px; text-align: center; }
  .tc-home-hero__copy h1 { max-width: 100%; margin: 0 auto 18px; font-size: clamp(2rem,8vw,2.75rem) !important; line-height: 1.12; text-wrap: balance; }
  .tc-home-hero__copy p:not(.tc-eyebrow) { max-width: 460px; margin-inline: auto; color: #fff !important; font-size: .98rem; line-height: 1.65; }
  .tc-home-hero__copy .tc-actions { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 12px; width: min(100%, 320px); margin: 24px auto 0; }
  .tc-home-hero__copy .tc-button,
  .tc-home-hero__copy .tc-button--outline { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; padding: 13px 18px; color: #fff !important; background: #2d7896 !important; border: 1px solid #2d7896 !important; border-radius: 8px; text-align: center; font-size: .94rem; font-weight: 700; opacity: 1; visibility: visible; }
  .tc-home-hero__copy .tc-button--outline { background: rgba(18,51,67,.92) !important; border-color: rgba(255,255,255,.9) !important; }

  /* The provider/portrait image is intentionally omitted on the Portuguese mobile layout. */
  .tc-portuguese .tc-pt-provider__grid { grid-template-columns: 1fr !important; }
  .tc-portuguese .tc-pt-provider__grid > figure { display: none !important; }
  .tc-portuguese .tc-pt-provider__grid > div { width: 100%; min-width: 0; }
  .tc-portuguese .tc-pt-journey__grid { grid-template-columns: 1fr !important; }
  .tc-portuguese .tc-pt-journey__grid > div { min-width: 0; }

  /* Compact, balanced footer on phones. */
  .tc-footer { padding: 34px 0 18px; }
  .tc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .tc-footer__contact, .tc-footer__newsletter { border-left: 0; padding-left: 0; }
  .tc-footer__brand-title { max-width: 100%; font-size: 1.55rem; }
  .tc-footer__brand-tagline { margin-bottom: 18px; }
  .tc-footer-menu { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; }
  .tc-footer-menu a { font-size: .9rem; }
  .tc-footer__newsletter form { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .tc-footer__newsletter input[type="email"] { min-height: 46px; padding: 10px 12px; }
  .tc-button--footer { min-width: 104px; min-height: 46px; padding-inline: 13px; }
  .tc-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; padding-top: 16px; }
  .tc-footer__legal { gap: 16px; }
}

/* Version 4.1.4 uses the shared all-device scroll-reveal system below. */

/* Version 4.1.2 — alignment, original brand logo and Portuguese mobile overflow fix. */

/* Header uses the approved original logo bundled with the theme unless an override is selected in Customizer. */
.tc-brand .tc-brand__logo-link {
  display: inline-flex;
  align-items: center;
  width: min(var(--tc-logo-width, 210px), 100%);
  max-width: 100%;
  text-decoration: none;
}
.tc-brand .tc-brand-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

/* Keep the complete homepage message on one shared centre axis. */
.tc-home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px !important;
  margin-inline: auto;
  text-align: center !important;
}
.tc-home-hero__copy .tc-eyebrow {
  width: 100%;
  text-align: center !important;
  margin-inline: auto;
}
.tc-home-hero__copy h1 {
  display: block;
  width: 100%;
  max-width: 1040px !important;
  margin: 0 auto 20px !important;
  text-align: center !important;
  font-size: clamp(2.65rem, 4.5vw, 4.25rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
.tc-home-hero__title-break { display: block; }
.tc-home-hero__copy p:not(.tc-eyebrow) {
  width: 100%;
  max-width: 850px;
  margin: 0 auto !important;
  text-align: center !important;
}
.tc-home-hero__copy .tc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  margin: 28px auto 0 !important;
  gap: 14px;
}
.tc-home-hero__copy .tc-button { margin: 0; }

/* Rebuilt footer: three equal-start columns, a separate icon navigation row, and a clean legal row. */
.tc-footer {
  background: var(--tc-footer-bg, #123343) !important;
  color: var(--tc-footer-text, #f2f6f8);
  padding: 48px 0 22px !important;
}
.tc-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) minmax(0, 1.15fr) !important;
  align-items: start !important;
  gap: clamp(28px, 4vw, 58px) !important;
}
.tc-footer__column {
  display: block;
  align-self: start !important;
  min-width: 0;
  margin: 0;
  padding-top: 0 !important;
}
.tc-footer__brand-title {
  max-width: 340px;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(1.5rem, 2.1vw, 1.85rem) !important;
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}
.tc-footer__brand-tagline {
  max-width: 340px;
  margin: 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-size: .9rem !important;
  line-height: 1.6 !important;
}
.tc-footer__column-title {
  min-height: 22px;
  margin: 0 0 17px !important;
  color: #fff !important;
  font-size: .86rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}
.tc-footer__contact,
.tc-footer__newsletter {
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: clamp(22px, 3vw, 42px) !important;
}
.tc-footer__contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 13px !important;
  line-height: 1.5 !important;
}
.tc-footer__contact-item a { overflow-wrap: anywhere; }
.tc-footer__newsletter-description {
  max-width: 370px;
  margin: 0 0 15px !important;
  line-height: 1.55 !important;
}
.tc-footer__newsletter form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}
.tc-footer__newsletter input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
}
.tc-footer__navigation {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.23);
}
.tc-footer-menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.tc-footer-menu li { min-width: 0; margin: 0 !important; padding: 0 !important; }
.tc-footer-menu a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 30px;
  color: rgba(255,255,255,.94) !important;
  font-size: .9rem !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}
.tc-footer-menu__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #d5e7d6;
}
.tc-footer__bottom {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  margin-top: 20px !important;
  padding-top: 17px !important;
  border-top: 1px solid rgba(255,255,255,.23) !important;
  text-align: left !important;
}
.tc-footer__legal {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px !important;
}

/* Remove the specifically rejected laptop portrait if it remains embedded in an older page or Elementor block. */
img[src*="warm_welcoming_office_portrait"],
img[src*="warm-welcoming-office-portrait"],
[style*="warm_welcoming_office_portrait"],
[style*="warm-welcoming-office-portrait"] {
  display: none !important;
}

/* Phone layout: full-width text and no stretched image or horizontal page scroll on Portuguese journey. */
@media (max-width: 767px) {
  .tc-brand .tc-brand__logo-link {
    width: min(168px, 100%);
    max-width: 168px;
    min-height: 48px;
  }
  .tc-brand .tc-brand-logo {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
  }
  .tc-home-hero__copy {
    width: 100%;
    max-width: 540px !important;
    padding-inline: 0;
  }
  .tc-home-hero__copy h1 {
    width: 100%;
    max-width: 100% !important;
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 17px !important;
    text-align: center !important;
  }
  .tc-home-hero__copy p:not(.tc-eyebrow) {
    max-width: 100%;
    text-align: center !important;
  }
  .tc-home-hero__copy .tc-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    width: min(100%, 320px);
    margin: 22px auto 0 !important;
    gap: 12px;
  }
  .tc-home-hero__copy .tc-button,
  .tc-home-hero__copy .tc-button--outline {
    display: flex !important;
    width: 100% !important;
    min-height: 50px;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    background: #2d7896 !important;
    border: 1px solid #2d7896 !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .tc-home-hero__copy .tc-button--outline {
    color: #fff !important;
    background: rgba(18,51,67,.96) !important;
    border-color: rgba(255,255,255,.92) !important;
  }

  .tc-footer { padding: 34px 0 18px !important; }
  .tc-footer__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  .tc-footer__brand,
  .tc-footer__contact,
  .tc-footer__newsletter {
    width: 100%;
    max-width: none;
    border-left: 0 !important;
    padding: 0 !important;
  }
  .tc-footer__contact,
  .tc-footer__newsletter {
    border-top: 1px solid rgba(255,255,255,.22) !important;
    padding-top: 20px !important;
  }
  .tc-footer__brand-title { max-width: 360px; font-size: 1.55rem !important; }
  .tc-footer__column-title { margin-bottom: 12px !important; }
  .tc-footer__newsletter form {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }
  .tc-footer__navigation {
    margin-top: 24px;
    padding-top: 18px;
  }
  .tc-footer-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px !important;
  }
  .tc-footer-menu a { font-size: .9rem !important; }
  .tc-footer__bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }
  .tc-footer__legal { justify-content: flex-start; gap: 18px !important; }

  .tc-portuguese .tc-pt-journey__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .tc-portuguese .tc-pt-journey__grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
  }
  .tc-portuguese .tc-pt-journey img,
  .tc-portuguese .tc-pt-journey figure,
  .tc-portuguese .tc-pt-journey picture,
  .tc-portuguese .tc-pt-journey .wp-block-image,
  .tc-portuguese .tc-pt-journey .elementor-widget-image,
  .tc-portuguese .tc-pt-journey .tc-editable-image {
    display: none !important;
  }
  .tc-portuguese .tc-pt-journey [style*="background-image"] {
    background-image: none !important;
  }
  .tc-portuguese .tc-pt-journey__grid p {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
  body.page-template-page-portuguese,
  body.page-template-page-portuguese-php,
  .tc-portuguese {
    overflow-x: hidden !important;
  }
}

/* Ensure footer typography overrides the broad footer heading/paragraph defaults. */
.tc-footer h2.tc-footer__brand-title {
  max-width: 340px;
  margin: 0 0 12px !important;
  font-size: clamp(1.5rem, 2.1vw, 1.85rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}
.tc-footer h2.tc-footer__column-title {
  min-height: 22px;
  margin: 0 0 17px !important;
  font-size: .86rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}
.tc-footer p.tc-footer__brand-tagline {
  max-width: 340px;
  margin: 0 !important;
  font-size: .9rem !important;
  line-height: 1.6 !important;
}
.tc-footer p.tc-footer__newsletter-description {
  max-width: 370px;
  margin: 0 0 15px !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
}
.tc-footer p.tc-footer__contact-item { margin: 0 0 13px !important; }


/* Version 4.1.3 — mobile hero banner fully covered by the image area. */
.tc-home-hero__banner {
  background-color: #123343;
  background-image: var(--tc-home-hero-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 767px) {
  .tc-home-hero__banner {
    min-height: 640px !important;
    background-position: center center !important;
  }
  .tc-home-hero__overlay {
    min-height: 640px !important;
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }
  .tc-home-hero__veil {
    background: linear-gradient(180deg, rgba(11,30,36,.30) 0%, rgba(11,30,36,.44) 42%, rgba(11,30,36,.62) 100%) !important;
  }
  .tc-home-hero.tc-editable-section .tc-home-hero__media,
  .tc-home-hero.tc-editable-section .tc-home-hero__media .tc-editable-image {
    height: 100% !important;
    min-height: 100% !important;
  }
  .tc-home-hero__copy {
    max-width: 360px !important;
  }
  .tc-home-hero__copy .tc-actions {
    width: min(100%, 320px) !important;
  }
}

/* Version 4.1.4 — all-device scroll reveal and About introduction alignment. */

/* The About introduction keeps the heading and explanatory copy vertically balanced. */
.tc-about-intro-grid {
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}
.tc-about-intro-grid > div:first-child {
  max-width: 520px;
}
.tc-about-intro-grid > div:last-child {
  max-width: 650px;
}
.tc-about-intro-grid p {
  margin-bottom: 14px;
  line-height: 1.72;
}
.tc-about-intro-grid > div:last-child p:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .tc-about-intro-grid { gap: 28px; }
}
@media (max-width: 767px) {
  .tc-about-intro-grid { gap: 14px !important; align-items: start; }
  .tc-about-intro-grid > div { max-width: none; }
}

/* Reveal targets are hidden only after JavaScript has successfully prepared
   the IntersectionObserver. If JavaScript is unavailable, all content stays visible. */
@media (prefers-reduced-motion: no-preference) {
  html.tc-motion-ready .tc-reveal-target {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--tc-reveal-duration, 850ms);
    transition-delay: var(--tc-reveal-delay, 0ms);
    transition-timing-function: cubic-bezier(.22, .68, 0, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
  }
  html.tc-motion-ready .tc-reveal-target[data-tc-reveal="up"] {
    transform: translate3d(0, var(--tc-reveal-distance, 32px), 0);
  }
  html.tc-motion-ready .tc-reveal-target[data-tc-reveal="left"] {
    transform: translate3d(calc(var(--tc-reveal-distance, 32px) * -1), 0, 0);
  }
  html.tc-motion-ready .tc-reveal-target[data-tc-reveal="right"] {
    transform: translate3d(var(--tc-reveal-distance, 32px), 0, 0);
  }
  html.tc-motion-ready .tc-reveal-target.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tc-reveal-target,
  .tc-reveal-target.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}



/* Version 4.1.5 — About page structure inspired by the reference layout.
   The existing Tavares navy, teal, white and soft-grey palette is preserved. */
.tc-about-intro { padding-top: 46px; padding-bottom: 48px; }
.tc-about-intro .tc-about-intro-grid { align-items: center; }
.tc-about-philosophy { background: var(--tc-soft); }
.tc-about-philosophy-grid { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); }
.tc-about-philosophy-copy { max-width: 620px; }
.tc-about-philosophy-copy h2 { max-width: 560px; }
.tc-about-approach { background: #fff; }
.tc-about-approach .tc-section-heading { max-width: 820px; }
.tc-about-difference-grid { align-items: stretch; }
.tc-about-difference-card { min-height: 190px; padding: 26px 24px 24px; text-align: left; }
.tc-about-difference-card .tc-card-symbol { color: var(--tc-accent); }
.tc-about-mission-vision { background: var(--tc-soft); }
.tc-mission-vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tc-mission-vision-card { min-width: 0; min-height: 210px; text-align: left; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(18, 51, 67, .06); border-radius: var(--tc-radius); background: #fff; box-shadow: 0 3px 14px rgba(18, 51, 67, .035); }
.tc-mission-vision-card__label { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 50%; background: var(--tc-accent); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.tc-mission-vision-card h3 { margin: 0 0 12px; color: var(--tc-navy); font-size: clamp(1.2rem, 2vw, 1.45rem); }
.tc-mission-vision-card p:last-child { margin-bottom: 0; }
.tc-about-values { background: #fff; }
.tc-about-values .tc-info-card { text-align: left; }
.tc-about-cta { text-align: center; }
.tc-about-cta .tc-container { max-width: 900px; }
.tc-about-cta p { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .tc-about-difference-card { min-height: 180px; } .tc-mission-vision-card { min-height: 190px; } }
@media (max-width: 767px) {
  .tc-about-intro { padding-top: 34px; padding-bottom: 38px; }
  .tc-about-philosophy-grid { grid-template-columns: 1fr; }
  .tc-about-photo { aspect-ratio: 4 / 5; }
  .tc-about-difference-grid { grid-template-columns: 1fr; }
  .tc-about-difference-card { min-height: 0; }
  .tc-mission-vision-grid { grid-template-columns: 1fr; gap: 14px; }
  .tc-mission-vision-card { min-height: 0; padding: 24px; }
}

.tc-editable-section .tc-mission-vision-card { background: var(--tc-section-card-bg, #fff); }

/* Portuguese care journey: each generated image is paired with its matching step. */
.tc-pt-care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 30px; align-items: stretch; }
.tc-pt-care-card { min-width: 0; overflow: hidden; border: 1px solid rgba(18, 51, 67, .06); border-radius: var(--tc-radius); background: var(--tc-section-card-bg, #fff); box-shadow: 0 3px 14px rgba(18, 51, 67, .035); }
.tc-pt-care-card__image { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 !important; background: var(--tc-soft); }
.tc-pt-care-card__image .tc-editable-image { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tc-pt-care-card__copy { padding: 22px 22px 24px; text-align: left; }
.tc-pt-care-card__copy > span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: var(--tc-accent); color: #fff; font-size: .84rem; font-weight: 700; }
.tc-pt-care-card__copy h3 { margin: 0 0 9px; color: var(--tc-navy); font-size: 1.12rem; }
.tc-pt-care-card__copy p { margin: 0; line-height: 1.6; }
@media (max-width: 767px) { .tc-pt-care-grid { grid-template-columns: 1fr; gap: 16px; margin: 26px 0; } .tc-pt-care-card__copy { padding: 20px; } }
