:root {
  --ctm-navy: #06355e;
  --ctm-blue: #0698d5;
  --ctm-green: #099530;
  --ctm-yellow: #f8bf00;
  --ctm-terra: #9c351f;
  --ctm-ink: #12365f;
  --ctm-muted: #53606e;
  --ctm-line: #e4e9ed;
  --ctm-surface: #f9fafb;
  --ctm-radius: 24px;
  --ctm-shadow: 0 13px 30px rgba(11, 46, 77, .09);
  --ctm-font: "Arial", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ctm-site { margin: 0; color: var(--ctm-muted); background: #fff; font-family: var(--ctm-font); line-height: 1.55; }
body.ctm-site a { color: inherit; text-decoration: none; }
body.ctm-site img { display: block; max-width: 100%; height: auto; }
body.ctm-site h1, body.ctm-site h2, body.ctm-site h3, body.ctm-site p { margin-top: 0; }
.ctm-container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.ctm-section { padding: 76px 0; }

.ctm-topbar { color: #fff; background: var(--ctm-navy); font-size: 13px; }
.ctm-topbar__inside { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ctm-topbar__inside > div { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.ctm-topbar__inside a { color: #fff; }
.ctm-header { background: #fff; box-shadow: 0 1px 0 rgba(13, 35, 55, .05); position: relative; z-index: 10; }
.ctm-header__inside { min-height: 122px; display: flex; align-items: center; gap: 24px; }
.ctm-brand { flex: 0 0 132px; }
.ctm-brand__logo { width: 104px; height: auto; }
.ctm-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); flex: 1; }
.ctm-nav a { color: #2c3844; font-size: 13px; font-weight: 600; padding: 12px 0 10px; position: relative; white-space: nowrap; }
.ctm-nav a.is-active, .ctm-nav a:hover { color: var(--ctm-blue); }
.ctm-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 99px; background: var(--ctm-blue); }
.ctm-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; color: #fff !important; border: 0; border-radius: 10px; background: var(--ctm-blue); box-shadow: 0 5px 13px rgba(6, 152, 213, .2); font: 700 13px var(--ctm-font); cursor: pointer; transition: transform .2s ease, background .2s ease; text-align: center; }
.ctm-button:hover { transform: translateY(-1px); background: #057db3; }
.ctm-button--header { flex: 0 0 auto; white-space: nowrap; }
.ctm-button--outline { margin-top: 13px; color: var(--ctm-blue) !important; background: #fff; border: 2px solid var(--ctm-blue); box-shadow: none; }
.ctm-button--outline:hover { color: #fff !important; background: var(--ctm-blue); }

.ctm-hero { padding: 56px 0 72px; background: linear-gradient(105deg, #fff 0%, #fbfbfa 58%, #f6f6f3 100%); }
.ctm-hero__grid { display: grid; grid-template-columns: minmax(290px, .79fr) minmax(420px, 1.28fr); align-items: center; gap: clamp(34px, 7vw, 96px); }
.ctm-hero__copy { max-width: 430px; }
.ctm-eyebrow { width: 70px; height: 4px; margin: 0 0 23px; border-radius: 99px; background: var(--ctm-terra); }
.ctm-kicker { margin-bottom: 6px; color: var(--ctm-blue); font-size: 16px; font-weight: 700; }
.ctm-hero h1 { margin-bottom: 2px; color: var(--ctm-navy); font-size: clamp(38px, 4vw, 57px); line-height: 1.05; letter-spacing: -1.5px; }
.ctm-hero__accent { margin-bottom: 17px; color: var(--ctm-terra); font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.08; }
.ctm-hero__copy > p:not(.ctm-hero__accent):not(.ctm-kicker) { max-width: 360px; font-size: 15px; }
.ctm-photo-frame { overflow: hidden; border-radius: var(--ctm-radius); background: #e9edf0; box-shadow: var(--ctm-shadow); }
.ctm-photo-frame img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.ctm-hero__photo { min-height: 420px; }
.ctm-hero__photo img { min-height: 420px; }
.ctm-hero--interior .ctm-hero__copy { max-width: 470px; }

.ctm-intro { padding: 45px 0; }
.ctm-intro__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.ctm-intro article { display: flex; gap: 20px; padding: 20px 58px 20px 42px; border-right: 1px solid var(--ctm-line); }
.ctm-intro article:last-child { border-right: 0; padding-right: 20px; }
.ctm-intro h2 { margin: 3px 0 7px; color: var(--ctm-navy); font-size: 20px; }
.ctm-intro p { margin-bottom: 0; font-size: 14px; }
.ctm-icon { flex: 0 0 68px; width: 68px; height: 68px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--ctm-blue); box-shadow: inset 0 -6px 15px rgba(0, 0, 0, .08); font-size: 32px; font-weight: 400; line-height: 1; }
.ctm-icon--green { background: var(--ctm-green); }
.ctm-icon--yellow { background: var(--ctm-yellow); }
.ctm-icon--terra { background: var(--ctm-terra); }

.ctm-focus { background: linear-gradient(125deg, #fff 15%, #faf9f7 100%); }
.ctm-section-title { max-width: 790px; margin: 0 auto 46px; text-align: center; }
.ctm-section-title--left { margin-left: 0; text-align: left; }
.ctm-section-title h2, .ctm-split h2, .ctm-network h2, .ctm-contact h2, .ctm-mobile-phones h2 { margin-bottom: 8px; color: var(--ctm-navy); font-size: clamp(27px, 3vw, 34px); line-height: 1.15; letter-spacing: -.6px; }
.ctm-section-title span { display: block; width: 54px; height: 4px; margin: 14px auto 18px; background: var(--ctm-terra); border-radius: 99px; }
.ctm-section-title--left span { margin-left: 0; }
.ctm-section-title p { margin: 0; font-size: 15px; }
.ctm-focus__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.ctm-focus__grid article { padding: 0 5px; }
.ctm-focus__grid .ctm-icon { margin-bottom: 13px; }
.ctm-focus__grid h3 { margin: 0 0 6px; color: var(--ctm-navy); font-size: 15px; }
.ctm-focus__grid p { margin: 0; font-size: 12px; line-height: 1.45; }
.ctm-yellow-cta { padding: 28px 0; color: var(--ctm-navy); background: var(--ctm-yellow); font-size: clamp(24px, 3vw, 35px); font-weight: 800; letter-spacing: -.6px; text-align: center; }

.ctm-gallery-preview { padding-bottom: 68px; }
.ctm-gallery-grid { display: grid; gap: 23px; }
.ctm-gallery-grid--three { grid-template-columns: repeat(3, 1fr); }
.ctm-gallery-grid figure { margin: 0; }
.ctm-gallery-grid img { width: 100%; aspect-ratio: 1.1 / 1; border-radius: 13px; object-fit: cover; }
.ctm-gallery-grid figcaption { padding-top: 8px; color: var(--ctm-navy); font-size: 13px; font-weight: 700; text-align: center; }
.ctm-network { position: relative; overflow: hidden; background-color: #fff; background-image: radial-gradient(circle at 8% 30%, rgba(6, 152, 213, .23) 0 3px, transparent 4px), radial-gradient(circle at 89% 65%, rgba(6, 152, 213, .23) 0 3px, transparent 4px), linear-gradient(135deg, transparent 49.6%, rgba(6, 152, 213, .12) 49.8%, rgba(6, 152, 213, .12) 50.2%, transparent 50.4%); background-size: 140px 140px, 170px 170px, 80px 80px; }
.ctm-network__grid { display: grid; grid-template-columns: 110px minmax(0, 540px); align-items: center; justify-content: center; gap: 30px; }
.ctm-network .ctm-icon { width: 94px; height: 94px; flex-basis: 94px; font-size: 44px; }
.ctm-network p { margin: 0; max-width: 470px; font-size: 14px; }

.ctm-contact { padding-top: 70px; }
.ctm-contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.ctm-contact__grid > div:first-child { padding-right: 48px; border-right: 1px solid #c9d0d7; }
.ctm-contact p { max-width: 320px; font-size: 14px; }
.ctm-contact__phone { display: flex; align-items: center; gap: 12px; margin-top: 17px; color: var(--ctm-navy) !important; font-size: 17px; font-weight: 800; }
.ctm-contact__phone .ctm-icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 24px; }
.ctm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; padding: 26px; border: 1px solid #e3e6e9; border-radius: 15px; background: #fff; box-shadow: var(--ctm-shadow); }
.ctm-form label { color: #4a555e; font-size: 12px; font-weight: 600; }
.ctm-form input, .ctm-form textarea { width: 100%; display: block; margin-top: 4px; padding: 10px 11px; border: 1px solid #ccd4d9; border-radius: 6px; background: #fff; color: #263847; font: 14px var(--ctm-font); outline-color: var(--ctm-blue); resize: vertical; }
.ctm-form__message { grid-column: 1 / -1; }
.ctm-form .ctm-button { grid-column: 1 / -1; justify-self: center; min-width: 205px; }

.ctm-card-grid { display: grid; gap: 26px; }
.ctm-card-grid--two { grid-template-columns: repeat(2, 1fr); }
.ctm-card-grid--three { grid-template-columns: repeat(3, 1fr); }
.ctm-card { min-height: 208px; padding: 30px; border: 1px solid #e5e8eb; border-radius: 16px; background: #fff; box-shadow: var(--ctm-shadow); }
.ctm-card .ctm-icon { width: 57px; height: 57px; flex-basis: 57px; margin-bottom: 19px; font-size: 26px; }
.ctm-card h3 { margin-bottom: 9px; color: var(--ctm-navy); font-size: 19px; }
.ctm-card p { margin: 0; font-size: 14px; }
.ctm-card--simple { min-height: 192px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ctm-card--simple .ctm-icon { margin-bottom: 18px; color: var(--ctm-blue); background: #fff; border: 3px solid var(--ctm-blue); box-shadow: none; }
.ctm-split { padding-top: 25px; }
.ctm-split__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.ctm-split p { max-width: 360px; font-size: 15px; }
.ctm-split .ctm-photo-frame img { min-height: 350px; }

.ctm-location-intro { max-width: 790px; display: flex; align-items: center; gap: 23px; margin: 0 auto 37px; font-size: 15px; }
.ctm-location-intro p { margin: 0; }
.ctm-location-card { overflow: hidden; border: 1px solid #e6e9eb; border-radius: 17px; background: #fff; box-shadow: var(--ctm-shadow); }
.ctm-location-card img { width: 100%; aspect-ratio: 1.37 / 1; object-fit: cover; }
.ctm-location-card > div { padding: 22px 27px 28px; }
.ctm-location-card h2, .ctm-contact-card h2 { margin-bottom: 12px; color: var(--ctm-navy); font-size: 28px; }
.ctm-location-card p, .ctm-contact-card p { margin: 0 0 13px; font-size: 16px; }
.ctm-location-card a, .ctm-contact-card a { color: var(--ctm-navy); font-size: 18px; font-weight: 800; }
.ctm-mobile-phones { margin: 0; padding: 32px 0; background: #f8fafb; }
.ctm-mobile-phones .ctm-container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 22px; }
.ctm-mobile-phones h2 { margin: 0; font-size: 23px; }
.ctm-mobile-phones a { color: var(--ctm-navy); font-size: 19px; font-weight: 800; white-space: nowrap; }

.ctm-gallery-grid--masonry { grid-template-columns: repeat(3, 1fr); }
.ctm-gallery-grid--masonry figure:nth-child(2) { transform: translateY(34px); }
.ctm-gallery-grid--masonry figure:nth-child(5) { transform: translateY(34px); }
.ctm-gallery-grid--masonry img { aspect-ratio: 1 / .86; }
.ctm-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ctm-team-card { min-height: 265px; padding: 24px 16px; border: 1px solid #e5e8eb; border-radius: 14px; background: #fff; text-align: center; }
.ctm-avatar { width: 118px; height: 118px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border-radius: 50%; color: var(--ctm-navy); background: #e3eef7; font-size: 104px; line-height: 1; overflow: hidden; }
.ctm-team-card h3 { margin-bottom: 10px; color: var(--ctm-navy); font-size: 16px; line-height: 1.2; }
.ctm-team-card p { margin: 0; font-size: 14px; line-height: 1.25; }
.ctm-family { padding-top: 12px; }

.ctm-contact-card { min-height: 220px; padding: 34px; border: 1px solid #e5e8eb; border-radius: 17px; background: #fff; box-shadow: var(--ctm-shadow); }
.ctm-contact-card .ctm-icon { width: 62px; height: 62px; flex-basis: 62px; margin-bottom: 18px; }
.ctm-region { background: linear-gradient(130deg, #fff, #fafcfd); }
.ctm-simple-page { min-height: 60vh; }
.ctm-prose { max-width: 760px; }
.ctm-prose h1 { color: var(--ctm-navy); }

.ctm-footer { padding: 38px 0 16px; color: #fff; background: var(--ctm-navy); }
.ctm-footer__grid { display: grid; grid-template-columns: .9fr .65fr 1.25fr .8fr; gap: 36px; align-items: start; }
.ctm-footer__logo { width: 132px; padding: 7px; border-radius: 12px; background: #fff; }
.ctm-footer h2 { margin-bottom: 12px; color: #fff; font-size: 16px; }
.ctm-footer p, .ctm-footer a { display: block; margin: 0 0 8px; color: rgba(255, 255, 255, .9); font-size: 13px; line-height: 1.45; }
.ctm-footer__bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .9); font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .ctm-header__inside { min-height: 104px; gap: 14px; }
  .ctm-brand { flex-basis: 95px; }
  .ctm-brand__logo { width: 86px; }
  .ctm-nav { gap: 14px; }
  .ctm-nav a { font-size: 12px; }
  .ctm-button--header { padding: 10px 13px; font-size: 12px; }
  .ctm-focus__grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .ctm-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ctm-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .ctm-hero__copy { max-width: 620px; }
  .ctm-hero__photo, .ctm-hero__photo img { min-height: 360px; }
}

@media (max-width: 760px) {
  .ctm-container { width: min(100% - 32px, 1160px); }
  .ctm-section { padding: 53px 0; }
  .ctm-topbar__inside { justify-content: center; min-height: 34px; font-size: 11px; }
  .ctm-topbar__inside > div:last-child { display: none; }
  .ctm-header__inside { min-height: auto; padding: 16px 0; flex-wrap: wrap; justify-content: space-between; }
  .ctm-brand { flex-basis: auto; }
  .ctm-brand__logo { width: 79px; }
  .ctm-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); order: 3; flex-basis: 100%; gap: 2px 8px; padding-top: 8px; }
  .ctm-nav a { padding: 8px 2px; font-size: 11px; line-height: 1.2; text-align: center; white-space: normal; }
  .ctm-button--header { min-height: 39px; padding: 8px 10px; font-size: 11px; }
  .ctm-hero { padding: 42px 0 50px; }
  .ctm-hero__grid, .ctm-contact__grid, .ctm-split__grid { grid-template-columns: 1fr; gap: 32px; }
  .ctm-hero__copy { max-width: none; }
  .ctm-hero__photo, .ctm-hero__photo img { min-height: 260px; }
  .ctm-intro__grid, .ctm-card-grid--two { grid-template-columns: 1fr; }
  .ctm-intro article, .ctm-intro article:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--ctm-line); }
  .ctm-intro article:last-child { border-bottom: 0; }
  .ctm-focus__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .ctm-focus__grid article:last-child { grid-column: 1 / -1; }
  .ctm-gallery-grid--three, .ctm-gallery-grid--masonry, .ctm-card-grid--three { grid-template-columns: 1fr; }
  .ctm-gallery-grid--masonry figure:nth-child(2), .ctm-gallery-grid--masonry figure:nth-child(5) { transform: none; }
  .ctm-gallery-grid img, .ctm-gallery-grid--masonry img { aspect-ratio: 1.45 / 1; }
  .ctm-network__grid { grid-template-columns: 75px 1fr; gap: 20px; }
  .ctm-network .ctm-icon { width: 68px; height: 68px; flex-basis: 68px; font-size: 31px; }
  .ctm-contact__grid > div:first-child { padding-right: 0; border-right: 0; }
  .ctm-form { grid-template-columns: 1fr; padding: 19px; }
  .ctm-form__message, .ctm-form .ctm-button { grid-column: auto; }
  .ctm-location-intro { align-items: flex-start; }
  .ctm-mobile-phones .ctm-container { grid-template-columns: 1fr; gap: 9px; }
  .ctm-team-grid { grid-template-columns: repeat(2, 1fr); }
  .ctm-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}

@media (max-width: 430px) {
  .ctm-hero h1 { font-size: 37px; }
  .ctm-hero__accent { font-size: 29px; }
  .ctm-card { padding: 24px; }
  .ctm-team-grid { grid-template-columns: 1fr; }
  .ctm-footer__grid { grid-template-columns: 1fr; }
}
