/* Copyright 2026 HomeOne Interiors. All rights reserved. */
.ph-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
}
.ph-bg { position: absolute; inset: 0; z-index: 0; }
.ph-bg-img {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.07);
  animation: phDrift 24s ease-in-out infinite alternate;
}
@keyframes phDrift {
  from { transform: scale(1.07) translate(0, 0); }
  to   { transform: scale(1.07) translate(-2.5%, -1.2%); }
}
.ph-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(108deg,
    rgba(6,13,26,.97) 0%,
    rgba(6,13,26,.9) 38%,
    rgba(6,13,26,.55) 68%,
    rgba(6,13,26,.8) 100%
  );
}
.ph-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,13,26,1) 0%, transparent 45%);
}
.ph-overlay-3 {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 72% 38%, rgba(26,107,218,.14) 0%, transparent 60%);
  animation: phGlowPulse 7s ease-in-out infinite alternate;
}
@keyframes phGlowPulse { from { opacity: .5; } to { opacity: 1; } }
.ph-grain {
  position: absolute; inset: -50%; width: 200%; height: 200%; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025; animation: grain 8s steps(10) infinite;
}
.ph-beam {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(26,107,218,.055) 50%, transparent 70%);
  animation: phBeamMove 12s ease-in-out infinite alternate;
}
@keyframes phBeamMove {
  from { transform: skewX(-6deg) translateX(-10%); opacity: .3; }
  to   { transform: skewX(-6deg) translateX(10%); opacity: 1; }
}
.ph-scan {
  position: absolute; left: 0; right: 0; height: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(26,107,218,.35) 25%,
    rgba(26,107,218,.65) 50%,
    rgba(26,107,218,.35) 75%,
    transparent 100%
  );
  animation: phScanMove 8s linear infinite;
}
@keyframes phScanMove {
  0%   { top: 12%; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}
.ph-ghost-yr {
  position: absolute; right: -4%; bottom: 8%; z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--fh); font-size: clamp(12rem, 28vw, 26rem); font-weight: 700;
  line-height: 1; letter-spacing: -.04em; color: var(--blue); opacity: .045;
  animation: phGhostDrift 20s ease-in-out infinite alternate;
}
@keyframes phGhostDrift {
  from { transform: translate(0, 0) rotate(-1.5deg); }
  to   { transform: translate(-2%, -3%) rotate(-.5deg); }
}
.ph-frame { position: absolute; inset: 24px; z-index: 3; pointer-events: none; }
.ph-corner {
  position: absolute; width: 40px; height: 40px;
  border-color: rgba(26,107,218,.45); border-style: solid;
  transition: width .6s var(--ease), height .6s var(--ease);
}
.ph-hero:hover .ph-corner { width: 56px; height: 56px; }
.ph-corner-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.ph-corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.ph-corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.ph-corner-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.ph-content {
  position: relative; z-index: 5; padding: 80px 0 180px; max-width: 820px;
}
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .36em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 48px;
  opacity: 0; animation: phFadeIn .8s var(--ease) .2s forwards;
}
@keyframes phFadeIn { to { opacity: 1; } }
.ph-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0;
  box-shadow: 0 0 12px rgba(26,107,218,.9), 0 0 24px rgba(26,107,218,.5);
  animation: phDotPulse 2.4s ease-in-out infinite;
}
@keyframes phDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(26,107,218,.7); }
  50%       { transform: scale(1.6); box-shadow: 0 0 22px rgba(26,107,218,1), 0 0 40px rgba(26,107,218,.4); }
}
.ph-h1 {
  font-size: clamp(4.5rem, 11vw, 10rem); font-weight: 700;
  line-height: .92; letter-spacing: -.04em; margin: 0 0 36px;
}
.ph-h1-row { display: block; overflow: hidden; }
.ph-h1-inner {
  display: block; transform: translateY(115%);
  animation: phRowUp .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.ph-h1-row:nth-child(2) .ph-h1-inner { animation-delay: .11s; }
@keyframes phRowUp { to { transform: translateY(0); } }
.ph-h1-blue { color: var(--blue); }
.ph-desc { font-size: 17px; color: var(--mute); line-height: 1.8; max-width: 500px; margin-bottom: 48px; }
.ph-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.ph-ctas .btn-outline {
  border-color: rgba(255,255,255,.45); color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
}
.ph-ctas .btn-outline:hover {
  border-color: rgba(255,255,255,.85); color: var(--white); background: rgba(255,255,255,.16);
}
.ph-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  border-top: 1px solid rgba(26,107,218,.14);
}
.ph-bottom-inner { display: flex; align-items: stretch; }
.ph-bottom-stats {
  display: flex; width: 100%; background: rgba(6,13,26,.55); backdrop-filter: blur(14px);
}
.ph-bstat {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 12px; border-right: 1px solid rgba(26,107,218,.1); text-align: center;
}
.ph-bstat:last-child { border-right: none; }
.ph-bstat strong {
  font-family: var(--fh); font-size: 1.35rem; font-weight: 700; color: var(--white); line-height: 1;
}
.ph-bstat strong em { font-style: normal; color: var(--blue); font-size: .95em; }
.ph-bstat span { font-size: 9.5px; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.ph-scroll-cue {
  position: absolute; bottom: 90px; right: 44px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ph-scroll-line {
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, rgba(26,107,218,.9), transparent);
  animation: phScrollPulse 2.8s ease-in-out infinite;
}
@keyframes phScrollPulse {
  0%, 100% { transform: scaleY(.2); transform-origin: top; opacity: .3; }
  50%       { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
.ph-scroll-label {
  font-size: 9px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(26,107,218,.55); writing-mode: vertical-rl;
}

.tm-rating-band {
  background: var(--bg2); padding: 72px 0; border-bottom: 1px solid var(--line);
}
.tm-rating-inner {
  display: flex; align-items: center; justify-content: center; gap: 80px; flex-wrap: wrap;
}
.tm-rating-big {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.tm-rating-score {
  font-family: var(--fh); font-size: clamp(4rem, 10vw, 7rem); font-weight: 700;
  color: var(--white); line-height: 1; letter-spacing: -.04em;
}
.tm-rating-score em { font-style: normal; color: var(--blue); }
.tm-rating-stars {
  display: flex; gap: 6px;
}
.tm-rating-stars i { color: #f5a623; font-size: 22px; }
.tm-rating-label {
  font-size: 13px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase;
}
.tm-rating-divider {
  width: 1px; height: 80px; background: var(--line); flex-shrink: 0;
}
.tm-rating-counts {
  display: flex; gap: 48px; flex-wrap: wrap;
}
.tm-rating-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.tm-rating-stat strong {
  font-family: var(--fh); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1;
}
.tm-rating-stat span { font-size: 11px; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; }

.tm-vtesti {
  padding: 100px 0; background: var(--bg);
}
.tm-vtesti-hd {
  text-align: center; margin-bottom: 64px;
}
.tm-vtesti-hd h2 em { font-style: normal; color: var(--blue); }
.tm-vtesti-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.tm-google-cta {
  padding: 80px 0; background: var(--bg2); text-align: center; border-top: 1px solid var(--line);
}
.tm-google-cta h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 10px; }
.tm-google-cta h3 em { font-style: normal; color: var(--blue); }
.tm-google-cta p { font-size: 15px; color: var(--mute); max-width: 500px; margin: 0 auto 32px; }
.tm-google-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--blue); color: var(--white);
  border-radius: 6px; font-family: var(--fh); font-size: 15px; font-weight: 600;
  letter-spacing: .04em; text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 4px 24px rgba(26,107,218,.35);
}
.tm-google-btn:hover {
  background: var(--bl); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26,107,218,.55);
}
.tm-google-btn i { font-size: 18px; }

.tm-reviews {
  padding: 100px 0; background: var(--bg2);
}
.tm-reviews-hd {
  text-align: center; margin-bottom: 64px;
}
.tm-reviews-hd h2 em { font-style: normal; color: var(--blue); }
.tm-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.tm-review-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 12px;
  padding: 32px; position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tm-review-card:hover {
  transform: translateY(-4px); border-color: rgba(26,107,218,.35);
}
.tm-review-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 0; background: var(--blue); border-radius: 1px 0 0 1px;
  transition: height .5s var(--ease);
}
.tm-review-card:hover::before { height: 100%; }
.tm-review-stars {
  display: flex; gap: 4px; margin-bottom: 18px;
}
.tm-review-stars i { color: #f5a623; font-size: 14px; }
.tm-review-quote {
  font-size: 15px; color: var(--mute); line-height: 1.8; margin: 0 0 24px;
  quotes: '\201C' '\201D';
}
.tm-review-quote::before { content: open-quote; color: var(--blue); font-size: 1.4em; line-height: 0; vertical-align: -0.35em; }
.tm-review-footer {
  display: flex; align-items: center; gap: 12px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tm-review-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--bg2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.tm-review-avatar i { color: var(--mute); font-size: 16px; }
.tm-review-name {
  display: block; font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.3;
}
.tm-review-loc {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--mute); margin-top: 2px;
}
.tm-review-loc i { color: var(--blue); font-size: 9px; }
.tm-review-platform {
  margin-left: auto; flex-shrink: 0;
}
.tm-review-platform i { color: #4285f4; font-size: 16px; }

.tm-platform {
  padding: 72px 0; background: var(--bg); border-top: 1px solid var(--line);
}
.tm-platform-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.tm-platform-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; background: var(--bg3); border: 1px solid var(--line);
  border-radius: 10px; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tm-platform-badge:hover { border-color: rgba(26,107,218,.35); transform: translateY(-3px); }
.tm-platform-badge-icon { font-size: 24px; }
.tm-platform-badge-info { display: flex; flex-direction: column; gap: 2px; }
.tm-platform-badge-name { font-size: 13px; font-weight: 600; color: var(--white); }
.tm-platform-badge-score { font-size: 11px; color: var(--mute); }
.tm-platform-eyebrow { text-align: center; margin-bottom: 40px; }
.tm-plat-google i { color: #4285f4; }
.tm-plat-houzz i { color: #4db6ac; }
.tm-plat-housing i { color: #ff7043; }
.tm-plat-mb i { color: #f5a623; }

@media (max-width: 1024px) {
  .tm-vtesti-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-rating-divider { display: none; }
}
@media (max-width: 768px) {
  .ph-h1 { font-size: clamp(3.5rem, 14vw, 6rem); }
  .tm-vtesti-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tm-reviews-grid { grid-template-columns: 1fr; }
  .tm-rating-inner { gap: 32px; }
  .tm-rating-counts { gap: 24px; }
}
@media (max-width: 480px) {
  .tm-vtesti-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tm-platform-inner { gap: 16px; }
}
