/*
Theme Name: Almog Haike
Theme URI: https://wsol.co.il
Description: אתר פרימיום לאלמוג חייקה — תכנון וביצוע פרויקטים
Author: wsol
Version: 1.1
Text Domain: almog-haike
*/

:root {
  --ink: #16173a;
  --ink-2: #1c1d48;
  --ink-deep: #0e0f2a;
  --brass: #b8894a;
  --brass-soft: #c69e63;
  --brass-deep: #8e6432;
  --paper: #f5f1ea;
  --paper-2: #ede6d9;
  --line: #e3dacb;
  --char: #1a1a1a;
  --muted: #6b6356;
  --white: #ffffff;
  --radius: 28px;
  --shadow-soft: 0 20px 60px rgba(14, 15, 42, 0.12);
  --shadow-card: 0 18px 50px rgba(14, 15, 42, 0.1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--char);
  font-family: 'Assistant', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
nav,
footer,
header {
  display: block;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  right: 16px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  width: min(860px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brass);
  color: var(--white);
  border-color: var(--brass);
}

.btn-primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--ink-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 23, 58, 0.18);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.arrow {
  display: inline-block;
  transform: scaleX(-1);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 64px;
}

.section-head .left h2,
.page-section__title,
.page-copy__inner h2,
.page-copy__inner h3 {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-head .left h2 {
  margin: 18px 0 0;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.02;
  max-width: 680px;
}

.section-head .right {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.section-actions {
  margin-top: 56px;
  text-align: center;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.text-link::after {
  content: '←';
  font-size: 16px;
}

/* ===== Topbar ===== */
.topbar {
  background: var(--ink-deep);
  color: #d9d7e1;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 24px;
}

.topbar .left {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.topbar .left a,
.topbar .left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar .left a:hover {
  color: var(--white);
}

.topbar .right {
  color: var(--brass-soft);
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.ic-sm {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ===== Header / Nav ===== */
nav.main {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 241, 234, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 218, 203, 0.92);
}

body.admin-bar nav.main {
  top: 32px;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand .mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(22, 23, 58, 0.15);
  flex-shrink: 0;
}

.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand .name {
  line-height: 1;
}

.brand .name .lg {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.brand .name .sm {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.nav-list a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current='page'] {
  color: var(--brass);
}

.nav-list a:hover::after,
.nav-list a[aria-current='page']::after {
  width: 100%;
}

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

.nav-phone {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(22, 23, 58, 0.12);
  border-radius: 999px;
  color: var(--ink);
}

.menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle__label {
  font-size: 14px;
  font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 140px));
  overflow: hidden;
  background: var(--ink);
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.05);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 42, 0.58) 0%, rgba(14, 15, 42, 0.18) 34%, rgba(14, 15, 42, 0.16) 56%, rgba(14, 15, 42, 0.86) 88%, rgba(14, 15, 42, 0.97) 100%);
}

.hero .plate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero .tag {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--brass-soft);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero .tag::before,
.hero .tag::after {
  content: '';
  width: 44px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--white);
  font-size: clamp(54px, 10vw, 116px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  font-style: normal;
  color: var(--brass-soft);
  font-weight: 400;
}

.hero p.sub {
  max-width: 720px;
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.7;
  font-weight: 300;
}

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

.hero .scroll {
  position: absolute;
  z-index: 3;
  right: 68px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero .scroll::after {
  content: '';
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.42);
}

.hero .meta {
  position: absolute;
  z-index: 3;
  left: 68px;
  bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .meta b {
  color: var(--brass-soft);
  font-weight: 700;
  margin-right: 8px;
}

/* ===== Stats ===== */
.stats {
  background: var(--ink);
  color: var(--white);
}

.stats .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  min-height: 160px;
  align-items: center;
}

.stats .intro {
  padding: 20px 40px 20px 0;
}

.stats .intro .eyebrow {
  margin-bottom: 8px;
  color: var(--brass-soft);
}

.stats .intro .ln {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  line-height: 1.4;
}

.stats .cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 20px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats .cell:last-child {
  border-right: none;
}

.stats .num {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 64px;
  color: var(--brass-soft);
  line-height: 1;
}

.stats .num small {
  font-size: 28px;
  font-weight: 400;
}

.stats .lbl {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* ===== Services ===== */
.services {
  padding: 120px 0 140px;
  background: var(--paper);
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.svc {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.svc .im {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
  filter: saturate(0.92);
}

.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 42, 0.02) 35%, rgba(14, 15, 42, 0.92) 100%);
}

.svc:hover .im {
  transform: scale(1.06);
}

.svc .content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
}

.svc .bar {
  width: 44px;
  height: 3px;
  background: var(--brass);
  margin-bottom: 16px;
  transition: width 0.2s ease;
}

.svc:hover .bar {
  width: 74px;
}

.svc h3 {
  margin: 0 0 10px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.08;
}

.svc p {
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.92;
}

.svc .num,
.svc .more {
  position: absolute;
  z-index: 2;
  top: 26px;
}

.svc .num {
  right: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 16px;
}

.svc .more {
  left: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.svc:hover .more {
  background: var(--brass);
  border-color: var(--brass);
}

/* ===== Promise ===== */
.promise {
  padding: 60px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.promise .item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.promise .ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brass);
  border-radius: 14px;
  color: var(--brass);
}

.promise h4 {
  margin: 0 0 4px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 18px;
  color: var(--ink);
}

.promise p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Portfolio ===== */
.portfolio {
  padding: 140px 0;
  background: var(--paper);
}

.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.pf-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}

.pf-filters button.active,
.pf-filters button:hover {
  color: var(--ink);
  border-color: rgba(184, 137, 74, 0.5);
}

.pf-filters .count {
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
}

.pf-grid,
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 14px;
}

.pf,
.page-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
}

.pf .im,
.page-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.pf::after,
.page-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 42, 0.08) 40%, rgba(14, 15, 42, 0.92) 100%);
  opacity: 0.86;
}

.pf:hover .im,
.page-gallery-item:hover img {
  transform: scale(1.06);
}

.pf .tag,
.page-gallery-item__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(14, 15, 42, 0.88);
  color: var(--brass-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pf .title,
.page-gallery-item__overlay {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}

.pf .title .bar {
  width: 24px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 10px;
  transition: width 0.2s ease;
}

.pf:hover .title .bar {
  width: 60px;
}

.pf .title h4,
.page-gallery-item__overlay h3 {
  margin: 0 0 6px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 20px;
  line-height: 1.15;
}

.pf .title span,
.page-gallery-item__overlay p {
  margin: 0;
  font-size: 13px;
  opacity: 0.82;
  line-height: 1.55;
}

.pf.tall,
.page-gallery-item.tall {
  grid-row: span 2;
}

.pf.wide,
.page-gallery-item.wide {
  grid-column: span 2;
}

/* ===== About ===== */
.about {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: var(--paper-2);
}

.about::before {
  content: 'אלמוג';
  position: absolute;
  top: 40px;
  left: -40px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 500;
  color: rgba(28, 29, 72, 0.04);
  line-height: 1;
  pointer-events: none;
}

.about .container {
  position: relative;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 80px;
  align-items: center;
}

.about .photo {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: visible;
}

.about .photo .main {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 32px;
}

.about .photo .card {
  position: absolute;
  left: -30px;
  bottom: -30px;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(14, 15, 42, 0.24);
}

.about .photo .card .big {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--brass-soft);
}

.about .photo .card .tx {
  font-size: 13px;
  line-height: 1.5;
}

.about .photo .stamp {
  position: absolute;
  top: 28px;
  right: -28px;
  z-index: 2;
  width: 126px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brass);
  color: var(--white);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 15px;
  text-align: center;
  line-height: 1.2;
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(-360deg);
  }
}

.about .text h2 {
  margin: 18px 0 28px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

.about .text h2 em {
  font-style: normal;
  color: var(--brass);
}

.about .text .lead {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 600;
}

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

.about .values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.about .values .v {
  display: flex;
  gap: 12px;
}

.about .values .n {
  color: var(--brass);
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
}

.about .values h5 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.about .values p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.about .signature {
  margin-top: 32px;
}

.about .signature .name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 28px;
  color: var(--ink);
}

.about .signature .role {
  color: var(--muted);
  font-size: 13px;
}

/* ===== CTA / Contact ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--ink-deep);
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/generated/contact-consultation-israel.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 15, 42, 0.94) 0%, rgba(28, 29, 72, 0.86) 100%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

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

.cta-top .eyebrow {
  color: var(--brass-soft);
}

.cta-section h2 {
  margin: 20px 0 24px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.05;
}

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

.cta-section p.sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.86;
}

.cta-section .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  margin-bottom: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.cta-section .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5be38a;
  box-shadow: 0 0 0 4px rgba(91, 227, 138, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(91, 227, 138, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(91, 227, 138, 0.05);
  }
}

.cta-form-wrap,
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

.cta-form-wrap {
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title,
.ci-title {
  margin-bottom: 28px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 28px;
  color: inherit;
}

.wpcf7-form .field-row {
  margin-bottom: 16px;
}

.wpcf7-form label {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7-form label .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form input[type='tel'],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form select {
  appearance: none;
}

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

.wpcf7-form .wpcf7-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--brass);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--brass-deep);
}

.consent-row label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}

.consent-row input[type='checkbox'] {
  margin-top: 4px;
}

.consent-note {
  margin-top: -4px;
}

.consent-note a {
  color: var(--brass-soft);
  font-size: 13px;
  font-weight: 700;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #ff9898;
  font-size: 12px;
}

.wpcf7-response-output,
.form-fallback {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.wpcf7-response-output {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-fallback {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-grid .c {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid .c:last-child {
  border-bottom: none;
}

.contact-grid .lb {
  margin-bottom: 8px;
  color: var(--brass-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.contact-grid .vl {
  color: var(--white);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  line-height: 1.45;
}

.contact-grid .vl a {
  color: inherit;
}

.contact-actions {
  margin-top: 28px;
}

/* ===== Footer ===== */
footer {
  background: #0a0b22;
  color: #b8b5c4;
  padding: 80px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
}

.footer-brand {
  margin-bottom: 20px;
}

footer .brand .name .lg {
  color: var(--white);
}

footer .brand .name .sm {
  color: var(--brass-soft);
}

footer .col h5 {
  margin: 0 0 22px;
  color: var(--white);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 18px;
}

footer .col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer .col a:hover,
footer .contact-li a:hover,
footer .bottom a:hover {
  color: var(--brass-soft);
}

.footer-link-button {
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--brass-soft);
}

footer .blurb {
  max-width: 360px;
  line-height: 1.8;
  color: #8a879a;
}

footer .social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

footer .social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

footer .social a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
}

footer .contact-li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

footer .contact-li span:first-child {
  color: var(--brass-soft);
  margin-top: 2px;
}

footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6a677a;
  font-size: 12px;
}

footer .bottom .r {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* ===== Cookie consent ===== */
.cookie-consent[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 230;
  width: min(980px, calc(100% - 48px));
  transform: translateX(-50%);
}

.cookie-consent__shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: rgba(10, 11, 34, 0.96);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(14, 15, 42, 0.28);
  backdrop-filter: blur(12px);
}

.cookie-consent__content {
  max-width: 620px;
}

.cookie-consent__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brass-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cookie-consent__content h2,
.cookie-modal__dialog h2 {
  margin: 0 0 10px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.08;
}

.cookie-consent__content p,
.cookie-modal__dialog p {
  margin: 0;
  line-height: 1.75;
}

.cookie-consent__content p {
  color: rgba(255, 255, 255, 0.82);
}

.cookie-consent__content .text-link {
  margin-top: 14px;
  color: var(--white);
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-consent .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.cookie-consent .btn-outline:hover {
  border-color: var(--white);
}

.cookie-consent .btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.cookie-consent .btn-dark:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-modal .btn-outline {
  color: var(--ink);
  border-color: rgba(22, 23, 58, 0.16);
}

.cookie-modal .btn-outline:hover {
  border-color: var(--ink);
}

.cookie-modal .btn-dark {
  background: transparent;
  border-color: rgba(22, 23, 58, 0.16);
  color: var(--ink);
}

.cookie-modal .btn-dark:hover {
  border-color: var(--ink);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 42, 0.6);
}

.cookie-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 28px;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(14, 15, 42, 0.3);
}

.cookie-modal__dialog p {
  color: var(--muted);
}

.cookie-modal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 23, 58, 0.12);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 28px;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(22, 23, 58, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.cookie-category__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cookie-category__title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.cookie-category__desc {
  color: var(--muted);
  line-height: 1.7;
}

.cookie-category__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-category__toggle input {
  width: 22px;
  height: 22px;
}

.cookie-category__state {
  color: var(--muted);
  font-size: 12px;
}

body.cookie-modal-open {
  overflow: hidden;
}

/* ===== Floating buttons ===== */
.fab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab a {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.fab .wa {
  background: #25d366;
}

.fab .phone-fab {
  background: var(--brass);
}

/* ===== Inner pages ===== */
.inner-page {
  background: var(--paper);
}

.page-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(circle at top left, rgba(184, 137, 74, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(237, 230, 217, 0.66) 0%, var(--paper) 100%);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 48px;
  align-items: center;
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.page-title {
  margin: 18px 0 18px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.03;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.page-description {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero__visual {
  position: relative;
}

.page-hero__visual img {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.page-copy {
  padding: 32px 0 12px;
}

.page-copy__inner {
  width: min(860px, 100%);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.page-copy__inner > *:first-child {
  margin-top: 0;
}

.page-copy__inner > *:last-child {
  margin-bottom: 0;
}

.page-copy__inner h2 {
  margin-top: 32px;
  font-size: 34px;
}

.page-copy__inner h3 {
  margin-top: 28px;
  font-size: 26px;
}

.page-copy__inner ul,
.page-copy__inner ol,
.page-rich-text ul,
.page-rich-text ol {
  padding-right: 22px;
}

.page-copy__inner li,
.page-rich-text li {
  margin-bottom: 8px;
}

.page-section {
  padding: 84px 0;
}

.page-section--text,
.page-section--faq {
  background: var(--paper);
}

.page-section--cards,
.page-section--contact-panel {
  background: var(--paper-2);
}

.page-section--gallery,
.page-section--stats {
  background: var(--paper);
}

.page-section__intro {
  margin-bottom: 34px;
}

.page-section__title {
  margin: 18px 0 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
}

.page-section__lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.page-rich-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.page-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-card__body {
  padding: 24px;
}

.page-card__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(184, 137, 74, 0.12);
  color: var(--brass-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-card h3 {
  margin: 0 0 10px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
}

.page-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.page-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-stat {
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.page-stat__number {
  margin-bottom: 12px;
  color: var(--brass);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 48px;
  line-height: 1;
}

.page-stat h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.page-stat p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 20px 56px 20px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--brass);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item__content {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.8;
}

.page-section--cta {
  background: var(--ink);
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(184, 137, 74, 0.16), rgba(255, 255, 255, 0.04));
  color: var(--white);
}

.page-cta h2 {
  margin: 0 0 10px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 40px;
  font-weight: 500;
}

.page-cta p {
  margin: 0;
  max-width: 720px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-cta .btn-outline:hover {
  border-color: var(--white);
}

.contact-panel {
  padding: 34px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-panel .form-title,
.contact-panel .ci-title {
  color: var(--ink);
}

.page-section--contact-panel .wpcf7-form label {
  color: var(--ink);
}

.page-section--contact-panel .wpcf7-form input[type='text'],
.page-section--contact-panel .wpcf7-form input[type='email'],
.page-section--contact-panel .wpcf7-form input[type='tel'],
.page-section--contact-panel .wpcf7-form textarea,
.page-section--contact-panel .wpcf7-form select {
  background: rgba(14, 15, 42, 0.04);
  color: var(--ink);
  border-color: rgba(22, 23, 58, 0.12);
}

.page-section--contact-panel .wpcf7-form input::placeholder,
.page-section--contact-panel .wpcf7-form textarea::placeholder {
  color: rgba(22, 23, 58, 0.5);
}

.page-section--contact-panel .contact-grid {
  border-top-color: rgba(22, 23, 58, 0.08);
  border-bottom-color: rgba(22, 23, 58, 0.08);
}

.page-section--contact-panel .contact-grid .c {
  border-bottom-color: rgba(22, 23, 58, 0.08);
}

.page-section--contact-panel .contact-grid .vl {
  color: var(--ink);
}

/* ===== Responsive ===== */
@media (max-width: 1300px) {
  .section-head .left h2 {
    font-size: 54px;
  }

  .about .container {
    grid-template-columns: 420px 1fr;
  }
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px;
    background: rgba(245, 241, 234, 0.98);
    border: 1px solid rgba(22, 23, 58, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  nav.main.is-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav-list a {
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .services .grid,
  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-grid,
  .page-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding: 28px 0;
  }

  .stats .intro {
    grid-column: 1 / -1;
    padding: 10px 20px 20px;
  }

  .stats .cell {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about .container,
  .page-hero__grid,
  .cta-form-wrap,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about .photo {
    min-height: 420px;
  }

  .page-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar nav.main {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .topbar .right,
  .hero .scroll,
  .hero .meta {
    display: none;
  }

  .topbar .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topbar .left {
    gap: 14px;
  }

  .nav-shell {
    min-height: 84px;
  }

  .brand .name .lg {
    font-size: 20px;
  }

  .brand .name .sm {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero {
    min-height: 680px;
  }

  .hero p.sub {
    font-size: 17px;
  }

  .section-head,
  .section-head--inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head .left h2 {
    font-size: 40px;
  }

  .services {
    padding: 88px 0 100px;
  }

  .services .grid,
  .page-card-grid,
  .pf-grid,
  .page-gallery-grid,
  .promise .container,
  .about .values {
    grid-template-columns: 1fr;
  }

  .pf-grid,
  .page-gallery-grid {
    grid-auto-rows: 280px;
  }

  .pf.tall,
  .pf.wide,
  .page-gallery-item.tall,
  .page-gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about {
    padding: 96px 0;
  }

  .about .photo .card {
    left: 0;
    right: 0;
    bottom: 16px;
    margin: 0 16px;
  }

  .about .photo .stamp {
    right: 16px;
  }

  .about .text h2,
  .page-section__title,
  .page-cta h2 {
    font-size: 36px;
  }

  .cta-section {
    padding: 96px 0;
  }

  .cta-section p.sub,
  .page-description,
  .page-rich-text,
  .page-copy__inner {
    font-size: 16px;
  }

  .cta-form-wrap,
  .contact-panel {
    gap: 32px;
    padding: 24px;
  }

  footer .bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent {
    bottom: 90px;
    width: calc(100% - 24px);
  }

  .cookie-consent__shell,
  .cookie-category,
  .cookie-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__content h2,
  .cookie-modal__dialog h2 {
    font-size: 28px;
  }

  .cookie-category__toggle {
    align-items: flex-start;
  }

  .fab {
    left: 16px;
    bottom: 16px;
  }

  .page-hero {
    padding: 64px 0 32px;
  }

  .page-hero__actions,
  .page-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .topbar .left > a:not(:first-child),
  .topbar .left > span {
    display: none;
  }

  .hero .tag::before,
  .hero .tag::after {
    width: 24px;
  }

  .hero .ctas,
  .page-hero__actions {
    width: 100%;
  }

  .hero .ctas .btn,
  .page-hero__actions .btn,
  .page-cta__actions .btn {
    width: 100%;
  }

  .page-cta,
  .contact-panel {
    padding: 24px;
  }

  .cookie-modal__dialog {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
