:root {
  --tm-ink: #061623;
  --tm-blue: #1678b8;
  --tm-blue-dark: #0d5f96;
  --tm-mist: #eef3f5;
  --tm-line: #cad5da;
  --tm-white: #fbfcfc;
}

.tm-page { background: var(--tm-white); color: var(--tm-ink); overflow: hidden; }
.tm-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.tm-hero { position: relative; min-height: 610px; display: flex; align-items: flex-end; color: #fff; }
.tm-hero__media, .tm-hero__media img, .tm-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.tm-hero__media img { object-fit: cover; }
.tm-hero__shade { background: linear-gradient(90deg, rgba(6,22,35,.9) 0%, rgba(6,22,35,.64) 48%, rgba(6,22,35,.16) 100%); }
.tm-hero__content { position: relative; z-index: 1; max-width: 760px; padding: 120px 0 72px; }
.tm-kicker { display: block; margin-bottom: 18px; color: var(--tm-blue); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.tm-hero .tm-kicker { color: #82c9f3; }
.tm-page h1, .tm-page h2, .tm-page h3 { color: inherit; letter-spacing: -.035em; }
.tm-page h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6.3vw, 92px); line-height: .96; }
.tm-page h2 { margin: 0 0 22px; font-size: clamp(36px, 4.2vw, 66px); line-height: 1.02; }
.tm-page h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 31px); line-height: 1.08; }
.tm-lead { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.88); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tm-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--tm-blue); border-radius: 3px; background: var(--tm-blue); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .25s, background .25s; white-space: nowrap; }
.tm-button:hover { background: var(--tm-blue-dark); transform: translateY(-2px); }
.tm-button--light { border-color: rgba(255,255,255,.65); background: rgba(6,22,35,.28); backdrop-filter: blur(8px); }
.tm-section { padding: 110px 0; }
.tm-section--tight { padding: 72px 0; }
.tm-section--mist { background: var(--tm-mist); }
.tm-section__intro { max-width: 760px; margin-bottom: 52px; }
.tm-section__intro p { max-width: 650px; font-size: 18px; line-height: 1.65; }
.tm-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 7vw, 110px); align-items: center; }
.tm-split--reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.tm-copy p { font-size: 18px; line-height: 1.7; }
.tm-photo { overflow: hidden; border-radius: 4px; background: #dce4e7; }
.tm-photo img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.tm-photo:hover img { transform: scale(1.025); }
.tm-facts { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1px; background: var(--tm-line); }
.tm-fact { padding: 34px; background: var(--tm-white); }
.tm-fact strong { display: block; margin-bottom: 7px; font-size: 21px; }
.tm-fact span, .tm-fact a { color: #52616a; font-size: 16px; line-height: 1.5; }
.tm-services { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.tm-service { padding: 34px; border-left: 4px solid var(--tm-blue); background: #fff; }
.tm-service:nth-child(3n) { grid-column: 1 / -1; }
.tm-service p { margin: 0; color: #52616a; line-height: 1.55; }
.tm-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 34px; margin-top: 28px; }
.tm-list-item { position: relative; padding: 15px 16px 15px 34px; background: #fff; line-height: 1.45; }
.tm-list-item::before { content: ''; position: absolute; left: 15px; top: 22px; width: 8px; height: 8px; background: var(--tm-blue); }
.tm-gallery { display: grid; grid-template-columns: 1.35fr .65fr .8fr; grid-auto-rows: 250px; gap: 14px; }
.tm-gallery figure { margin: 0; overflow: hidden; border-radius: 3px; }
.tm-gallery figure:first-child { grid-row: span 2; }
.tm-gallery figure:nth-child(4) { grid-column: span 2; }
.tm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tm-gallery figure:hover img { transform: scale(1.035); }
.tm-products { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.tm-product { min-height: 310px; padding: 38px; background: #fff; }
.tm-product:first-child { grid-row: span 2; background: var(--tm-ink); color: #fff; }
.tm-product p { color: #52616a; line-height: 1.6; }
.tm-product:first-child p { color: rgba(255,255,255,.72); }
.tm-logo { display: block; width: min(260px, 70%); margin: 0 0 42px; }
.tm-stones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tm-stone { margin: 0; }
.tm-stone img { width: 100%; aspect-ratio: 1 / .75; object-fit: cover; border-radius: 3px; }
.tm-stone figcaption { padding-top: 10px; font-weight: 700; }
.tm-contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; }
.tm-contact-card { padding: 42px; background: var(--tm-ink); color: #fff; }
.tm-contact-card a { color: #fff; }
.tm-contact-card p { margin: 0 0 24px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.6; }
.tm-map { min-height: 500px; z-index: 0; }
.tm-catalog { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px; background: var(--tm-blue); color: #fff; }
.tm-catalog h2 { max-width: 700px; margin: 0; }
.tm-catalog .tm-button { border-color: #fff; background: #fff; color: var(--tm-ink) !important; }
.tm-note { padding: 24px 28px; border-left: 4px solid var(--tm-blue); background: var(--tm-mist); font-size: 16px; line-height: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .tm-section { animation: tmReveal .65s both; animation-timeline: view(); animation-range: entry 0% entry 22%; }
  @keyframes tmReveal { from { opacity: .35; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 850px) {
  .tm-container { width: min(100% - 32px, 1240px); }
  .tm-hero { min-height: 560px; }
  .tm-hero__content { padding: 110px 0 54px; }
  .tm-hero__shade { background: linear-gradient(90deg, rgba(6,22,35,.92), rgba(6,22,35,.45)); }
  .tm-section { padding: 76px 0; }
  .tm-split, .tm-split--reverse, .tm-contact-grid, .tm-products { grid-template-columns: 1fr; }
  .tm-split--reverse .tm-copy { order: -1; }
  .tm-photo img { min-height: 360px; }
  .tm-facts { grid-template-columns: 1fr; }
  .tm-services { grid-template-columns: 1fr; }
  .tm-service:nth-child(3n) { grid-column: auto; }
  .tm-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .tm-gallery figure:first-child { grid-row: span 1; }
  .tm-gallery figure:nth-child(4) { grid-column: span 1; }
  .tm-stones { grid-template-columns: 1fr 1fr; }
  .tm-catalog { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .tm-page h1 { font-size: 46px; }
  .tm-list-grid, .tm-gallery, .tm-stones { grid-template-columns: 1fr; }
  .tm-gallery figure { height: 280px; }
  .tm-contact-card, .tm-product, .tm-catalog { padding: 28px; }
}
