/*
Theme Name: Chetverikov Lawyer
Theme URI: https://roman-chetverikov.ru
Author: Roman Chetverikov
Description: Кастомная тема для сайта юриста Четверикова Романа. Дизайн Gold 2026.
Version: 1.0.0
Text Domain: chetverikov-lawyer
Requires at least: 6.9
Requires PHP: 8.2
*/

/* ── Design System: CSS Custom Properties ────────────────── */

:root {
  --navy: #1B2A4A;
  --navy-deep: #111D35;
  --navy-light: #2A3F6A;
  --gold: #C9A84C;
  --gold-soft: #D4BA6E;
  --gold-dark: #A8892E;
  --cream: #F5F0E6;
  --cream-dark: #E8E0CC;
  --cream-light: #FAF7F0;
  --graphite: #2C2C2C;
  --text-muted: #8A8070;
  --text-light: #A0B4D0;
  --ff-h: 'Cormorant Garamond', Georgia, serif;
  --ff-b: 'Raleway', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Minimal Reset ───────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base Styles ─────────────────────────────────────────── */

body {
  font-family: var(--ff-b);
  color: var(--graphite);
  line-height: 1.6;
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-h);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
}

h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-family: var(--ff-b);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 16px;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
}

strong {
  font-weight: 600;
  color: var(--navy);
}

/* ── Grain Overlay ──────────────────────────────────────── */

.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Reveal Animations ──────────────────────────────────── */

/* Progressive enhancement: visible by default, animated only when JS adds .js-ready */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal-d1 { transition-delay: 0.1s; }
.js-ready .reveal-d2 { transition-delay: 0.2s; }
.js-ready .reveal-d3 { transition-delay: 0.3s; }
.js-ready .reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal,
  .js-ready .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(27,42,74,0.92);
  backdrop-filter: blur(20px);
  padding: 14px 40px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-h);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
  transition: 0.3s;
}

.nav-mark:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-name {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  align-items: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  transition: color 0.3s;
}

.nav-links a:not(.nav-cta):hover {
  color: #FFF;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}

.nav-cta:hover {
  background: #FFF;
  transform: scale(1.03);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

.burger:hover {
  background: var(--gold);
}

.burger:hover span {
  background: var(--navy);
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: 0.3s;
}

.burger.open {
  background: var(--gold);
}

.burger.open span {
  background: var(--navy);
}

.burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17,29,53,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { margin-top: 12px; }
  .burger { display: flex; }
}

@media (max-width: 480px) {
  .nav-name { font-size: 10px; }
}

/* ── Hero — Immersive Editorial ─────────────────────────── */

.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(42,63,106,0.3) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--navy-deep), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--ff-h);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  color: #FFF;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.3s var(--ease);
  font-family: var(--ff-b);
}

.btn-lg:hover {
  background: #FFF;
  transform: translateY(-2px);
}

.btn-ghost {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  transition: 0.3s;
}

.btn-ghost:hover {
  color: #FFF;
  border-color: rgba(255,255,255,0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-lg, .btn-ghost { width: 100%; text-align: center; }
}

/* ── Bento Stats ────────────────────────────────────────── */

.bento-stats {
  padding: 0 40px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.bento-cell {
  background: #FFF;
  padding: 36px 28px;
  text-align: center;
  transition: 0.3s;
  position: relative;
}

.bento-cell:hover {
  background: var(--cream);
}

.bento-num {
  font-family: var(--ff-h);
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.bento-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 900px) {
  .bento-stats { padding: 0 20px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Services — Editorial Bento ─────────────────────────── */

.services {
  padding: 80px 40px;
}

.sec-header {
  max-width: 1100px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.sec-eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-title {
  font-family: var(--ff-h);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
}

.sec-header-center {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.sec-header-center.narrow {
  max-width: 720px;
}

.sec-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.svc-card {
  background: #FFF;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: 0.4s var(--ease);
  cursor: pointer;
}

.svc-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card:hover {
  background: var(--cream);
}

.svc-num {
  font-family: var(--ff-h);
  font-size: 64px;
  font-weight: 400;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.svc-card:hover .svc-num {
  color: var(--gold);
}

.svc-card h3 {
  font-family: var(--ff-h);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.svc-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.svc-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  transition: 0.3s;
}

.svc-card:hover .svc-arrow {
  background: var(--gold);
  border-color: var(--gold);
}

.svc-card:hover .svc-arrow svg {
  stroke: var(--navy);
}

@media (max-width: 900px) {
  .services { padding: 64px 20px; }
  .svc-bento { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .svc-num { font-size: 48px; }
  .sec-header { flex-direction: column; align-items: flex-start; }
}

/* ── About — Asymmetric ─────────────────────────────────── */

.about {
  padding: 80px 40px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.1) 0%, transparent 60%);
}

.about-avatar {
  width: 96px;
  height: 96px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-h);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}

.about-photo-name {
  font-family: var(--ff-h);
  font-size: 22px;
  color: #FFF;
  position: relative;
}

.about-photo-title {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.about-exp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 20px 28px;
  border-radius: 16px;
}

.about-exp-num {
  font-family: var(--ff-h);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.about-exp-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-text h2 {
  font-family: var(--ff-h);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-text h2 em {
  font-style: italic;
  color: var(--gold-dark);
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.about-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  padding: 8px 18px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .about { padding: 64px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 280px; margin: 0 auto; }
}

/* ── Reviews — Horizontal Scroll ────────────────────────── */

.reviews {
  background: var(--navy-deep);
  padding: 80px 40px;
  overflow: hidden;
}

.reviews .sec-eyebrow {
  color: var(--gold);
}

.reviews .sec-title {
  color: #FFF;
}

.reviews-track {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.rev-card {
  min-width: 340px;
  max-width: 380px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: 0.3s;
}

.rev-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.2);
}

.rev-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.rev-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.rev-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFF;
}

.rev-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .reviews { padding: 64px 20px; }
  .rev-card { min-width: 280px; }
}

/* ── FAQ — Minimal ──────────────────────────────────────── */

.faq {
  padding: 80px 40px;
}

.faq-list {
  max-width: 900px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-item:first-child {
  border-top: 1px solid var(--cream-dark);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  gap: 20px;
}

.faq-q h3 {
  font-family: var(--ff-h);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.3s;
}

.faq-q:hover h3 {
  color: var(--gold-dark);
}

.faq-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.4s var(--ease);
}

.faq-plus svg {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
  transition: transform 0.4s var(--ease);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a-inner {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-item.open .faq-plus {
  background: var(--gold);
  border-color: var(--gold);
}

.faq-item.open .faq-plus svg {
  stroke: var(--navy);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .faq { padding: 64px 20px; }
}

@media (max-width: 480px) {
  .faq-q h3 { font-size: 18px; }
}

/* ── Contact Form ───────────────────────────────────────── */

.contact {
  background: var(--navy-deep);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.04);
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.03);
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-inner .sec-eyebrow,
.contact-inner .sec-title {
  text-align: center;
}

.contact .sec-title {
  color: #FFF;
}

.contact-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 300;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field {
  text-align: left;
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #FFF;
  font-family: var(--ff-b);
  outline: none;
  transition: 0.3s;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field select option {
  background: var(--navy);
  color: #FFF;
}

.form-submit {
  margin-top: 24px;
  text-align: center;
}

.form-submit button {
  width: 100%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--ff-b);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s var(--ease);
}

.form-submit button:hover {
  background: #FFF;
  transform: translateY(-2px);
}

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 14px;
  text-align: center;
}

.form-note a {
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .contact { padding: 64px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── CTA — Full-Width Editorial ─────────────────────────── */

.cta {
  background: var(--navy-deep);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.04);
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}

.cta h2 {
  font-family: var(--ff-h);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: #FFF;
  line-height: 1.15;
}

.cta h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cta-phone {
  font-family: var(--ff-h);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
}

@media (max-width: 900px) {
  .cta { padding: 64px 20px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-right { align-items: center; }
}

/* ── Footer ─────────────────────────────────────────────── */

/* Footer Map */

.footer-map {
  line-height: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  filter: grayscale(0.3) brightness(0.95);
}

/* Footer */

.footer {
  background: var(--navy-deep);
  padding: 40px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.footer-contacts a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.footer-contacts a:hover {
  color: var(--gold);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer-meta span {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer-meta a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.footer-meta a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-contacts { text-align: center; }
  .footer-meta { text-align: center; }
  .footer-map iframe { height: 300px; }
}

/* ── Inner Page: Page Hero (compact) ──────────────────── */

.page-hero {
  background: var(--navy-deep);
  padding: 140px 40px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(201,168,76,0.06) 0%, transparent 50%);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero .sec-eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--ff-h);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: #FFF;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.page-hero p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 900px) {
  .page-hero { padding: 120px 20px 48px; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 30px; }
}

/* ── Inner Page: Breadcrumbs ───────────────────────────── */

.breadcrumb {
  background: var(--navy-deep);
  padding: 0 40px 24px;
  position: relative;
  z-index: 2;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.2);
}

.breadcrumb-current {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .breadcrumb { padding: 0 20px 16px; }
}

/* ── Inner Page: Content Block ────────────────────────── */

.content-section {
  padding: 80px 40px;
}

.content-section.alt {
  background: var(--cream);
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  font-family: var(--ff-h);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  color: var(--navy);
  margin: 40px 0 14px;
  line-height: 1.2;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-family: var(--ff-h);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin: 28px 0 10px;
}

.content-block p {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul {
  padding-left: 0;
  margin-bottom: 20px;
  list-style: none;
}

.content-block li {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.content-block strong {
  color: var(--navy);
  font-weight: 600;
}

.content-block blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .content-section { padding: 64px 20px; }
}

@media (max-width: 480px) {
  .content-section { padding: 48px 16px; }
  .content-block h2 { font-size: 22px; }
  .content-block h3 { font-size: 18px; }
  .content-block p,
  .content-block li { font-size: 14px; }
}

/* ── Inner Page: Price Table (div-based) ──────────────── */

.price-table {
  width: 100%;
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
}

.price-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: var(--navy-deep);
  padding: 16px 24px;
}

.price-header .price-service,
.price-header .price-amount {
  color: rgba(255,255,255,0.7);
  font-family: var(--ff-h);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.price-header .price-amount {
  text-align: right;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--cream-dark);
  background: #FFF;
  transition: 0.3s;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: var(--cream);
}

.price-row .price-service {
  font-size: 14px;
  color: var(--graphite);
}

.price-row .price-amount {
  font-family: var(--ff-h);
  font-size: 19px;
  font-weight: 500;
  color: var(--gold-dark);
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 900px) {
  .price-header,
  .price-row { padding: 14px 20px; }
}

@media (max-width: 480px) {
  .price-header { display: none; }
  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }
  .price-row .price-amount { text-align: left; font-size: 17px; }
}

/* ── Inner Page: Subpage Links ────────────────────────── */

.subpage-links {
  padding: 80px 40px;
}

.subpage-links-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 40px;
}

.subpage-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: #FFF;
  transition: 0.3s var(--ease);
}

.subpage-card:hover {
  background: var(--cream);
}

.subpage-card h3 {
  font-family: var(--ff-h);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0;
}

.subpage-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.subpage-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subpage-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--cream-dark);
  fill: none;
  stroke-width: 2;
  transition: 0.3s;
}

.subpage-card:hover .subpage-arrow svg {
  stroke: var(--gold);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .subpage-links { padding: 64px 20px; }
  .subpage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .subpage-links { padding: 48px 16px; }
}

/* ── Inner Page: Reviews Light ────────────────────────── */

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.rev-card-light {
  background: #FFF;
  padding: 32px 28px;
  transition: 0.3s;
}

.rev-card-light:hover {
  background: var(--cream);
}

.rev-card-light .rev-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.rev-card-light .rev-text {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.rev-card-light .rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--cream-dark);
  padding-top: 14px;
}

.rev-card-light .rev-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.rev-card-light .rev-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.rev-card-light .rev-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .rev-grid { grid-template-columns: 1fr; }
}

/* ── Inner Page: Contact Grid ─────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--ff-h);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-item .c-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-item .c-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  margin-top: 2px;
}

.contact-item .c-value a {
  color: var(--navy);
  transition: color 0.3s;
}

.contact-item .c-value a:hover {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Inner Page: Archive Service ──────────────────────── */
/* archive-service.php reuses .page-hero and .svc-bento from global CSS.
   These rules provide archive-specific overrides only. */

.archive-service .services {
  padding-top: 64px;
}

/* ── FAQ Ask Form ─────────────────────────────────────── */

.faq-ask-form {
  text-align: center;
  max-width: 900px;
  margin: 48px auto 0;
}

.faq-ask-form h2 {
  font-family: var(--ff-h);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-ask-form p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.faq-ask-form .form-light {
  text-align: left;
}

/* ── Inner Page: Form Light Variant ───────────────────── */

.form-light .form-field input,
.form-light .form-field textarea,
.form-light .form-field select {
  background: #FFF;
  border: 1px solid var(--cream-dark);
  color: var(--graphite);
}

.form-light .form-field input::placeholder,
.form-light .form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-light .form-field input:focus,
.form-light .form-field textarea:focus,
.form-light .form-field select:focus {
  border-color: var(--gold);
}

.form-light .form-field label {
  color: var(--text-muted);
}

.form-light .form-field select option {
  background: #FFF;
  color: var(--graphite);
}

.form-light .form-submit button {
  background: var(--gold);
  color: var(--navy-deep);
}

.form-light .form-submit button:hover {
  background: var(--navy);
  color: #FFF;
}

.form-light .form-note {
  color: var(--text-muted);
}

.form-light .form-note a {
  color: var(--gold-dark);
}

/* ── Utility Classes ────────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.no-scroll {
  overflow: hidden;
}

.hidden-mobile {
  display: block;
}

.hidden-desktop {
  display: none;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.bg-navy {
  background: var(--navy-deep);
  color: #FFF;
}

/* ── Blog ──────────────────────────────────────────── */

.blog-archive {
  padding: 64px 40px 80px;
}

.blog-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,42,74,0.12);
}

.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: var(--ff-h);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
  transition: gap 0.3s var(--ease);
}

.blog-card-more svg {
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover .blog-card-more {
  gap: 10px;
}

.blog-card:hover .blog-card-more svg {
  transform: translateX(2px);
}

/* Blog Pagination */

.blog-pagination {
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 40px;
  text-align: center;
}

.blog-pagination ul {
  display: inline-flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--navy);
  transition: 0.3s;
}

.blog-pagination li a:hover {
  background: var(--cream);
  color: var(--gold);
}

.blog-pagination li .current {
  background: var(--navy);
  color: #FFF;
}

/* Blog Post Navigation */

.blog-post-nav {
  padding: 0 40px 80px;
}

.blog-post-nav-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--cream-dark);
  padding-top: 32px;
}

.blog-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 45%;
  transition: 0.3s;
}

.blog-post-nav-next {
  text-align: right;
  margin-left: auto;
}

.blog-post-nav-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post-nav-title {
  font-family: var(--ff-h);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.3s;
}

.blog-post-nav-link:hover .blog-post-nav-title {
  color: var(--gold);
}

@media (max-width: 900px) {
  .blog-archive { padding: 48px 20px 64px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-post-nav { padding: 0 20px 64px; }
  .blog-post-nav-inner { flex-direction: column; }
  .blog-post-nav-next { text-align: left; margin-left: 0; }
  .blog-post-nav-link { max-width: 100%; }
}

@media (max-width: 480px) {
  .blog-archive { padding: 40px 16px 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-nav { padding: 0 16px 48px; }
}

/* ── Utilities ─────────────────────────────────────── */

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 20px; }
  .hidden-mobile { display: none; }
  .hidden-desktop { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 16px; }
}
