/*
Theme Name: Temp Review Editable
Theme URI: https://www.tempreview.com/
Author: Temp Review
Description: Custom single-page Temp Review theme with owner-editable content settings in the WordPress dashboard.
Version: 1.2.0
Text Domain: tempreview
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --tr-ink: #0b2034;
  --tr-ink-2: #22384b;
  --tr-muted: #5f7384;
  --tr-line: #d7e2e9;
  --tr-deep: #0b2132;
  --tr-blue: #17344a;
  --tr-pale: #eef5f9;
  --tr-white: #ffffff;
  --tr-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--tr-ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.tr-wrap { width: min(var(--tr-max), calc(100% - 108px)); margin-inline: auto; }

/* HEADER */
.tr-header {
  height: 82px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(11,32,52,.07);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}
.tr-header-inner { display: flex; align-items: center; }
.tr-brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.035em;
  color: #0a1b2c;
}
.tr-header-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-left: auto; padding: 13px 20px; border-radius: 8px;
  background: #102b43; color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(11,32,52,.15);
  transition: transform .2s ease, background .2s ease;
}
.tr-header-cta:hover { transform: translateY(-1px); background: #173a55; }
.tr-cta-short { display:none; }


/* HERO */
.tr-hero { background: #fff; overflow: hidden; }
.tr-hero-inner {
  min-height: 539px;
  display: grid;
  grid-template-columns: 39% 61%;
}
.tr-hero-copy {
  padding: 46px 42px 38px 0;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 4;
}
.tr-kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  color: #5c778a;
  font-size: 9px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
}
.tr-kicker::after { content: ""; width: 47px; height: 1px; background: #8da1af; }
.tr-hero h1 {
  margin: 0 0 17px;
  font-family: "DM Serif Display", Georgia, serif;
  color: #081c30;
  font-size: clamp(55px, 5.9vw, 74px);
  line-height: .91;
  letter-spacing: -.035em;
  font-weight: 400;
}
.tr-hero-sub {
  max-width: 385px;
  margin: 0 0 18px;
  font-family: "DM Serif Display", Georgia, serif;
  color: #193147;
  font-size: 24px;
  line-height: 1.08;
}
.tr-hero-copy p {
  max-width: 420px;
  margin: 0 0 23px;
  color: #43596a;
  font-size: 13px;
  line-height: 1.55;
}
.tr-btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  width: fit-content;
  padding: 13px 22px;
  border-radius: 7px;
  background: #102d46;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(16,45,70,.14);
  transition: transform .2s ease, background .2s ease;
}
.tr-btn-dark:hover { transform: translateY(-2px); background: #173b58; }
.tr-arrow { font-size: 17px; font-weight: 400; line-height: 1; }
.tr-keywords {
  width: 100%;
  margin-top: 31px;
  padding-top: 14px;
  border-top: 1px solid #dbe4ea;
  color: #688093;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .35em;
}
.tr-hero-photo {
  position: relative;
  min-height: 539px;
  margin-right: calc((100vw - min(var(--tr-max), calc(100% - 108px))) / -2);
  overflow: hidden;
  background: #dfe7ec;
}
.tr-hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.tr-hero-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.90) 4%,rgba(255,255,255,.20) 14%,rgba(255,255,255,0) 26%,rgba(8,26,40,.08) 100%);
  pointer-events: none;
}
.tr-photo-note {
  position: absolute; z-index: 3;
  right: 40px; top: 49px;
  color: rgba(255,255,255,.91);
  font-size: 8px; line-height: 2.35; letter-spacing: .42em; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,.23);
}
.tr-photo-note::after { content:""; display:block; width:40px; height:1px; margin-top:10px; background:rgba(255,255,255,.58); }

/* ABOUT */
.tr-about {
  position: relative;
  padding: 55px 0 58px;
  background: linear-gradient(105deg,#e8f1f6 0%,#f6f9fb 45%,#fff 78%);
  overflow: hidden;
}
.tr-about::before,
.tr-about::after {
  content:""; position:absolute; border-radius:50%; pointer-events:none;
  border: 1px solid rgba(255,255,255,.72);
}
.tr-about::before { width: 500px; height: 500px; left:-280px; top:-330px; box-shadow: 0 0 0 42px rgba(255,255,255,.11), 0 0 0 84px rgba(255,255,255,.07); }
.tr-about::after { width: 315px; height: 315px; left:-135px; top:-155px; }
.tr-about-grid { display:grid; grid-template-columns: 47% 53%; align-items:center; position:relative; z-index:2; }
.tr-section-label {
  color:#5b7488; font-size:8px; font-weight:700; letter-spacing:.34em; text-transform:uppercase;
  margin-bottom:13px;
}
.tr-about h2,
.tr-services h2,
.tr-cta h2 {
  font-family:"DM Serif Display", Georgia, serif;
  font-weight:400;
  letter-spacing:-.025em;
}
.tr-about h2 { margin:0; color:#0c2033; font-size:45px; line-height:1.03; }
.tr-about-copy {
  border-left:1px solid #c7d5df;
  padding: 9px 0 9px 46px;
  color:#354c5f;
  font-size:14px; line-height:1.55;
}

/* SERVICES */
.tr-services { padding: 38px 0 48px; text-align:center; background:#fff; }
.tr-services .tr-section-label { display:flex; align-items:center; justify-content:center; gap:13px; margin-bottom:15px; }
.tr-services .tr-section-label::after { content:""; width:40px; height:1px; background:#8da0ae; }
.tr-services h2 { margin:0 0 4px; color:#0b2034; font-size:38px; line-height:1.04; }
.tr-services-lead { margin:0 0 19px; color:#1f3548; font-family:"DM Serif Display", Georgia, serif; font-size:17px; }
.tr-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; text-align:left; }
.tr-card {
  min-height:194px;
  padding:18px 20px 20px;
  border:1px solid #dde6eb;
  border-radius:9px;
  background:linear-gradient(150deg,#fff,#fafcfd);
  box-shadow:0 6px 18px rgba(18,44,63,.035);
}
.tr-icon {
  width:43px; height:43px; border-radius:50%;
  display:grid; place-items:center;
  background:#e5f0f7; color:#112b41; margin-bottom:10px;
}
.tr-icon svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.7; }
.tr-card h3 {
  margin:0 0 7px;
  font-family:"DM Serif Display", Georgia, serif;
  color:#0c2033;
  font-size:21px; line-height:1.08; font-weight:400;
}
.tr-card p { margin:0; color:#536778; font-size:12px; line-height:1.45; }

/* CTA */
.tr-cta {
  position:relative;
  min-height:228px;
  background:#0c2132;
  color:#fff;
  overflow:hidden;
}
.tr-cta::after {
  content:"";
  position:absolute; inset:0 0 0 48%;
  background: linear-gradient(90deg,#0c2132 0%,rgba(12,33,50,.72) 14%,rgba(12,33,50,.16) 52%,rgba(12,33,50,.06) 100%),
              var(--tr-cta-image) center/cover no-repeat;
  z-index:1;
}
.tr-cta-inner { min-height:228px; display:flex; align-items:center; position:relative; z-index:2; }
.tr-cta-copy { width:56%; padding:24px 0 26px; }
.tr-cta .tr-section-label { color:#b4c3ce; margin-bottom:14px; display:flex; align-items:center; gap:13px; }
.tr-cta .tr-section-label::after { content:""; width:43px; height:1px; background:rgba(255,255,255,.48); }
.tr-cta h2 { margin:0 0 9px; color:#fff; font-size:35px; line-height:1.05; }
.tr-cta p { max-width:520px; margin:0 0 15px; color:#d7e0e6; font-size:13px; line-height:1.45; }
.tr-btn-light {
  display:inline-flex; align-items:center; justify-content:center; gap:14px;
  padding:12px 20px; border-radius:7px;
  background:#fff; color:#0d2639; font-size:12px; font-weight:700;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  transition:transform .2s ease;
}
.tr-btn-light:hover { transform:translateY(-2px); }

/* FOOTER */
.tr-footer { height:62px; display:flex; align-items:center; background:#fff; }
.tr-footer-inner { display:flex; align-items:center; gap:23px; }
.tr-footer-brand { font-family:"DM Serif Display",Georgia,serif; font-size:18px; color:#0d2133; }
.tr-footer-rule { width:1px; height:24px; background:#aeb9c1; }
.tr-footer-line { font-size:8px; font-weight:700; color:#607586; letter-spacing:.29em; text-transform:uppercase; }
.tr-copy { margin-left:auto; font-size:8px; color:#70818e; }

@media (max-width: 900px) {
  .tr-wrap { width:min(100% - 34px, 760px); }
  .tr-header { height:72px; }
  .tr-brand { font-size:32px; }
  .tr-header-cta { padding:11px 14px; font-size:10.5px; }
  .tr-hero-inner { grid-template-columns:1fr; }
  .tr-hero-copy { padding:54px 0 40px; }
  .tr-hero h1 { font-size:58px; }
  .tr-hero-sub { font-size:24px; max-width:520px; }
  .tr-hero-copy p { max-width:600px; font-size:14px; }
  .tr-hero-photo { min-height:470px; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
  .tr-about-grid { grid-template-columns:1fr; gap:28px; }
  .tr-about-copy { border-left:0; border-top:1px solid #c7d5df; padding:25px 0 0; }
  .tr-cards { grid-template-columns:1fr; }
  .tr-card { min-height:unset; }
  .tr-cta::after { inset:0; opacity:.32; }
  .tr-cta-copy { width:100%; }
  .tr-footer { height:auto; padding:24px 0; }
  .tr-footer-inner { flex-wrap:wrap; }
  .tr-copy { width:100%; margin-left:0; }
}

@media (max-width: 520px) {
  .tr-cta-full { display:none; }
  .tr-cta-short { display:inline; }
  .tr-wrap { width:calc(100% - 30px); }
  .tr-header-cta { font-size:9.5px; padding:10px 12px; }
  .tr-hero-copy { padding-top:45px; }
  .tr-hero h1 { font-size:49px; }
  .tr-hero-sub { font-size:22px; }
  .tr-btn-dark, .tr-btn-light { width:100%; }
  .tr-about { padding:48px 0; }
  .tr-about h2 { font-size:39px; }
  .tr-services h2 { font-size:34px; }
  .tr-cta h2 { font-size:32px; }
  .tr-footer-line, .tr-footer-rule { display:none; }
}
