/* ═══════════════════════════════════════════════════════════
   PV LAW FIRM — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --dark:      #2c313a;
  --dark2:     #1a1f2e;
  --cream:     #e5deda;
  --cream-lt:  #f5f1ec;
  --tan:       #b49f8f;
  --gold:      #c4a862;
  --gold-dark: #a8893f;
  --white:     #ffffff;
  --text:      #333333;
  --text-lt:   #666666;
  --light-bg:  #f8f6f3;
  --border:    rgba(44,49,58,0.1);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-label: 'Raleway', sans-serif;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);

  --radius:     8px;
  --radius-lg:  16px;

  --trans:      0.3s ease;
  --header-h:   80px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Typography ────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .label { color: var(--gold); margin-bottom: 0.75rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-lt); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,168,98,0.35);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-xs { padding: 0.4rem 0.875rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,49,58,0.1);
  transition: all var(--trans);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-logo img { height: 48px; width: auto; }
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: all var(--trans);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-dark);
  background: rgba(196,168,98,0.12);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 560px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  pointer-events: none;
  border: 1px solid var(--border);
  overflow: hidden;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: 100%;
  pointer-events: all;
}
.dropdown-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark2);
  padding: 1.5rem;
  gap: 1rem;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  transition: all var(--trans);
  font-size: 0.9rem;
  position: relative;
}
.dropdown-item.featured {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  flex-direction: column;
  gap: 0.5rem;
}
.dropdown-item.featured:hover { background: rgba(196,168,98,0.2); }
.dropdown-item.featured i {
  font-size: 1.5rem;
  color: var(--gold);
}
.dropdown-item.featured strong { font-size: 0.95rem; display: block; }
.dropdown-item.featured small { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.feat-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,168,98,0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 1rem;
}
.dropdown-grid .dropdown-item {
  color: var(--text);
  font-weight: 500;
  align-items: center;
}
.dropdown-grid .dropdown-item i {
  width: 1.25rem;
  color: var(--gold);
}
.dropdown-grid .dropdown-item:hover {
  background: var(--light-bg);
  color: var(--dark);
}
.all-services { color: var(--text-lt) !important; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(44,49,58,0.35);
  font-size: 0.8rem;
}
.lang-btn {
  color: rgba(44,49,58,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-label);
  letter-spacing: 0.05em;
  transition: color var(--trans);
}
.lang-btn.active, .lang-btn:hover { color: var(--gold-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── Mobile Menu ───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 300px;
  height: 100dvh;
  background: var(--dark2);
  z-index: 1100;
  transition: right var(--trans);
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 2rem; }
.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: all var(--trans);
  font-size: 0.95rem;
}
.mobile-menu ul li a:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
.mobile-menu .mobile-featured a { color: var(--gold) !important; }
.mobile-menu .mobile-section-title {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1rem 0.25rem;
  font-family: var(--font-label);
}
.mobile-lang { display: flex; gap: 1rem; margin-bottom: 1.5rem; padding: 0 1rem; }
.mobile-lang a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.mobile-lang a.active { color: var(--gold); font-weight: 600; }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}
.mobile-overlay.show { display: block; }

/* ─── Page Wrapper ──────────────────────────────────────── */
.page-content { padding-top: var(--header-h); }

/* ─── HERO — Home ───────────────────────────────────────── */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark2);
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,31,46,0.92) 0%, rgba(26,31,46,0.78) 45%, rgba(44,49,58,0.70) 100%),
    url('/assets/images/pv-cityscape.jpg') center/cover no-repeat;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
}
.hero-text { animation: fadeInLeft 0.8s ease; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,168,98,0.15);
  border: 1px solid rgba(196,168,98,0.3);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '✦'; font-size: 0.6rem; }
.hero-h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
}
.hero-h1 span { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item { text-align: center; }
.trust-item .num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.trust-item .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-label);
}

/* Hero visual panel */
.hero-visual { animation: fadeInRight 0.8s ease 0.2s both; }
.hero-cards { display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: all var(--trans);
  cursor: default;
}
.hero-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,168,98,0.3);
  transform: translateX(4px);
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(196,168,98,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-card h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.hero-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}
.hero-card.main-card {
  background: linear-gradient(135deg, rgba(196,168,98,0.2), rgba(196,168,98,0.05));
  border-color: rgba(196,168,98,0.4);
}
.hero-card.main-card .hero-card-icon {
  background: rgba(196,168,98,0.3);
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-label);
}

/* ─── Services Grid ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--trans);
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196,168,98,0.3);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff 60%, rgba(196,168,98,0.05));
}
.service-card.featured::before { transform: scaleX(1); }
.service-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: var(--font-label);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(196,168,98,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-lt);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-link {
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.service-link:hover { gap: 0.75rem; }

/* ─── Why Us ─────────────────────────────────────────────── */
.why-us { background: var(--light-bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 1.75rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(196,168,98,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.why-item p { color: var(--text-lt); font-size: 0.9rem; margin: 0; }
.why-visual {
  background:
    linear-gradient(160deg, rgba(20,24,35,0.86) 0%, rgba(20,24,35,0.78) 100%),
    url('/assets/images/lawyer-desk.jpg') right center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(196,168,98,0.08);
}
.why-visual .quote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  position: relative;
}
.why-visual .quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: Georgia;
  line-height: 1;
}
.why-ratings {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rating-item { text-align: center; }
.rating-item .n {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-serif);
  display: block;
}
.rating-item .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Blog Grid ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(196,168,98,0.3);
}
.blog-card-image {
  background: var(--dark);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-image .cat-icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.6;
}
.blog-cat-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.blog-card:hover .blog-cat-bg, .blog-post-item:hover .blog-cat-bg { transform: scale(1.06); }
.blog-cat-bg.real-estate { background-image: linear-gradient(135deg, rgba(26,31,46,0.55), rgba(26,31,46,0.30)), url('/assets/images/villa.jpg'); }
.blog-cat-bg.timeshare    { background-image: linear-gradient(135deg, rgba(31,26,46,0.55), rgba(46,26,32,0.30)), url('/assets/images/consultation.jpg'); }
.blog-cat-bg.immigration  { background-image: linear-gradient(135deg, rgba(26,35,31,0.55), rgba(46,58,44,0.30)), url('/assets/images/handshake.jpg'); }
.blog-cat-bg.services     { background-image: linear-gradient(135deg, rgba(31,26,46,0.55), rgba(46,44,26,0.30)), url('/assets/images/team-meeting.jpg'); }
.blog-cat-label {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(196,168,98,0.2);
  border: 1px solid rgba(196,168,98,0.3);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-label);
}
.blog-card-body { padding: 1.5rem; }
.blog-date {
  font-size: 0.78rem;
  color: var(--text-lt);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card p {
  color: var(--text-lt);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-read-link {
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--trans);
}
.blog-read-link:hover { gap: 0.75rem; }

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
  background: var(--dark2);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(196,168,98,0.15) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); position: relative; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(26,31,46,0.93) 0%, rgba(26,31,46,0.82) 55%, rgba(44,49,58,0.78) 100%),
    url('/assets/images/pv-cityscape.jpg') center 30%/cover no-repeat;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--gold); }
.page-hero .label { color: var(--gold); margin-bottom: 0.75rem; display: block; }
.page-hero h1 { color: var(--white); max-width: 700px; margin-bottom: 1rem; }
.page-hero .sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.page-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Service Page Content ───────────────────────────────── */
.service-content { padding: 5rem 0; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: flex-start;
}
.service-body h2 { margin: 2rem 0 1rem; font-size: 1.75rem; }
.service-body h3 { margin: 1.5rem 0 0.75rem; font-size: 1.3rem; }
.service-body ul { margin: 0 0 1.5rem 1.5rem; list-style: disc; }
.service-body ul li { margin-bottom: 0.5rem; color: var(--text); }
.service-body ol { margin: 0 0 1.5rem 1.5rem; }
.service-body ol li { margin-bottom: 0.75rem; }
.service-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.service-body table th,
.service-body table td { border: 1px solid var(--border); padding: 0.75rem 1rem; text-align: left; }
.service-body table th { background: var(--light-bg); font-weight: 600; }
.service-body .highlight-box {
  background: rgba(196,168,98,0.08);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.service-body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.service-body a:hover { color: var(--gold); }

/* Sidebar */
.service-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.sidebar-card.featured {
  background: var(--dark);
  border-color: transparent;
}
.sidebar-card h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-card.featured h4 { color: var(--white); }
.sidebar-card.featured p { color: rgba(255,255,255,0.65); }
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: rgba(196,168,98,0.1);
}
.sidebar-contact-item i { color: var(--gold); width: 1rem; }
.sidebar-contact-item span { font-size: 0.9rem; }
.related-links { display: flex; flex-direction: column; gap: 0.5rem; }
.related-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all var(--trans);
  color: var(--text);
}
.related-link:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(196,168,98,0.05); }
.related-link i { color: var(--gold); }

/* ─── Process Steps ──────────────────────────────────────── */
.process-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child) .step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h4 { margin-bottom: 0.25rem; padding-top: 0.6rem; }
.step-body p { color: var(--text-lt); font-size: 0.9rem; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--light-bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  background: none;
  cursor: pointer;
  transition: color var(--trans);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--trans);
  flex-shrink: 0;
}
.faq-item.open .faq-question .icon { background: var(--gold); border-color: var(--gold); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 1.25rem; color: var(--text-lt); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ─── Blog single ─────────────────────────────────────────── */
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: flex-start;
}
.blog-article h2 { margin: 2rem 0 1rem; }
.blog-article h3 { margin: 1.5rem 0 0.75rem; }
.blog-article ul { margin: 0 0 1.5rem 1.5rem; list-style: disc; }
.blog-article ol { margin: 0 0 1.5rem 1.5rem; }
.blog-article li { margin-bottom: 0.5rem; }
.blog-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.blog-article th, .blog-article td { border: 1px solid var(--border); padding: 0.75rem; }
.blog-article th { background: var(--light-bg); font-weight: 600; }
.blog-article a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.blog-article strong { color: var(--dark); }
.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article-meta .cat-tag {
  background: rgba(196,168,98,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}
.article-meta .date, .article-meta .author {
  font-size: 0.875rem;
  color: var(--text-lt);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Blog list page */
.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: flex-start;
}
.blog-posts-list { display: flex; flex-direction: column; gap: 2rem; }
.blog-post-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--trans);
}
.blog-post-item:hover {
  border-color: rgba(196,168,98,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.blog-post-thumb {
  height: 150px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-post-thumb i {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(26,31,46,0.45);
  border: 1px solid rgba(196,168,98,0.5);
  font-size: 1.4rem !important;
  backdrop-filter: blur(2px);
}
.blog-post-body .cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}
.blog-post-body h3 { font-size: 1.3rem; line-height: 1.35; margin-bottom: 0.5rem; }
.blog-post-body h3 a { color: var(--dark2); transition: color var(--trans); }
.blog-post-body h3 a:hover { color: var(--gold-dark); }
.blog-post-body p { color: var(--text-lt); font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.75rem; }
.blog-post-body .meta { font-size: 0.78rem; color: var(--text-lt); }
.blog-post-body .meta i { color: var(--gold-dark); margin-right: 0.35rem; }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-widget h4 { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.category-list { display: flex; flex-direction: column; gap: 0.25rem; }
.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all var(--trans);
}
.category-item:hover { background: var(--light-bg); color: var(--gold-dark); }
.category-item .count {
  background: var(--light-bg);
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-lt);
}
.recent-posts { display: flex; flex-direction: column; gap: 0.75rem; }
.recent-post {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post a { font-size: 0.875rem; font-weight: 500; line-height: 1.4; transition: color var(--trans); }
.recent-post a:hover { color: var(--gold-dark); }
.recent-post .date { font-size: 0.75rem; color: var(--text-lt); margin-top: 0.25rem; }

/* ─── Contact Page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(196,168,98,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.contact-item p, .contact-item a {
  color: var(--text-lt);
  font-size: 0.9rem;
  transition: color var(--trans);
}
.contact-item a:hover { color: var(--gold-dark); }

/* ─── About Page ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background:
    linear-gradient(160deg, rgba(20,24,35,0.90) 0%, rgba(20,24,35,0.82) 100%),
    url('/assets/images/office.jpg') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  position: relative;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}
.about-stat .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.about-stat .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--trans);
}
.team-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}
.team-card h4 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.team-card .role { color: var(--gold-dark); font-size: 0.85rem; font-weight: 500; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--dark2); color: rgba(255,255,255,0.7); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo img { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer-contact-link:hover { color: var(--gold); }
.footer-contact-link i { color: var(--gold); width: 1rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,168,98,0.3);
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: all var(--trans);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-3px); }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-label);
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--gold); }
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}
.footer-address i { color: var(--gold); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-disclaimer { max-width: 500px; text-align: right; }

/* ─── WhatsApp Float ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--trans);
  font-weight: 600;
  font-size: 0.875rem;
  max-width: 220px;
  overflow: hidden;
}
.wa-float:hover {
  background: #1ebe5c;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transform: translateY(-3px);
}
.wa-label {
  white-space: nowrap;
  overflow: hidden;
  max-width: 120px;
  transition: max-width var(--trans), opacity var(--trans);
}

/* ─── Cookie Bar ─────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 800;
  font-size: 0.875rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar a { color: var(--gold); text-decoration: underline; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Utilities ──────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--dark2); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding: 6rem 1.5rem 4rem; }
  .hero-visual { display: none; }
  .hero-text { max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-list-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-right .btn-sm { display: none; }
  .hero-h1 { font-size: 2rem; }
  .hero-trust { flex-wrap: wrap; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-post-item { grid-template-columns: 1fr; }
  .blog-post-thumb { height: 180px; }
  .wa-label { display: none; }
  .wa-float { padding: 0.875rem; }
  .dropdown { display: none; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns { flex-direction: column; }
  .btn-full-mobile { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about-stats { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 1rem; }
}
