/* ═══════════════════════════════════════════════════════════════
   JT IMMOBILIEN — Jessica Trenk
   style.css | Version 1.0
   ═══════════════════════════════════════════════════════════════ */

/* ── FONTS — Local hosting (DSGVO) ──────────────────────────────
   Download from fonts.google.com and place woff2 files in /fonts/
   Cormorant+Garamond: Regular(400), SemiBold(600), Bold(700)
   DM+Sans: Regular(400), Medium(500), SemiBold(600)
   ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Colors — Light CI */
  --bg:            #FAF8F5;
  --bg-2:          #F4EFE6;
  --surface:       #EDE6DB;
  --surface-2:     #E5DDD0;
  --card:          #FFFFFF;
  --copper:        #C8896A;
  --copper-light:  #D9A882;
  --copper-dark:   #A06B4E;
  --copper-grad:   linear-gradient(135deg, #D4956E 0%, #B07348 100%);
  --copper-glow:   rgba(200, 137, 106, 0.18);
  --text:          #1C1914;
  --text-dim:      #3D3830;
  --text-muted:    #7A7268;
  --text-faint:    #A8A09A;
  --border:        rgba(180, 120, 80, 0.25);
  --border-subtle: rgba(26, 23, 20, 0.10);
  --white:         #FFFFFF;

  /* Typography */
  --font-head: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 9rem);
  --container:  1200px;
  --gutter:     clamp(1.25rem, 4vw, 2rem);

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Header */
  --header-h: 76px;

  /* Transitions */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:   0.2s;
  --t-base:   0.35s;
  --t-slow:   0.65s;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.14);
  --shadow-copper: 0 8px 32px rgba(200,137,106,.28);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── SKIP NAVIGATION ─────────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--copper);
  color: var(--bg);
  padding: .6rem 1.25rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  transition: top var(--t-fast) var(--ease);
}
.skip-nav:focus { top: 0; }

/* ── LAYOUT UTILITIES ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-py { padding-block: var(--section-py); }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--copper);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--copper);
}

.section-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 600px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--copper-grad);
  color: #fff;
  box-shadow: var(--shadow-copper);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(200,137,106,.38);
}
.btn-primary:active {
  transform: translateY(0);
  filter: brightness(.93);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--copper);
  padding: .7rem 0;
  letter-spacing: .06em;
  font-size: .8rem;
  gap: .5rem;
}
.btn-ghost svg {
  transition: transform var(--t-base) var(--ease);
}
.btn-ghost:hover svg { transform: translateX(5px); }
.btn-ghost:hover { color: var(--copper-light); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border-subtle);
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.site-header .container { width: 100%; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: filter var(--t-base);
}
.nav-logo:hover img { filter: brightness(1.1); }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin-left: .65rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--copper); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { margin-left: .25rem; flex-shrink: 0; }

/* nav-cta already handled above */

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  background: transparent;
  flex-shrink: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-toggle:hover { border-color: var(--border); background: var(--surface); }
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: calc(var(--header-h) + 2rem) 2rem 4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base), transform var(--t-base) var(--ease);
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  width: 100%;
  max-width: 360px;
}
.nav-mobile li a {
  display: block;
  padding: 1rem 1.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--text-dim);
  text-align: center;
  transition: color var(--t-fast);
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile li:last-child a { border-bottom: none; }
.nav-mobile li a:hover { color: var(--copper); }
.nav-mobile .nav-mobile-cta {
  margin-top: 2rem;
  width: 100%;
  max-width: 360px;
}
.nav-mobile .nav-mobile-cta {
  margin-top: 2rem;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
}
.nav-mobile .nav-mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
}
@media (max-width: 768px) {
  .hero-bg img { object-position: center 20%; }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  }
  .hero-content .container {
    height: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-sub { font-size: .85rem; line-height: 1.6; }
  .hero-bottom { gap: .75rem; }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20,15,10,.92) 0%, rgba(20,15,10,.60) 40%, rgba(20,15,10,.10) 100%),
    linear-gradient(to right, rgba(20,15,10,.55) 0%, transparent 65%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 0;
}
.hero-eyebrow span {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
}
.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--copper);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 0;
  max-width: 14ch;
}
.hero-title .accent { color: var(--copper-light); font-style: italic; }

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero-stat-num sup {
  font-size: .55em;
  color: var(--copper);
  vertical-align: super;
  line-height: 0;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  margin-top: .25rem;
  text-transform: uppercase;
}
.hero-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.12), transparent);
  flex-shrink: 0;
}

/* Hero: outline button on dark background */
.hero .btn-outline {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.hero .btn-outline:hover {
  border-color: var(--copper-light);
  color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ── USP STRIP ───────────────────────────────────────────────── */
.usp-strip {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  gap: 1rem;
  border-right: 1px solid var(--border-subtle);
  transition: background var(--t-base) var(--ease);
}
.usp-item:last-child { border-right: none; }
.usp-item:hover { background: var(--surface-2); }

.usp-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(200, 137, 106, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), transform var(--t-base) var(--ease);
}
.usp-item:hover .usp-icon {
  background: rgba(200, 137, 106, 0.18);
  transform: translateY(-3px);
}
.usp-icon svg { width: 22px; height: 22px; color: var(--copper); }

.usp-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.usp-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-clip {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  border-radius: var(--r-md);
}
.about-image-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.9);
}
.about-image-wrap:hover .about-image-clip img {
  transform: scale(1.04);
  filter: saturate(1);
}

.about-deco-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--copper-grad);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .75rem;
  box-shadow: var(--shadow-copper);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about-deco-badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.about-deco-badge-txt {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
  margin-top: .2rem;
}

.about-content {}
.about-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.about-title em { font-style: italic; color: var(--copper); }

.about-text {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: .97rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 2rem 0 2.5rem;
}
.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: border-color var(--t-base), background var(--t-base);
}
.about-pillar:hover {
  border-color: var(--border);
  background: var(--surface-2);
}
.about-pillar-icon {
  width: 32px; height: 32px;
  background: rgba(200,137,106,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-pillar-icon svg { width: 16px; height: 16px; color: var(--copper); }
.about-pillar-text {}
.about-pillar-title {
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
  margin-bottom: .15rem;
}
.about-pillar-desc {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── PROCESS ─────────────────────────────────────────────────── */
.process {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,137,106,.05) 0%, transparent 65%);
  pointer-events: none;
}

.process-head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.process-head .section-label { justify-content: center; }
.process-head .section-label::before { display: none; }

.process-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.process-tab {
  padding: .6rem 1.5rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.process-tab.active, .process-tab:hover {
  background: var(--copper-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-copper);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step:nth-child(2) { transition-delay: .08s; }
.process-step:nth-child(3) { transition-delay: .16s; }
.process-step:nth-child(4) { transition-delay: .24s; }
.process-step:nth-child(5) { transition-delay: .32s; }

.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.process-step:hover .process-num,
.process-step.active-step .process-num {
  background: var(--copper-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-copper);
  transform: scale(1.1);
}

.process-step-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.process-step-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROPERTIES ──────────────────────────────────────────────── */
.properties { background: var(--bg); }

.properties-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  gap: 2rem;
  flex-wrap: wrap;
}
.properties-head-left {}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}

.prop-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
  cursor: pointer;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.prop-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}

.prop-gallery {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.prop-gallery::-webkit-scrollbar { display: none; }
.prop-gallery img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: filter 0.5s;
  filter: saturate(0.85);
}
.prop-card:hover .prop-gallery img {
  filter: saturate(1);
}

.prop-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 11, 9, .45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--t-fast), background var(--t-fast);
}
.prop-gallery-nav svg { width: 16px; height: 16px; }
.prop-gallery-nav:hover { background: rgba(12, 11, 9, .7); }
.prop-gallery-prev { left: .6rem; }
.prop-gallery-next { right: .6rem; }
.prop-card:hover .prop-gallery-nav { opacity: 1; }
@media (hover: none) {
  .prop-gallery-nav { opacity: 1; }
}

.prop-gallery-dots {
  position: absolute;
  bottom: .7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .35rem;
  z-index: 2;
}
.prop-gallery-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: background var(--t-fast), transform var(--t-fast);
}
.prop-gallery-dots .dot.active {
  background: #fff;
  transform: scale(1.25);
}

.prop-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--copper-grad);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}
.prop-badge-new {
  background: linear-gradient(135deg, #4CAF7D, #2E8B57);
}

.prop-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.prop-location {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper);
}
.prop-location svg { width: 12px; height: 12px; flex-shrink: 0; }

.prop-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.prop-specs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.prop-spec {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: var(--text-muted);
}
.prop-spec svg { width: 13px; height: 13px; color: var(--copper); flex-shrink: 0; }

.prop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .75rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.prop-price {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.prop-cta {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper);
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--t-base) var(--ease), color var(--t-fast);
}
.prop-cta svg { width: 12px; height: 12px; }
.prop-card:hover .prop-cta { gap: .6rem; color: var(--copper-light); }

.properties-cta-row {
  text-align: center;
  margin-top: 3rem;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.testimonials-head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.testimonials-head .section-label { justify-content: center; }
.testimonials-head .section-label::before { display: none; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .4rem 1rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 14px; height: 14px; color: #F5B800; fill: #F5B800; }
.rating-text { font-size: .75rem; color: var(--text-muted); font-weight: 500; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--t-base), transform var(--t-base) var(--ease), box-shadow var(--t-base);
  opacity: 0;
  transform: translateY(20px);
}
.testi-card.visible {
  opacity: 1; transform: translateY(0);
}
.testi-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-card:nth-child(2) { transition-delay: .07s; }
.testi-card:nth-child(3) { transition-delay: .14s; }
.testi-card:nth-child(4) { transition-delay: .21s; }
.testi-card:nth-child(5) { transition-delay: .28s; }
.testi-card:nth-child(6) { transition-delay: .35s; }

.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 14px; height: 14px; color: #F5B800; fill: #F5B800; }

.testi-quote {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.75;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.testi-quote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 7rem;
  color: var(--copper);
  opacity: .08;
  position: absolute;
  top: -1.25rem;
  right: -.25rem;
  left: auto;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--copper-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-style: normal;
}
.testi-name {
  font-weight: 600;
  font-size: .85rem;
  color: var(--text);
}
.testi-meta {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: .1rem;
}

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(140deg, #1E1410 0%, #2B1A11 100%);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) calc(280px + clamp(2.5rem, 4vw, 5rem)) clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 5rem);
  border: 1px solid rgba(200,137,106,.22);
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  overflow: hidden;
}
.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 55% 90% at 0% 50%, rgba(200,137,106,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(200,137,106,.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-banner .section-label {
  color: var(--copper-light);
}
.cta-banner .section-label::before {
  background: var(--copper-light);
}

.cta-banner-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: .75rem;
}
.cta-banner-title em { font-style: italic; color: var(--copper-light); }
.cta-banner-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 52ch;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: stretch;
  flex-shrink: 0;
  min-width: 200px;
  position: relative;
  z-index: 1;
}
.cta-banner-actions .btn { justify-content: center; white-space: nowrap; }
.cta-banner .btn-outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
}
.cta-banner .btn-outline:hover {
  border-color: var(--copper-light);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
}
.cta-banner-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,20,16,.7) 0%, transparent 35%);
  pointer-events: none;
}
.cta-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ── PHOTO GALLERY ───────────────────────────────────────────── */
.photo-gallery {
  overflow: hidden;
  background: var(--surface);
}
.photo-gallery-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 560px;
}
.photo-gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-gallery-item:hover img {
  transform: scale(1.03);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { background: var(--surface); }

.faq-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}
.faq-head .section-label { justify-content: center; }
.faq-head .section-label::before { display: none; }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open {
  border-color: var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background var(--t-fast);
}
.faq-trigger:hover { background: rgba(200,137,106,.04); }

.faq-question {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.faq-item.open .faq-question { color: var(--copper); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), transform var(--t-base) var(--ease), border-color var(--t-base);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--text-muted); transition: color var(--t-base); }
.faq-item.open .faq-icon {
  background: var(--copper-grad);
  border-color: transparent;
  transform: rotate(180deg);
}
.faq-item.open .faq-icon svg { color: #fff; }

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-body {
  max-height: 600px;
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  padding-block: 4.5rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.footer-brand {}
.footer-logo {
  display: inline-flex;
  margin-bottom: 1.25rem;
}
.footer-logo img { height: 56px; width: auto; object-fit: contain; }

.footer-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 26ch;
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base) var(--ease);
}
.footer-social-link:hover {
  background: var(--copper-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-link svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: .83rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .75rem;
}
.footer-contact-item svg {
  width: 15px; height: 15px;
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-contact-item a { color: var(--text-muted); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--copper); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .75rem;
  color: var(--text-faint);
  line-height: 1.6;
}
.footer-copy a { color: var(--text-muted); transition: color var(--t-fast); }
.footer-copy a:hover { color: var(--copper); }
.footer-copy .heart { color: #e74c3c; }
.footer-copy .agency { color: var(--copper); font-weight: 500; }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: .75rem;
  color: var(--text-faint);
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: var(--text-muted); }

/* ── INNER PAGE BASE ─────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.page-hero .section-label { justify-content: center; }
.page-hero .section-label::before { display: none; }
.page-hero .page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}
.page-hero .page-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── COOKIE CONSENT ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .82rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.cookie-banner-title svg { width: 16px; height: 16px; color: var(--copper); flex-shrink: 0; }

.cookie-banner-text {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-banner-text a { color: var(--copper); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  padding: .6rem .75rem;
  font-size: .78rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
.cookie-banner-actions .btn-primary { flex-basis: 100%; }

/* ── SCROLL REVEAL ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ── INNER PAGE CONTENT ──────────────────────────────────────── */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-dim);
  line-height: 1.85;
}
.prose h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin: 3rem 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 .6rem;
}
.prose p { margin-bottom: 1rem; font-size: .93rem; }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--copper-light); }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .4rem; font-size: .93rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .notice {
  background: var(--surface-2);
  border-left: 3px solid var(--copper);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .85rem;
  margin: 1.5rem 0;
}

/* ── CERTIFICATES PAGE ───────────────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base) var(--ease);
}
.cert-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.cert-card-body { padding: 1.5rem; }
.cert-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.cert-card-meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.cert-card-meta svg { width: 12px; height: 12px; color: var(--copper); }
.cert-icon-wrap {
  height: 120px;
  background: linear-gradient(135deg, var(--surface-2), var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-icon-wrap svg { width: 48px; height: 48px; color: var(--copper); opacity: .6; }
.cert-img-wrap {
  height: 200px;
  overflow: hidden;
}
.cert-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--surface-2);
  padding: 1rem;
}

/* ── 404 PAGE ────────────────────────────────────────────────── */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
}
.error-code {
  font-family: var(--font-head);
  font-size: clamp(7rem, 20vw, 14rem);
  font-weight: 700;
  color: var(--surface-2);
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  position: relative;
}
.error-code::after {
  content: '404';
  position: absolute;
  inset: 0;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .12;
}
.error-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.error-sub {
  font-size: .92rem;
  color: var(--text-muted);
  max-width: 45ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.error-links {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

/* ── 1100px: Nav starts getting tight ── */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: .73rem; }
}

@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-item:nth-child(2) { border-right: none; }
  .usp-item:nth-child(3) { border-top: 1px solid var(--border-subtle); }
  .usp-item:nth-child(4) { border-top: 1px solid var(--border-subtle); border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }
  .about-deco-badge { right: 0; }
  .cta-banner-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    padding: 0 0 clamp(2rem, 4vw, 3rem) 0;
  }
  .cta-banner-image {
    display: block;
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    order: -1;
  }
  .cta-banner-image img {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    object-position: 15% 40%;
  }
  .cta-banner-content {
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  }
  .cta-banner-actions {
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .photo-gallery-inner { height: 380px; }
}

@media (max-width: 768px) {
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hero-scroll-hint { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .faq-grid { max-width: 100%; }
  .faq-trigger { padding: 1.2rem 1.25rem; }
  .faq-answer { padding: 0 1.25rem 1.25rem; }
}

@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .photo-gallery-inner { grid-template-columns: 1fr; height: auto; }
  .photo-gallery-item { height: 320px; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .btn { white-space: normal; text-align: center; }
  .hero-title { font-size: clamp(1.5rem, 9vw, 2rem); }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none !important; border-top: none; border-bottom: 1px solid var(--border-subtle); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-bottom: none;
  }
  .cta-banner-inner { padding: 0 0 2rem 0; }
  .error-links { flex-direction: column; align-items: center; }
  .prop-grid { gap: 1rem; }
  .testi-card { padding: 1.5rem; }
  .section-title { font-size: clamp(1.9rem, 8vw, 3.6rem); }
  .about-title { font-size: clamp(1.8rem, 7vw, 3.2rem); }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
