:root{
  --bg:#ffffff;
  --ink:#0b1220;
  --muted:#4b5563;

  --soft:#f6f7fb;
  --line:rgba(11,18,32,.10);

  --red:#d11414;
  --red2:#b90f0f;

  --radius:22px;
  --radius2:16px;

  --shadow: 0 18px 60px rgba(16,24,40,.12);
  --shadow2: 0 10px 26px rgba(16,24,40,.10);

  --ease: cubic-bezier(.2,.85,.2,1);
  --ease2: cubic-bezier(.16,1,.3,1);

  --header-offset: 0px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x:hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ text-decoration:none; color:inherit; }
.material-symbols-rounded{
  font-variation-settings:"FILL" 0,"wght" 650,"GRAD" 0,"opsz" 40;
}

.tp-wrap{
  width: min(1180px, calc(100% - 32px));
  margin-inline:auto;
}

.tp-page{
  background: #fff;
}

/* HERO */
.tp-hero{
  padding: calc(42px + var(--header-offset)) 0 38px;
  background: #fff;
  position: relative;
}
.tp-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(209,20,20,.08), transparent 60%),
    radial-gradient(900px 420px at 80% 15%, rgba(11,18,32,.06), transparent 60%);
  pointer-events:none;
  opacity:.9;
}

.tp-heroGrid{
  position:relative;
  display:grid;
  gap: 18px;
  align-items:center;
}
@media (min-width: 980px){
  .tp-heroGrid{
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
  }
}

.tp-chipRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom: 10px;
}
.tp-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(16,24,40,.06);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.tp-dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(209,20,20,.10);
}
.tp-chipSoft{ opacity: .92; }
.tp-chipHard{
  background: rgba(209,20,20,.08);
  border-color: rgba(209,20,20,.22);
}

.tp-h1{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(34px, 4.5vw, 66px);
}
.tp-h1 span{
  display:block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.65;
}

.tp-lead{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.95;
  max-width: 66ch;
}

.tp-ctaRow{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}
.tp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 950;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  white-space: nowrap;
  user-select:none;
}
.tp-btn:hover{ transform: translateY(-2px); }
.tp-btnPrimary{
  background: linear-gradient(180deg, var(--red), var(--red2));
  border-color: rgba(0,0,0,.06);
  color:#fff;
  box-shadow: 0 14px 34px rgba(209,20,20,.22);
}
.tp-btnPrimary:hover{ filter: brightness(1.03); }
.tp-btnGhost{
  background:#fff;
  box-shadow: 0 10px 26px rgba(16,24,40,.10);
}
.tp-btnGhost:hover{ box-shadow: 0 14px 34px rgba(16,24,40,.14); }

/* micro items */
.tp-micro{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px){
  .tp-micro{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.tp-microItem{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: var(--radius2);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.tp-microItem strong{ display:block; font-weight: 950; }
.tp-microItem small{ display:block; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.tp-microItem .material-symbols-rounded{ color: var(--red); font-size: 20px; margin-top: 2px; }

/* Photo panel */
.tp-photo{
  position:relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 16px;
  transform-style: preserve-3d;
}
.tp-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 18%, rgba(209,20,20,.12), transparent 40%),
    radial-gradient(circle at 78% 22%, rgba(11,18,32,.08), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(11,18,32,.06), transparent 52%);
  opacity:.55;
  pointer-events:none;
}
.tp-photoTop{
  position:relative;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  z-index:2;
  margin-bottom: 8px;
}
.tp-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow: 0 8px 18px rgba(16,24,40,.08);
  font-weight: 950;
}
.tp-badgeSoft{ background: rgba(11,18,32,.04); }

.tp-photoImg{
  position:relative;
  z-index:2;
  width:100%;
  height: clamp(260px, 34vw, 460px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 40px rgba(16,24,40,.22));
  transform: translate3d(0, 8px, 0);
  transition: transform .25s var(--ease2);
  will-change: transform;
}

.tp-photoBottom{
  position:relative;
  z-index:2;
  margin-top: 4px;
}
.tp-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tp-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-weight: 900;
  color: #111827;
  box-shadow: 0 8px 18px rgba(16,24,40,.08);
}
.tp-pill .material-symbols-rounded{ color: var(--red); font-size: 18px; }

.tp-note{
  margin-top: 12px;
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: var(--radius2);
  background: rgba(209,20,20,.06);
  border: 1px solid rgba(209,20,20,.16);
  color: #111827;
  font-weight: 850;
}
.tp-note .material-symbols-rounded{ color: var(--red); }

/* Sections */
.tp-section{
  padding: 86px 0;
  background:#fff;
}
.tp-sectionAlt{
  background: var(--soft);
}

.tp-head{
  display:grid;
  gap:12px;
  margin-bottom: 18px;
}
.tp-eyebrow{
  margin:0;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--red);
}
.tp-h2{
  margin:0;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.9vw, 42px);
}
.tp-text{
  margin:0;
  color: var(--muted);
  line-height: 1.95;
  max-width: 82ch;
}

.tp-split{
  display:grid;
  gap: 18px;
}
@media (min-width: 980px){
  .tp-split{ grid-template-columns: 1fr 1fr; gap: 30px; }
}

.tp-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.tp-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: var(--radius2);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  font-weight: 850;
  line-height: 1.7;
}
.tp-list .material-symbols-rounded{
  color: var(--red);
  font-size: 20px;
  margin-top: 2px;
}

.tp-miniCta{ margin-top: 14px; }

.tp-steps{ display:grid; gap: 10px; }
.tp-step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: var(--radius2);
  background:#fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.tp-n{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color:#fff;
  background: linear-gradient(180deg, var(--red), var(--red2));
}
.tp-step strong{ display:block; font-weight: 950; }
.tp-step p{ margin: 6px 0 0; color: var(--muted); line-height: 1.8; }

.tp-divider{
  height: 1px;
  margin-top: 36px;
  background: linear-gradient(90deg, transparent, rgba(11,18,32,.14), transparent);
}

/* FAQ */
.tp-faq{
  display:grid;
  gap: 12px;
}
@media (min-width: 980px){
  .tp-faq{ grid-template-columns: 1fr 1fr; }
}
.tp-q{
  border-radius: var(--radius2);
  background:#fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.tp-q summary{
  cursor:pointer;
  list-style:none;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight: 950;
}
.tp-q summary::-webkit-details-marker{ display:none; }
.tp-q summary .material-symbols-rounded{ opacity:.7; transition: transform .18s var(--ease); }
.tp-q[open] summary .material-symbols-rounded{ transform: rotate(180deg); }
.tp-a{
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.95;
}

/* Contact (solid, clean) */
.tp-contact{
  padding: 90px 0;
  background: #0b1220;
  color:#fff;
}
.tp-contactGrid{
  display:grid;
  gap: 16px;
}
@media (min-width: 980px){
  .tp-contactGrid{ grid-template-columns: .9fr 1.1fr; gap: 22px; }
}

.tp-eyebrowLight{ color: rgba(255,255,255,.86); }
.tp-h2Light{ color:#fff; }
.tp-textLight{ color: rgba(255,255,255,.72); }

.tp-contactLeft{
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}

.tp-links{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.tp-links a{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}

.tp-form{
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  display:grid;
  gap: 12px;
}
.tp-form label{
  display:grid;
  gap: 8px;
  font-weight: 900;
  color: rgba(255,255,255,.86);
}
.tp-form input,
.tp-form textarea{
  width:100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}
.tp-form input:focus,
.tp-form textarea:focus{
  border-color: rgba(209,20,20,.70);
  box-shadow: 0 0 0 4px rgba(209,20,20,.16);
}
.tp-formRow{
  display:grid;
  gap: 12px;
}
@media (min-width: 720px){
  .tp-formRow{ grid-template-columns: 1fr 1fr; }
}
.tp-full{ grid-column: 1 / -1; }

.tp-btnFull{ width:100%; }
.tp-small{
  margin: 8px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile alignment */
@media (max-width: 560px){
  .tp-wrap{ width: min(1180px, calc(100% - 20px)); }
  .tp-ctaRow{ flex-direction: column; }
  .tp-btn{ width:100%; }
  .tp-photo{ padding: 14px; }
  .tp-photoTop{ justify-content: flex-start; }
}

/* ===== Advanced reveal animations ===== */
.tp-reveal{
  opacity:0;
  filter: blur(12px);
  transform: translate3d(0, 18px, 0) scale(.985);
  transition:
    opacity .75s var(--ease2),
    transform .75s var(--ease2),
    filter .75s var(--ease2);
  will-change: transform, opacity, filter;
}
.tp-reveal[data-tp="left"]{ transform: translate3d(-26px, 0, 0) rotate(-.35deg) scale(.985); }
.tp-reveal[data-tp="right"]{ transform: translate3d(26px, 0, 0) rotate(.35deg) scale(.985); }
.tp-reveal[data-tp="up"]{ transform: translate3d(0, 22px, 0) scale(.985); }
.tp-reveal[data-tp="down"]{ transform: translate3d(0, -22px, 0) scale(.985); }

.tp-in{
  opacity:1 !important;
  transform: translate3d(0,0,0) rotate(0) scale(1) !important;
  filter: blur(0) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .tp-reveal{
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
  }
  .tp-btn{ transition:none !important; }
}
/* ================================
   Desktop: make photo block tighter
   Target: image area ~ 380 x 260
   Mobile stays unchanged
================================ */
@media (min-width: 980px) {
  /* keep the whole right side from stretching too wide */
  .tp-right {
    justify-self: end;
    width: 420px;            /* total panel width (chips + padding) */
    max-width: 420px;
  }

  /* tighter panel size */
  .tp-photo {
    width: 420px;
    padding: 14px;
  }

  /* lock the photo area to 380 x 260 */
  .tp-photoImg {
    width: 380px;
    height: 260px;
    max-width: 380px;
    margin: 8px auto 0;      /* center it inside the panel */
    object-fit: cover;       /* fills area nicely */
    object-position: center; /* adjust if needed: center bottom */
    border-radius: 16px;     /* looks premium */
    transform: translate3d(0, 0, 0); /* stops extra vertical offsets on desktop */
  }

  /* make the top badges align nicely in the smaller panel */
  .tp-photoTop {
    margin-bottom: 10px;
  }

  /* pills wrap nicer in smaller width */
  .tp-pills {
    margin-top: 10px;
    gap: 8px;
  }
}
