/* ============================================
   AUF ZYPERN INVESTIEREN – Main Stylesheet
   Elegant, refined design for investment content
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #0b1d33;
  --color-primary-light: #132d4f;
  --color-secondary: #c9a84c;
  --color-secondary-light: #dcc06a;
  --color-secondary-dark: #a88a2e;
  --color-accent: #1a6b4a;
  --color-accent-light: #238c62;
  --color-bg: #fafaf7;
  --color-bg-alt: #f2f0eb;
  --color-bg-card: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-text-muted: #8a8a8a;
  --color-border: #e0ddd5;
  --color-border-light: #eceae4;
  --color-white: #ffffff;
  --color-error: #c0392b;
  --shadow-sm: 0 1px 3px rgba(11,29,51,0.06);
  --shadow-md: 0 4px 16px rgba(11,29,51,0.08);
  --shadow-lg: 0 8px 32px rgba(11,29,51,0.12);
  --shadow-xl: 0 16px 48px rgba(11,29,51,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --content-width: 820px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-secondary); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }

/* --- Header / Navigation --- */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo img, .site-logo svg {
  height: 40px;
  width: auto;
}

.site-logo .logo-text {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-logo .logo-text span {
  color: var(--color-secondary);
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.06);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-primary-light);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.08);
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-content a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 0;
}
.nav-dropdown-content a:hover {
  background: rgba(201,168,76,0.12);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #1a4a6b 100%);
  color: var(--color-white);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero h1 span { color: var(--color-secondary); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-cta:hover {
  background: var(--color-secondary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

/* --- Page Hero (Article Pages) --- */
.page-hero {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); max-width: 800px; margin: 0 auto 0.75rem; }
.page-hero .subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-hero .breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a { color: var(--color-secondary); }

/* --- Content Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* --- Article Content --- */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-secondary);
  display: inline-block;
}

.article-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 0;
}

.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.article-content blockquote {
  border-left: 4px solid var(--color-secondary);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* --- Info Boxes --- */
.info-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.info-box.tip {
  border-left: 4px solid var(--color-accent);
  background: rgba(26,107,74,0.04);
}

.info-box.warning {
  border-left: 4px solid var(--color-secondary);
  background: rgba(201,168,76,0.06);
}

.info-box.highlight {
  border-left: 4px solid var(--color-primary);
  background: rgba(11,29,51,0.03);
}

.info-box-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.95rem;
}

thead {
  background: var(--color-primary);
  color: var(--color-white);
}

th {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

tbody tr:nth-child(even) { background: var(--color-bg); }
tbody tr:hover { background: rgba(201,168,76,0.06); }

/* --- FAQ Section --- */
.faq-section { margin: 2.5rem 0; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--color-bg-alt); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.card-body {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary-dark);
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-body h3 a { color: var(--color-primary); }
.card-body h3 a:hover { color: var(--color-secondary-dark); }

.card-body p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- Stat Boxes --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 4rem 1.5rem;
  text-align: center;
  margin: 3rem 0 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-secondary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-secondary);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --- Image in Article --- */
.article-image {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-image img {
  width: 100%;
  height: auto;
}

.article-image figcaption {
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Placeholder images via CSS patterns */
.img-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.img-placeholder.cyprus {
  background: linear-gradient(135deg, #1a6b4a 0%, #0e4a6e 60%, #0b1d33 100%);
}

.img-placeholder.finance {
  background: linear-gradient(135deg, #0b1d33 0%, #1a3a5c 60%, #c9a84c 100%);
}

.img-placeholder.city {
  background: linear-gradient(135deg, #2c5f7c 0%, #1a6b4a 60%, #c9a84c 100%);
}

.img-placeholder.realestate {
  background: linear-gradient(135deg, #8b6914 0%, #c9a84c 40%, #1a6b4a 100%);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-secondary); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--color-secondary); }

/* --- WhatsApp Button --- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 32px; height: 32px; fill: white; }

/* --- Article List/Index Page --- */
.article-list-section {
  padding: 3rem 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* --- ToC (Table of Contents) --- */
.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.toc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.toc li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.toc a {
  color: var(--color-text-light);
  transition: color var(--transition);
}
.toc a:hover { color: var(--color-secondary-dark); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.contact-info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-secondary-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border-color var(--transition);
  margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

/* --- Related Articles --- */
.related-articles {
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}

.related-articles h3 {
  text-align: center;
  margin-bottom: 2rem;
}

/* --- Sidebar TOC sticky */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.sidebar-toc {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  margin-top: 0;
}

.sidebar-toc a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all var(--transition);
}

.sidebar-toc a:hover,
.sidebar-toc a.active {
  color: var(--color-secondary-dark);
  border-left-color: var(--color-secondary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-toc { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; }
  .nav-dropdown-content {
    position: static;
    background: rgba(0,0,0,0.15);
    border-radius: var(--radius-sm);
    min-width: auto;
    box-shadow: none;
    border: none;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-content { display: block; }

  .hero { padding: 3.5rem 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .stats-row { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .whatsapp-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-btn svg { width: 28px; height: 28px; }
}

/* --- Keyline decoration --- */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 1rem 0;
}

.gold-line.center { margin: 1rem auto; }

/* --- Print --- */
@media print {
  .site-header, .site-footer, .whatsapp-btn, .cta-section { display: none; }
  body { background: white; color: black; font-size: 11pt; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Schema markup hidden --- */
.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;
}


/* --- CMC Logo Styling --- */
.site-logo img {
  height: 52px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* --- Visual Image Sections (replacing boring placeholders) --- */
.img-placeholder {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 12px;
  margin: 2rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,51,0) 40%, rgba(11,29,51,0.85) 100%);
  border-radius: 12px;
  z-index: 1;
}

.img-placeholder > * {
  position: relative;
  z-index: 2;
}

/* Themed image backgrounds with CSS gradients + patterns */
.img-placeholder.cyprus {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 40%, #90e0ef 70%, #caf0f8 100%);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 40%),
    linear-gradient(135deg, #0077b6 0%, #00b4d8 40%, #48cae4 100%);
}

.img-placeholder.finance {
  background: linear-gradient(135deg, #0b1d33 0%, #132d4f 50%, #1a3a5c 100%);
  background-image:
    repeating-linear-gradient(90deg, rgba(201,168,76,0.08) 0px, rgba(201,168,76,0.08) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(201,168,76,0.08) 0px, rgba(201,168,76,0.08) 1px, transparent 1px, transparent 60px),
    linear-gradient(135deg, #0b1d33 0%, #132d4f 50%, #1a3a5c 100%);
}

.img-placeholder.realestate {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
  background-image:
    radial-gradient(circle at 30% 70%, rgba(201,168,76,0.2) 0%, transparent 50%),
    linear-gradient(135deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
}

.img-placeholder.city {
  background: linear-gradient(135deg, #343a40 0%, #495057 40%, #6c757d 100%);
  background-image:
    radial-gradient(circle at 70% 30%, rgba(201,168,76,0.25) 0%, transparent 50%),
    linear-gradient(135deg, #343a40 0%, #495057 40%, #6c757d 100%);
}

/* --- Hero Section for Homepage --- */
.hero-section {
  background: linear-gradient(135deg, #0b1d33 0%, #132d4f 60%, #1a4a6e 100%);
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,119,182,0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0b1d33 0%, #132d4f 60%, #1a4a6e 100%);
  position: relative;
}

/* --- Decorative stat boxes with gold accents --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  background: linear-gradient(135deg, #0b1d33, #132d4f);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #fff;
  transition: transform 0.3s, border-color 0.3s;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
}

/* --- Visual dividers --- */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  margin: 2rem 0;
  border-radius: 2px;
}

/* --- CTA Banner with gradient --- */
.cta-section {
  background: linear-gradient(135deg, #0b1d33 0%, #132d4f 60%, #1a4a6e 100%);
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.1) 0%, transparent 60%),
    linear-gradient(135deg, #0b1d33 0%, #132d4f 60%, #1a4a6e 100%);
}

/* --- Better table styling --- */
.table-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 1.5rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

thead th {
  background: linear-gradient(135deg, #0b1d33, #132d4f);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.9rem;
}

tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

tbody tr:nth-child(even) {
  background: rgba(201,168,76,0.04);
}

tbody tr:hover {
  background: rgba(201,168,76,0.08);
}

/* --- Info box visual improvements --- */
.info-box {
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid;
  position: relative;
}

.info-box.tip {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-left-color: #22c55e;
}

.info-box.warning {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-left-color: #f59e0b;
}

.info-box.highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left-color: #3b82f6;
}

.info-box-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* --- FAQ visual improvements --- */
.faq-section {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

.faq-question {
  background: var(--color-bg-card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  color: var(--color-primary);
}

.faq-question:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(201,168,76,0.15);
}

/* --- Footer visual update --- */
.site-footer {
  background: linear-gradient(180deg, #0b1d33, #060e19);
}
