/*
Theme Name: Camimmo
Theme URI: https://www.camimmo.lu
Author: Camimmo SARL-S
Author URI: https://andmore.lu
Description: Thème WordPress sur mesure pour l'agence immobilière Camimmo — L'accélérateur immobilier du Luxembourg. Compatible Estatik.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: All Rights Reserved
License URI: https://www.camimmo.lu
Text Domain: camimmo
Tags: real-estate, immobilier, luxembourg, estatik, one-page, custom-logo
*/

/* ─── VARIABLES ─── */
:root {
  --navy: #1A2130;
  --navy-light: #252f42;
  --blue: #A8CCEC;
  --blue-light: #d4e8f7;
  --yellow: #DDE89A;
  --yellow-light: #eef3c5;
  --white: #ffffff;
  --off-white: #F7F8F4;
  --gray: #8a8f9a;
  --gray-light: #e8e9eb;
  --text: #1A2130;
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,33,48,0.06);
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.nav-logo .custom-logo {
  max-height: 36px;
  width: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta,
.nav-links li.nav-cta a {
  background: var(--navy) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover,
.nav-links li.nav-cta a:hover { background: var(--navy-light) !important; }

/* ─── MOBILE MENU ─── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── MOBILE MENU OPEN STATE ─── */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  gap: 0;
  box-shadow: 0 12px 32px rgba(26,33,48,0.1);
  z-index: 999;
}

.nav-links.open li {
  width: 100%;
}

.nav-links.open li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,33,48,0.06);
  opacity: 1 !important;
  font-size: 16px;
}

.nav-links.open li:last-child a {
  border-bottom: none;
}

.nav-links.open li.nav-cta a {
  margin-top: 12px;
  text-align: center;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: 0.5;
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
}

h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

h1 em {
  font-style: normal;
  color: var(--navy);
  opacity: 0.35;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.65;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(26,33,48,0.25);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--navy); transform: translateY(-1px); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(26,33,48,0.1);
}

.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--navy);
  opacity: 0.55;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card-main {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.hero-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(26,33,48,0.9));
}

.hero-card-overlay p {
  color: var(--white);
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.hero-card-overlay strong {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  display: block;
}

.hero-card-price {
  display: block;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
}

a.hero-card-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s;
}

a.hero-card-link:hover {
  transform: scale(1.02);
}

.hero-card-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--yellow);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.hero-floating-cards {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  gap: 10px;
}

.mini-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(26,33,48,0.12);
  min-width: 120px;
}

.mini-card .mini-label {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 4px;
}

.mini-card .mini-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.mini-card .mini-delta {
  font-size: 12px;
  color: #3a9e6a;
  font-weight: 500;
}

/* ─── SECTIONS ─── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 600;
  color: var(--navy);
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.6;
  max-width: 380px;
}

/* ─── SERVICES ─── */
.services-section {
  padding: 100px 48px;
  background: var(--white);
}

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

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,33,48,0.1);
  border-color: var(--blue);
}

.service-card.featured {
  background: var(--navy);
  color: var(--white);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 22px;
}

.service-card:not(.featured) .service-icon {
  background: var(--blue-light);
}

.service-card.featured .service-icon {
  background: rgba(255,255,255,0.1);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card.featured h3 { color: var(--white); }

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.65;
  margin-bottom: 32px;
}

.service-card.featured p { color: var(--white); }

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
}

.service-card.featured .service-arrow { color: var(--yellow); }

.service-arrow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.service-card:not(.featured) .service-arrow-icon { background: var(--navy); }
.service-card.featured .service-arrow-icon { background: var(--yellow); }

.service-card:hover .service-arrow-icon { transform: translateX(4px); }

/* ─── WHY ─── */
.why-section {
  padding: 100px 48px;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-section h2 { color: var(--white); }
.why-section .section-tag { background: rgba(168,204,236,0.15); color: var(--blue); }

.why-text p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-top: 20px;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-item {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s;
}

.why-item:hover { border-color: rgba(168,204,236,0.3); }

.why-item .why-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

/* ─── LISTINGS / ANNONCES ─── */
.listings-section {
  padding: 100px 48px;
  background: var(--off-white);
}

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

.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(26,33,48,0.15);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

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

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

.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,33,48,0.1);
}

.listing-card a {
  text-decoration: none;
  color: inherit;
}

.listing-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--blue-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.listing-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-type {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.listing-price {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

.listing-body { padding: 20px 22px 24px; }

.listing-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.listing-loc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-details {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

.listing-detail {
  font-size: 13px;
  color: var(--navy);
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── ESTIMATION ─── */
.estimation-section {
  padding: 100px 48px;
  background: var(--white);
  min-height: 100vh;
}

.estimation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.estimation-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(26,33,48,0.12);
  background: var(--white);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

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

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

.form-submit {
  width: 100%;
  padding: 15px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--navy-light); }

.estimation-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-bottom: 16px;
}

.estimation-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 32px;
}

.estimation-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.est-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.est-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.est-step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.est-step-content p {
  font-size: 14px;
  color: var(--navy);
  opacity: 0.6;
  margin: 0;
}

/* ─── CONTACT ─── */
.contact-section {
  padding: 100px 48px;
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--navy);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}

/* ─── CTA STRIP ─── */
.cta-strip {
  padding: 80px 48px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-strip h2 {
  font-size: clamp(28px, 3vw, 42px);
  max-width: 560px;
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.btn-dark:hover { background: var(--navy-light); }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 140px 48px 60px;
  background: var(--off-white);
  border-bottom: 1px solid rgba(26,33,48,0.06);
}

.page-header h1 { font-size: clamp(36px, 4vw, 52px); }

.page-header p {
  font-size: 18px;
  color: var(--navy);
  opacity: 0.6;
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.6;
}

/* ─── ABOUT ─── */
.about-section {
  padding: 100px 48px;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-visual {
  position: relative;
}

.about-visual-main {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-quote {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 280px;
  box-shadow: 0 20px 60px rgba(26,33,48,0.1);
}

.about-quote p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.about-quote cite {
  font-size: 12px;
  color: var(--gray);
  font-style: normal;
}

.about-content h2 { margin-bottom: 20px; }

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.value-item {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
}

.value-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 13px;
  color: var(--navy);
  opacity: 0.55;
  margin: 0;
  line-height: 1.4;
}

/* ─── FOOTER ─── */
footer.site-footer {
  background: var(--navy);
  padding: 60px 48px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ─── ESTIMATION HERO LAYOUT ─── */
.estimation-hero {
  background: var(--navy);
  padding: 140px 48px 100px;
  position: relative;
  overflow: hidden;
}

.estimation-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA card (right side) */
.estimation-hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.estimation-cta-popup-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--yellow);
  border-radius: 24px;
  padding: 48px 36px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: ctaPulse 3s ease-in-out infinite;
}

.estimation-cta-popup-large:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(221,232,154,0.3);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(221,232,154,0.15); }
  50% { box-shadow: 0 16px 48px rgba(221,232,154,0.3); }
}

.estimation-cta-icon-lg {
  font-size: 52px;
}

.estimation-cta-popup-large strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.estimation-cta-popup-large p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.6;
  margin: 0;
}

.estimation-cta-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s;
}

.estimation-cta-popup-large:hover .estimation-cta-btn {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.estimation-hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.estimation-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .estimation-hero { padding: 120px 24px 80px; }
  .estimation-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .estimation-cta-popup-large {
    padding: 36px 28px;
  }
  .estimation-hero-badges {
    flex-wrap: wrap;
  }
}

/* ─── LEGAL PAGES ─── */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.legal-header p {
  font-size: 1.1rem;
  color: var(--navy);
  opacity: 0.6;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26,33,48,0.1);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.75;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.75;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.legal-content a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: 12px;
  font-size: 0.9rem !important;
  color: var(--navy);
  opacity: 0.7;
}

/* Fees Grid */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 48px;
}

.fee-card {
  background: var(--white);
  border: 1px solid rgba(26,33,48,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.fee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,33,48,0.08);
}

.fee-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.fee-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.fee-amount {
  font-size: 1.1rem !important;
  font-weight: 600;
  color: var(--navy) !important;
  opacity: 1 !important;
  margin-bottom: 8px !important;
}

.fee-detail {
  font-size: 0.85rem !important;
  opacity: 0.6 !important;
}

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

/* ─── SINGLE PROPERTY (ESTATIK) ─── */
.detail-hero-section {
  width: 100%;
  aspect-ratio: 16/7;
  position: relative;
  overflow: hidden;
  background: var(--blue-light);
}

.detail-hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.detail-hero-price {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.detail-body {
  padding: 36px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-main h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-bottom: 6px;
}

.detail-loc {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}

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

.detail-spec-val {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.detail-spec-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.detail-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 24px;
}

.detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-feature {
  background: var(--blue-light);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-contact-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
}

.detail-contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-contact-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  line-height: 1.5;
}

.detail-contact-card .btn-primary {
  width: 100%;
  padding: 12px;
  border-radius: 100px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  display: block;
}

.detail-contact-card .btn-primary:hover { opacity: 0.85; background: var(--yellow); }

.detail-contact-card .btn-outline {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 0;
  text-align: center;
  display: block;
}

.detail-ref {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.detail-ref p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.detail-ref strong {
  font-size: 14px;
  color: var(--navy);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Hero animations on load */
.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.fade-up-2 { animation-delay: 0.12s; }
.fade-up-3 { animation-delay: 0.24s; }
.fade-up-4 { animation-delay: 0.36s; }

/* Title highlight animation */
@keyframes underlineGrow {
  from { width: 0; }
  to { width: 100%; }
}

h1 .highlight, h2 .highlight {
  position: relative;
  display: inline;
}

h1 .highlight::after, h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.reveal.visible h1 .highlight::after,
.reveal.visible h2 .highlight::after,
.visible .highlight::after {
  animation: underlineGrow 0.6s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

.fade-up h1 .highlight::after,
.fade-up-2 h1 .highlight::after {
  animation: underlineGrow 0.6s cubic-bezier(0.16,1,0.3,1) 0.7s both;
}

/* ─── ESTATIK OVERRIDES ─── */
.es-property-list .es-property {
  border-radius: var(--radius) !important;
  overflow: hidden;
}

/* ─── WP OVERRIDES ─── */
.wp-block-image img {
  border-radius: var(--radius);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav.main-nav { padding: 14px 20px; }
  .nav-logo svg { height: 60px !important; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }

  .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .hero-sub { font-size: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-section { padding: 60px 24px; }
  .section-header { flex-direction: column; gap: 16px; }

  .why-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .listings-section { padding: 60px 24px; }
  .listings-grid { grid-template-columns: 1fr 1fr; }

  .estimation-layout { grid-template-columns: 1fr; }
  .estimation-section { padding: 60px 24px; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-section { padding: 60px 24px; }

  .about-layout { grid-template-columns: 1fr; }
  .about-section { padding: 60px 24px; }
  .about-visual { max-height: 300px; }

  .cta-strip { flex-direction: column; padding: 60px 24px; text-align: center; }
  .cta-strip h2 { font-size: clamp(24px, 5vw, 36px); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand svg { height: 60px !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal-links { justify-content: center; }

  .detail-body { grid-template-columns: 1fr; padding: 24px; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }

  .page-header { padding: 110px 24px 40px; }
  .page-header h1 { font-size: clamp(28px, 6vw, 44px); }

  .legal-page { padding: 110px 20px 60px; }
  .fees-grid { grid-template-columns: 1fr; }

  /* Estimation page hero */
  .estimation-hero { padding: 110px 24px 70px; }
  .estimation-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .estimation-hero-grid h1 { font-size: clamp(32px, 7vw, 48px) !important; }
  .estimation-cta-popup-large { padding: 36px 24px; }
  .estimation-hero-badges { flex-wrap: wrap; justify-content: center; }
  .estimation-badge { font-size: 12px; padding: 8px 12px; }

  /* Estimation page sections (inline styles override) */
  [style*="padding: 100px 48px"] { padding: 60px 24px !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns: 1.1fr 0.9fr"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  nav.main-nav { padding: 12px 16px; }
  .nav-logo svg { height: 48px !important; }

  .hero { padding: 90px 16px 50px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions a { text-align: center; }
  .hero-stats { flex-direction: column; gap: 20px; }

  .listings-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand svg { height: 48px !important; }

  .estimation-hero { padding: 100px 16px 60px; }
  .estimation-hero-grid { gap: 32px; }
  .estimation-hero-badges { gap: 8px; }
  .estimation-badge { font-size: 11px; padding: 6px 10px; }

  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr !important; }
  [style*="gap: 32px; margin-top: 48px"] { gap: 24px !important; }

  .section-header h2,
  .services-section h2,
  .why-text h2 { font-size: clamp(24px, 6vw, 36px); }

  .service-card { padding: 28px 20px; }
  .cta-strip { padding: 48px 16px; }
  .legal-page { padding: 100px 16px 48px; }
}
