/* ============================================================
   FLECKENSTEIN IMMOBILIEN HAMBURG — Shared Stylesheet
   Hanseatisch · Persönlich · Verlässlich
   ============================================================ */

:root {
  --navy: #1B2A4E;
  --navy-light: #2C3E66;
  --cream: #F8F4EC;
  --cream-light: #FAF7F0;
  --sand: #C9A96E;
  --sand-light: #E5D5B7;
  --text-dark: #2C2C2C;
  --text-muted: #6B6B6B;
  --line: #D4C9B0;
  --white: #FFFFFF;
  --error: #C1272D;
  --success: #3FAE2A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'DejaVu Serif', serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--navy); }
a:hover { color: var(--sand); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 244, 236, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 50px; }
.nav-logo-link { display: flex; align-items: center; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--navy); text-decoration: none;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sand); }
.nav-cta {
  background: var(--navy); color: var(--white);
  padding: 9px 20px; border-radius: 4px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  font-family: 'Helvetica', sans-serif;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--sand); color: var(--white); }

@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-logo { height: 38px; }
}

/* === HERO (homepage only) === */
.hero {
  position: relative;
  height: 88vh; min-height: 540px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 0 24px;
}
.hero-kicker {
  font-family: 'Helvetica', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; color: var(--sand-light);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
  max-width: 900px;
}
.hero h1 em { color: var(--sand-light); font-style: italic; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  font-style: italic;
  margin-bottom: 32px;
  opacity: 0.95;
}
.hero-divider {
  width: 60px; height: 2px; background: var(--sand);
  margin: 0 auto 28px;
}
.hero-price-row {
  display: flex; gap: 32px; flex-wrap: wrap;
  justify-content: center; align-items: center;
  font-size: 16px; margin-bottom: 30px;
}
.hero-price {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700; color: var(--sand-light);
}
.hero-price-meta {
  font-size: 14px; opacity: 0.85;
  letter-spacing: 0.5px;
}
.hero-tag {
  display: inline-block;
  background: var(--sand);
  color: var(--navy);
  padding: 7px 18px;
  font-family: 'Helvetica', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 14px;
}
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--white); opacity: 0.7;
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Helvetica', sans-serif;
}
.scroll-hint::after {
  content: '↓'; display: block; margin-top: 6px;
  font-size: 18px; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* === PAGE HEADER (for non-homepage pages) === */
.page-header {
  background: var(--navy);
  color: var(--cream-light);
  padding: 70px 24px 50px;
  text-align: center;
}
.page-header-kicker {
  font-family: 'Helvetica', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: var(--sand-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 14px;
}
.page-header-sub {
  font-style: italic;
  font-size: 16px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* === SECTION === */
.section { padding: 90px 24px; }
.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream-light); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-kicker {
  font-family: 'Helvetica', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: var(--sand);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative; padding-left: 22px;
}
.section-kicker::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 14px; height: 2px; background: var(--sand);
  transform: translateY(-50%);
}
.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.1;
}
.section-navy .section-title { color: var(--white); }
.section-navy .section-kicker { color: var(--sand-light); }
.section-navy .section-kicker::before { background: var(--sand-light); }

.section-lead {
  max-width: 760px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dark);
  margin-bottom: 50px;
  line-height: 1.75;
}
.section-navy .section-lead { color: var(--cream-light); }

/* === HIGHLIGHT GRID === */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.highlight-card {
  background: var(--cream);
  padding: 26px 22px;
  border-top: 3px solid var(--sand);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 42, 78, 0.10);
}
.highlight-label {
  font-family: 'Helvetica', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.highlight-value {
  font-size: 24px; color: var(--navy);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 6px;
}
.highlight-sub {
  font-size: 13px; color: var(--text-dark);
  font-style: italic;
}

/* === GALLERY === */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-img:hover img { transform: scale(1.04); }
.gallery-tall { grid-row: span 2; height: 600px; }
.gallery-short { height: 293px; }
.img-tag {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(27, 42, 78, 0.78);
  color: var(--white);
  font-family: 'Helvetica', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
  text-transform: uppercase;
  border-radius: 2px;
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-tall { grid-row: auto; height: 320px; }
  .gallery-short { height: 220px; }
}

/* === THUMBNAIL ROW === */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 36px;
}
.thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
}
.thumb img {
  width: 100%; height: 170px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.thumb:hover img { transform: scale(1.05); }
.thumb-tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(27, 42, 78, 0.78);
  color: var(--white);
  font-family: 'Helvetica', sans-serif;
  font-size: 9px;
  letter-spacing: 0.8px;
  padding: 3px 7px;
  text-transform: uppercase;
  border-radius: 2px;
}
.thumb-tag-orig {
  background: rgba(201, 169, 110, 0.92);
  color: var(--navy);
}
.thumb-caption {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  padding: 8px 4px 0;
}
@media (max-width: 720px) {
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .thumb img { height: 110px; }
}

/* === ROOMS === */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 40px;
}
.room h3 {
  font-size: 20px; color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}
.room p {
  font-size: 15.5px; color: var(--text-dark);
  line-height: 1.7;
}
.room::before {
  content: ''; display: block;
  width: 40px; height: 2px;
  background: var(--sand);
  margin-bottom: 14px;
}

/* === GRUNDRISS === */
.floorplan-frame {
  background: var(--cream);
  padding: 30px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.floorplan-frame img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.floorplan-note {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}
.floorplan-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
  margin-top: 20px;
}
.floorplan-overview-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 15px;
  color: var(--text-dark);
}
.floorplan-overview-item::before {
  content: ''; width: 6px; height: 6px;
  background: var(--sand); border-radius: 50%;
  flex-shrink: 0;
}

/* === PARK / LOCATION === */
.park-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.park-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 380px;
}
.park-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.park-card:hover img { transform: scale(1.04); }
.park-caption {
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 36px;
}
.park-caption-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .park-grid, .park-caption-row { grid-template-columns: 1fr; }
  .park-card { height: 260px; }
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 24px;
}
.connect-block h3 {
  font-size: 20px; color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 6px;
  display: inline-block;
}
.connect-list { list-style: none; }
.connect-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.connect-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--sand); border-radius: 50%;
  flex-shrink: 0; margin-top: 8px;
}
.connect-label { font-weight: 700; color: var(--text-dark); flex: 1; }
.connect-time {
  font-size: 14px; color: var(--text-muted); font-style: italic;
}
@media (max-width: 720px) {
  .connect-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* === ENERGY === */
.energy-bar {
  display: flex; height: 56px;
  margin-bottom: 18px;
  border-radius: 3px; overflow: hidden;
}
.energy-cell {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: 'Helvetica', sans-serif;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.energy-cell.active {
  font-size: 22px;
  box-shadow: inset 0 -4px 0 var(--navy);
}
.energy-cell.active::after {
  content: '▲';
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  color: var(--navy); font-size: 16px;
}
.energy-meta {
  font-size: 15px; color: var(--text-dark);
  margin-top: 28px;
}
.energy-meta strong { color: var(--navy); }

/* === FACTS TABLE === */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.facts-table tr { border-bottom: 1px solid var(--line); }
.facts-table tr:last-child { border-bottom: none; }
.facts-table td {
  padding: 12px 14px;
  vertical-align: top;
}
.facts-table td:first-child {
  font-family: 'Helvetica', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  width: 220px;
}
.facts-table td:last-child {
  color: var(--text-dark);
  font-size: 15px;
}
@media (max-width: 540px) {
  .facts-table td { display: block; padding: 6px 0; }
  .facts-table td:first-child { padding-top: 14px; }
}

/* === CONTACT CARD (homepage) === */
.contact-card {
  background: var(--cream);
  padding: 50px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  border-top: 4px solid var(--sand);
}
.contact-card-logo { width: 100%; }
.contact-card-portrait {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 6px 20px rgba(27, 42, 78, 0.12);
}
.contact-name {
  font-size: 32px; color: var(--navy);
  font-weight: 700; margin-bottom: 4px;
}
.contact-role {
  color: var(--sand);
  font-style: italic;
  font-size: 16px;
  margin-bottom: 22px;
}
.contact-info { display: grid; gap: 14px; }
.contact-info-row { display: flex; align-items: baseline; gap: 18px; }
.contact-info-label {
  font-family: 'Helvetica', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  width: 90px;
}
.contact-info-value { color: var(--text-dark); font-size: 15.5px; }
.contact-info-value a { color: var(--navy); text-decoration: none; }
.contact-info-value a:hover { color: var(--sand); }

.contact-buttons {
  margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 3px;
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--sand); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy); color: var(--white);
}

@media (max-width: 720px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 32px 24px; gap: 24px;
  }
  .contact-card-logo { max-width: 200px; margin: 0 auto; }
}

/* === STAGING NOTE === */
.staging-note {
  background: var(--cream);
  border-left: 3px solid var(--sand);
  padding: 16px 22px;
  margin: 28px 0;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* === COST BREAKDOWN BOX === */
.cost-box {
  background: var(--white);
  border-top: 3px solid var(--sand);
  border-radius: 4px;
  padding: 28px;
  margin-top: 32px;
  box-shadow: 0 2px 12px rgba(27, 42, 78, 0.06);
}
.cost-box-label {
  font-family: 'Helvetica', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cost-box-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 18px;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.cost-table td {
  padding: 8px 0;
  color: var(--text-dark);
}
.cost-table .cost-pct {
  color: var(--text-muted);
  text-align: right;
  width: 110px;
}
.cost-table .cost-eur {
  text-align: right;
  width: 130px;
}
.cost-table .cost-total td {
  border-top: 1px solid var(--sand);
  padding-top: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
}

/* === WEG NOTE === */
.weg-note {
  background: var(--cream);
  border-left: 3px solid var(--sand);
  padding: 18px 24px;
  margin-top: 28px;
  border-radius: 4px;
}
.weg-note-label {
  font-family: 'Helvetica', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.weg-note p {
  margin: 0;
  font-size: 15px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}

/* === LIGHTBOX / CAROUSEL === */
.gallery-img, .thumb {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27, 42, 78, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.lightbox.open { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
  user-select: none;
}
.lightbox-caption {
  color: var(--cream-light);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
  font-size: 16px;
  max-width: 600px;
}
.lightbox-counter {
  font-family: 'Helvetica', sans-serif;
  font-size: 12px;
  color: var(--sand-light);
  letter-spacing: 1.5px;
  margin-top: 6px;
  text-transform: uppercase;
}
.lightbox-tag {
  display: inline-block;
  font-family: 'Helvetica', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 10px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 8px;
  background: rgba(201, 169, 110, 0.92);
  color: var(--navy);
}
.lightbox-tag.tag-vis {
  background: rgba(255, 255, 255, 0.18);
  color: var(--cream-light);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  font-size: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 720px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* === LEGAL CONTENT (Impressum / Datenschutz pages) === */
.legal-page {
  background: var(--cream-light);
}
.legal-content {
  background: var(--white);
  padding: 60px 50px;
  margin: 50px auto;
  max-width: 880px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(27, 42, 78, 0.06);
}
.legal-content h2 {
  font-size: 26px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 38px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sand);
  display: inline-block;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p, .legal-content li {
  font-size: 15.5px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-content ul {
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--navy); }
.legal-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--sand); }
.legal-content .legal-meta {
  background: var(--cream);
  padding: 18px 22px;
  border-left: 3px solid var(--sand);
  margin: 22px 0;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.legal-content address {
  font-style: normal;
  background: var(--cream);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 14px 0;
}

@media (max-width: 720px) {
  .legal-content { padding: 36px 24px; margin: 24px 16px; }
}

/* === CONTACT FORM === */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  border-top: 4px solid var(--sand);
  box-shadow: 0 4px 20px rgba(27, 42, 78, 0.06);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: 'Helvetica', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream-light);
  color: var(--text-dark);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sand);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group .required { color: var(--error); margin-left: 2px; }

.form-radio-group {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 6px;
}
.form-radio-group label {
  font-family: inherit;
  font-size: 15px;
  font-weight: normal;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 0;
}
.form-radio-group input[type="radio"] {
  accent-color: var(--navy);
  width: 18px; height: 18px;
}

.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 24px 0;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--navy);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.form-checkbox label {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: normal;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 0;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 14px;
  text-align: center;
}

.contact-info-side {
  padding-top: 14px;
}
.contact-portrait-block {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.contact-portrait {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  border: 5px solid var(--white);
  box-shadow: 0 8px 24px rgba(27, 42, 78, 0.15);
}
.contact-portrait-name {
  font-size: 24px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-portrait-role {
  color: var(--sand);
  font-style: italic;
  font-size: 15px;
}
.contact-info-side h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-direct {
  display: grid; gap: 18px;
  margin-bottom: 30px;
}
.contact-direct-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--sand);
}
.contact-direct-row .label {
  font-family: 'Helvetica', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  width: 90px; flex-shrink: 0;
}
.contact-direct-row .value {
  font-size: 15.5px;
  color: var(--text-dark);
}
.contact-direct-row .value a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.contact-direct-row .value a:hover { color: var(--sand); }

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: var(--cream-light);
  padding: 50px 24px 30px;
  text-align: center;
}
.footer-logo {
  display: block;
  height: 70px;
  width: auto;
  margin: 0 auto 18px;
  background: var(--cream-light);
  padding: 14px 22px;
  border-radius: 4px;
}
.footer-tag {
  font-style: italic;
  letter-spacing: 1.5px;
  font-size: 14px;
  color: var(--sand-light);
  margin-bottom: 18px;
}
.footer-meta {
  font-size: 12px; opacity: 0.7;
  margin-top: 22px;
  font-family: 'Helvetica', sans-serif;
  letter-spacing: 0.4px;
  line-height: 1.8;
}
.footer-links {
  display: flex; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  margin-top: 14px;
}
.footer-links a {
  color: var(--sand-light);
  text-decoration: none;
  font-family: 'Helvetica', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copyright {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Helvetica', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-align: center;
}
