/* 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: url('/img/faq/faq-hero-bg.webp') 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,.88) 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: phGrain 8s steps(10) infinite;
}
@keyframes phGrain {
  0%, 100% { transform: translate(0, 0); }  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }   30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }   50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); }     70% { transform: translate(0, 15%); }
  80% { transform: translate(3%, 35%); }    90% { transform: translate(-10%, 10%); }
}
.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(10rem, 22vw, 20rem); 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(3.2rem, 8vw, 8rem); font-weight: 700;
  line-height: .94; 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: 520px; 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 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;
}

.ct-form-card {
  background: var(--bg2); border: 1px solid var(--line);
  padding: 48px 44px; position: relative; overflow: hidden;
  transition: box-shadow .4s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.ct-form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: .55;
}
.ct-form-card::after {
  content: ''; pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(26,107,218,.065) 0%, transparent 60%);
}
.ct-form-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(26,107,218,.22); }
.ct-form-hd { margin-bottom: 32px; }
.ct-form-hd h3 {
  font-family: var(--fh); font-size: 1.45rem; font-weight: 700;
  color: var(--white); margin: 0 0 8px; letter-spacing: -.02em;
}
.ct-form-hd p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.55; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(6,13,26,.9); border: 1px solid rgba(26,107,218,.2); border-radius: 4px;
  padding: 13px 15px; font-family: var(--fb); font-size: 14px; color: var(--white);
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.ct-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M5 6L0 0h10z' fill='%231a6bda' opacity='.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 36px; cursor: pointer;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: rgba(255,255,255,.2); }
.ct-field select option { background: var(--bg2); color: var(--white); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: rgba(26,107,218,.7); background: rgba(6,13,26,1);
  box-shadow: 0 0 0 3px rgba(26,107,218,.14), 0 0 16px rgba(26,107,218,.06);
}
.ct-form-submit { width: 100%; margin-top: 6px; justify-content: center; gap: 10px; font-size: 14px; }
.ct-form-note { font-size: 11px; color: rgba(255,255,255,.26); text-align: center; margin: 2px 0 0; }
.ct-form .field-validation-valid { display: none; }
.ct-form .field-validation-error {
  display: block; font-size: 11px; color: #ff5f5f; margin-top: 5px; line-height: 1.4;
}

.fq-faq .faq-item { border-top: 1px solid var(--line); transition: border-color .3s; }
.fq-faq .faq-item:last-child { border-bottom: 1px solid var(--line); }
.fq-faq .faq-item.open { border-top-color: rgba(26,107,218,.38); }
.fq-faq .faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 0; text-align: left;
  font-family: var(--fh); font-size: 16px; font-weight: 600; color: var(--white);
  transition: color .3s;
}
.fq-faq .faq-q:hover { color: var(--bl); }
.fq-faq .faq-item.open .faq-q { color: var(--bl); }
.fq-faq .faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(26,107,218,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 11px;
  transition: background .3s, transform .4s var(--ease);
}
.fq-faq .faq-item.open .faq-icon { background: rgba(26,107,218,.14); transform: rotate(45deg); }
.fq-faq .faq-a { overflow: hidden; max-height: 0; transition: max-height .45s cubic-bezier(.25,.46,.45,.94); }
.fq-faq .faq-item.open .faq-a { max-height: 480px; }
.fq-faq .faq-a-inner { padding-bottom: 22px; font-size: 14px; color: var(--mute); line-height: 1.85; }
.fq-faq .faq-a-inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fq-faq .faq-a-inner a:hover { color: var(--bl); }

.fq-cats {
  padding: 96px 0 40px;
  background: var(--bg);
}
.fq-cats-hd { text-align: center; margin-bottom: 60px; }
.fq-cats-hd h2 {
  font-family: var(--fh); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -.03em; color: var(--white); margin: 0;
}
.fq-cats-hd h2 em { font-style: normal; color: var(--blue); }
.fq-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 64px;
}
.fq-tab {
  padding: 9px 22px; border: 1px solid rgba(26,107,218,.2);
  background: rgba(26,107,218,.04); color: var(--mute);
  font-family: var(--fb); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s;
}
.fq-tab:hover {
  background: rgba(26,107,218,.1); border-color: rgba(26,107,218,.45); color: var(--white);
}
.fq-tab--active {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.fq-tab--active:hover { background: var(--bl); border-color: var(--bl); }
.fq-body { max-width: 860px; margin: 0 auto; padding-bottom: 56px; }
.fq-group { padding-bottom: 64px; }
.fq-group--hidden { display: none; }
.fq-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px;
  display: flex; align-items: center; gap: 12px;
}
.fq-group-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(26,107,218,.3), transparent);
}

.fq-contact {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--line);
}
.fq-contact-hd { text-align: center; margin-bottom: 52px; }
.fq-contact-hd h2 {
  font-family: var(--fh); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -.03em; color: var(--white); margin: 0;
}
.fq-contact-hd h2 em { font-style: normal; color: var(--blue); }
.fq-contact-hd p { font-size: 15px; color: var(--mute); line-height: 1.75; margin: 14px 0 0; }
.fq-crows {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.fq-citem {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 52px 40px; text-align: center;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background .3s;
}
.fq-citem:last-child { border-right: none; }
.fq-citem:hover { background: rgba(26,107,218,.04); }
.fq-citem-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(26,107,218,.08); border: 1px solid rgba(26,107,218,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 20px;
  transition: background .3s, box-shadow .3s;
}
.fq-citem:hover .fq-citem-icon {
  background: rgba(26,107,218,.18);
  box-shadow: 0 0 32px rgba(26,107,218,.3);
}
.fq-citem-label {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute);
}
.fq-citem-val {
  font-family: var(--fh); font-size: 1.15rem; font-weight: 700;
  color: var(--white); letter-spacing: -.02em;
  transition: color .3s;
}
.fq-citem:hover .fq-citem-val { color: var(--bl); }

@media (max-width: 960px) {
  .fq-crows { grid-template-columns: 1fr; }
  .fq-citem { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 24px; }
  .fq-citem:last-child { border-bottom: none; }
  .fq-body { padding: 0 16px 48px; }
}
@media (max-width: 640px) {
  .fq-cats { padding: 72px 0 32px; }
  .fq-tabs { gap: 6px; }
  .fq-tab { padding: 8px 16px; font-size: 12px; }
  .fq-group { padding-bottom: 48px; }
  .ph-scroll-cue { display: none; }
}
