/* ===== LAMASH LEGACY LAW — GLOBAL STYLES ===== */
:root {
  --navy: #1b2838;
  --navy-light: #243447;
  --gold: #b8956a;
  --gold-light: #d4b896;
  --gold-pale: #f0e6d8;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --charcoal: #2a2a2a;
  --text: #3d3d3d;
  --text-light: #6b6b6b;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* WordPress admin bar offset for the fixed nav */
body.admin-bar nav#nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar nav#nav { top: 46px; } }

img { max-width: 100%; height: auto; }
a { color: var(--gold); }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27, 40, 56, 0.97);
  backdrop-filter: blur(12px);
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15); }

.nav-logo {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  font-size: 20px; font-weight: 700; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
}
.nav-logo span { color: var(--white); font-weight: 400; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 14px; font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.5px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--gold); }
.nav-links ul { list-style: none; display: flex; gap: 32px; align-items: center; margin: 0; padding: 0; }

.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 10px 24px; font-weight: 600; letter-spacing: 0.5px;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-phone { color: var(--gold) !important; font-weight: 600; font-size: 15px !important; }

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 16px 36px; text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-primary-dark {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 16px 36px; text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; transition: all 0.3s;
}
.btn-primary-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); padding: 16px 24px; text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); padding: 16px 24px; text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; letter-spacing: 0.5px;
  border: 1px solid rgba(27,40,56,0.3); transition: all 0.3s;
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, rgba(184,149,106,0.08) 0%, rgba(184,149,106,0.03) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero-content {
  max-width: 1200px; margin: 0 auto; padding: 120px 40px 80px;
  position: relative; z-index: 2;
}
.hero-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px); color: var(--white);
  font-weight: 400; line-height: 1.15; margin-bottom: 12px; max-width: 700px;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,0.6);
  margin-bottom: 48px; max-width: 520px; font-weight: 300;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-rating {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-rating .stars { display: flex; gap: 4px; }
.hero-rating .rating-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px;
}

/* Hero Badges */
.hero-badges {
  display: flex; align-items: center; gap: 28px;
  margin-top: 36px; padding: 24px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.hero-badge-item { display: flex; align-items: center; gap: 10px; }
.hero-badge-stars { display: flex; gap: 3px; }
.hero-badge-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px; color: rgba(255,255,255,0.7);
  font-weight: 600; letter-spacing: 0.3px;
}
.hero-badge-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
.avvo-logo {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 20px; font-weight: 800; color: #4C9AFF; letter-spacing: -0.5px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy); padding: 140px 40px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 35%;
  background: linear-gradient(135deg, rgba(184,149,106,0.06) 0%, rgba(184,149,106,0.02) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .hero-label { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px); color: var(--white);
  font-weight: 400; line-height: 1.2; margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.6);
  max-width: 600px; line-height: 1.7;
}

/* ===== SECTION HELPERS ===== */
.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 0 40px;
}
.section-divider::before, .section-divider::after {
  content: ''; height: 1px; width: 60px; background: var(--gold); opacity: 0.4;
}
.section-divider .diamond {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); opacity: 0.5;
}

.section-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.section-title {
  font-size: clamp(28px, 3.5vw, 42px); color: var(--navy);
  font-weight: 400; margin-bottom: 60px; max-width: 600px;
}

/* ===== MANIFESTO ===== */
.manifesto { padding: 100px 40px; background: var(--cream); }
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote { position: relative; padding-left: 32px; border-left: 3px solid var(--gold); }
.manifesto-quote p {
  font-size: clamp(17px, 1.8vw, 20px); color: var(--charcoal);
  margin-bottom: 20px; line-height: 1.8;
}
.manifesto-quote p:last-of-type { margin-bottom: 0; }
.manifesto-quote .pain { color: var(--text-light); font-style: italic; }
.manifesto-quote .strong-line { color: var(--navy); font-weight: 600; }

.manifesto-signature {
  margin-top: 32px; padding-left: 32px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: var(--text-light); letter-spacing: 0.5px;
}
.manifesto-signature strong {
  display: block; color: var(--charcoal); font-size: 16px; margin-bottom: 2px;
}

/* ===== DIFFERENCE ===== */
.difference { padding: 100px 40px; background: var(--cream); }
.difference-inner { max-width: 1100px; margin: 0 auto; }

.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.diff-card {
  padding: 40px 32px; background: var(--white);
  border: 1px solid rgba(184,149,106,0.15);
  transition: all 0.4s; position: relative;
}
.diff-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); opacity: 0; transition: opacity 0.4s;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.diff-card:hover::before { opacity: 1; }

.diff-icon {
  width: 48px; height: 48px; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 22px;
}
.diff-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.diff-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ===== COMPARE ===== */
.compare { padding: 100px 40px; background: var(--navy); }
.compare-inner { max-width: 900px; margin: 0 auto; }
.compare .section-title { color: var(--white); margin-bottom: 48px; }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table thead th {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 24px; text-align: left; color: var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.compare-table thead th:last-child, .compare-table thead th:nth-child(2) { text-align: center; }
.compare-table tbody td {
  padding: 18px 24px; font-size: 15px; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.compare-table tbody td:nth-child(2), .compare-table tbody td:last-child { text-align: center; font-size: 20px; }
.compare-table .check { color: var(--gold); }
.compare-table .cross { color: rgba(255,255,255,0.2); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 40px; background: var(--white); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }

.google-badge {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 48px; padding: 12px 20px;
  background: var(--cream); border: 1px solid rgba(184,149,106,0.15);
  width: fit-content;
}
.google-badge .stars-inline { display: flex; gap: 2px; }
.google-badge span {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: var(--text-light); font-weight: 500;
}

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

.testimonial-card {
  background: var(--cream); padding: 32px; border: 1px solid rgba(184,149,106,0.1);
  display: flex; flex-direction: column; transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.testimonial-stars { color: #FBBC04; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 15px; color: var(--text); line-height: 1.8;
  flex: 1; margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid rgba(184,149,106,0.15);
}
.testimonial-avatar {
  width: 40px; height: 40px; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px; font-weight: 600; flex-shrink: 0;
}
.testimonial-author strong {
  display: block; font-size: 14px; color: var(--navy);
  font-family: system-ui, -apple-system, sans-serif;
}
.testimonial-author span {
  font-size: 12px; color: var(--text-light);
  font-family: system-ui, -apple-system, sans-serif;
}

/* ===== SERVICE CARDS V2 (with images) ===== */
.services-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card-v2 {
  background: var(--white); border: 1px solid rgba(184,149,106,0.12);
  text-decoration: none; color: inherit;
  transition: all 0.4s; overflow: hidden;
}
.service-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.service-img {
  height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.service-img svg { width: 80%; height: 80%; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.service-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.service-link {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; color: var(--gold); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* ===== SERVICE ICONS ===== */
.service-icon {
  width: 56px; height: 56px; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services { padding: 100px 40px; background: var(--cream); }
.services-inner { max-width: 1100px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  padding: 36px 32px; background: var(--white);
  border: 1px solid rgba(184,149,106,0.12);
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s; text-decoration: none; color: inherit;
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }

.service-num {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 32px; font-weight: 200; color: var(--gold); line-height: 1; min-width: 40px;
}
.service-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== SERVICE DETAIL (services page) ===== */
.service-detail { padding: 80px 40px; background: var(--cream); }
.service-detail:nth-child(even) { background: var(--white); }
/* Explicit alternation for Elementor-built sections (nth-child is unreliable there). */
.service-detail.alt { background: var(--white); }
.service-detail-inner { max-width: 900px; margin: 0 auto; }
.service-detail h2 {
  font-size: clamp(24px, 3vw, 34px); color: var(--navy);
  font-weight: 400; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--gold-pale);
}
.service-detail h3 { font-size: 18px; color: var(--navy); margin: 28px 0 12px; font-weight: 600; }
.service-detail p { font-size: 16px; color: var(--text); margin-bottom: 16px; line-height: 1.8; }
.service-detail ul { margin: 12px 0 20px 20px; color: var(--text); }
.service-detail ul li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; }

/* ===== PROMISE ===== */
.promise { padding: 100px 40px; background: var(--cream-dark); }
.promise-inner { max-width: 1100px; margin: 0 auto; }
.promise-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid rgba(184,149,106,0.2); background: var(--white);
}
.promise-item { padding: 40px 28px; text-align: center; border-right: 1px solid rgba(184,149,106,0.15); }
.promise-item:last-child { border-right: none; }
.promise-icon { font-size: 28px; margin-bottom: 16px; }
.promise-item h4 { font-size: 15px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.promise-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 40px; background: var(--cream); }
.faq-section-inner { max-width: 800px; margin: 0 auto; }

.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-size: 20px; color: var(--navy); margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold-pale);
}

.faq-item {
  background: var(--white); border: 1px solid rgba(184,149,106,0.12);
  margin-bottom: 12px; transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: system-ui, -apple-system, sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--gold);
  font-weight: 300; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p, .faq-item ul {
  padding: 0 24px 20px; font-size: 15px; color: var(--text-light); line-height: 1.8;
}
.faq-item ul { padding-left: 44px; }
.faq-item ul li { margin-bottom: 6px; }

.faq-preview { padding: 100px 40px; background: var(--cream-dark); }
.faq-preview-inner { max-width: 800px; margin: 0 auto; }
.faq-items-home .faq-item { background: var(--white); }

/* Elementor Accordion styled to match (FAQ built natively in Elementor) */
.faq-section .elementor-accordion .elementor-accordion-item,
.faq-preview .elementor-accordion .elementor-accordion-item {
  background: var(--white); border: 1px solid rgba(184,149,106,0.12) !important;
  margin-bottom: 12px;
}
.faq-section .elementor-accordion .elementor-tab-title,
.faq-preview .elementor-accordion .elementor-tab-title {
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--navy) !important;
  font-family: system-ui, -apple-system, sans-serif; border: none !important;
}
.faq-section .elementor-accordion .elementor-tab-title.elementor-active { color: var(--navy) !important; }
.faq-section .elementor-accordion .elementor-tab-content,
.faq-preview .elementor-accordion .elementor-tab-content {
  padding: 0 24px 20px !important; font-size: 15px; color: var(--text-light);
  line-height: 1.8; border: none !important;
}
.faq-section .elementor-accordion .elementor-accordion-icon,
.faq-preview .elementor-accordion .elementor-accordion-icon { color: var(--gold); }

/* ===== SERVICE AREAS ===== */
.areas { padding: 100px 40px; background: var(--white); }
.areas-inner { max-width: 1100px; margin: 0 auto; }
.areas-intro {
  font-size: 16px; color: var(--text-light); line-height: 1.8;
  max-width: 700px; margin: -40px 0 48px;
}
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.areas-col h4 {
  font-size: 15px; color: var(--navy); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold-pale);
  font-family: system-ui, -apple-system, sans-serif; letter-spacing: 0.3px;
}
.areas-col ul { list-style: none; }
.areas-col ul li {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: var(--text); padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04); transition: color 0.2s;
}
.areas-col ul li:hover { color: var(--gold); }
.areas-note {
  margin-top: 32px; font-size: 14px; color: var(--text-light);
  font-family: system-ui, -apple-system, sans-serif;
}
.areas-note a { color: var(--gold); text-decoration: none; font-weight: 600; }
.areas-note a:hover { text-decoration: underline; }

/* ===== CTA BANNER ===== */
.cta-banner { padding: 100px 40px; background: var(--navy); text-align: center; }
.cta-banner-inner { max-width: 700px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 40px); color: var(--white);
  font-weight: 400; margin-bottom: 16px;
}
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 40px; background: var(--cream); }
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 38px); color: var(--navy);
  font-weight: 400; margin-bottom: 24px;
}
.contact-info > p { font-size: 16px; color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-detail-text { font-family: system-ui, -apple-system, sans-serif; }
.contact-detail-label {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 2px;
}
.contact-detail-value { font-size: 16px; color: var(--navy); text-decoration: none; display: block; }
.contact-detail-value:hover { color: var(--gold); }

.contact-form { background: var(--white); padding: 40px; border: 1px solid rgba(184,149,106,0.15); }
.contact-form h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.contact-form > p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px; letter-spacing: 0.5px; color: var(--text-light);
  margin-bottom: 6px; text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,0.1);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px; color: var(--charcoal); background: var(--cream);
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%; padding: 16px; background: var(--navy); color: var(--white);
  border: none; font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; transition: background 0.3s;
}
.form-submit:hover { background: var(--navy-light); }

/* ===== ABOUT PAGE ===== */
.about-content { padding: 80px 40px; background: var(--cream); }
.about-inner { max-width: 800px; margin: 0 auto; }
.about-inner h2 {
  font-size: clamp(24px, 3vw, 32px); color: var(--navy);
  font-weight: 400; margin: 48px 0 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold-pale);
}
.about-inner h2:first-child { margin-top: 0; }
.about-inner p { font-size: 16px; color: var(--text); margin-bottom: 16px; line-height: 1.8; }
.about-inner blockquote {
  border-left: 3px solid var(--gold); padding: 24px 32px;
  background: var(--white); margin: 32px 0;
  font-size: 18px; color: var(--navy); font-style: italic; line-height: 1.7;
}

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.about-value {
  background: var(--white); padding: 32px 24px;
  border: 1px solid rgba(184,149,106,0.15); text-align: center;
}
.about-value h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.about-value p { font-size: 14px; color: var(--text-light); margin-bottom: 0; }

/* ===== BLOG ===== */
.blog-section { padding: 80px 40px; background: var(--cream); min-height: 60vh; }
.blog-inner { max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid rgba(184,149,106,0.12);
  display: flex; flex-direction: column; transition: all 0.4s; overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: var(--gold);
}
.blog-card-thumb {
  display: block; height: 180px; overflow: hidden;
  background: linear-gradient(135deg, #1b2838 0%, #2a3f55 100%);
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb-placeholder {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b2838 0%, #2a3f55 100%);
}
.blog-card-thumb-placeholder svg { width: 64px; height: 64px; opacity: 0.5; }
.blog-card-body { padding: 28px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.blog-card-body h2, .blog-card-body h3 {
  font-size: 20px; color: var(--navy); margin-bottom: 12px; font-weight: 400; line-height: 1.3;
}
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--navy); text-decoration: none; }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 15px; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-card-link {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; color: var(--gold); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none;
}
.blog-card-link:hover { text-decoration: underline; }

/* Pagination */
.blog-pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 60px; flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  font-family: system-ui, -apple-system, sans-serif; font-size: 14px;
  padding: 10px 16px; background: var(--white); color: var(--navy);
  border: 1px solid rgba(184,149,106,0.2); text-decoration: none; transition: all 0.3s;
}
.blog-pagination .page-numbers.current { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.blog-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.blog-pagination .page-numbers.current:hover { color: var(--navy); }

/* ===== SINGLE POST ===== */
.single-post { padding: 80px 40px; background: var(--cream); }
.single-inner { max-width: 760px; margin: 0 auto; }
.single-meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: flex; gap: 16px; flex-wrap: wrap;
}
.single-featured { margin: 0 0 40px; }
.single-featured img { width: 100%; height: auto; display: block; }
.post-body { font-size: 17px; color: var(--text); line-height: 1.9; }
.post-body h2 {
  font-size: clamp(24px, 3vw, 30px); color: var(--navy); font-weight: 400;
  margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-pale);
}
.post-body h3 { font-size: 20px; color: var(--navy); margin: 32px 0 12px; font-weight: 600; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; }
.post-body ul li, .post-body ol li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--gold); padding: 20px 28px; background: var(--white);
  margin: 28px 0; font-style: italic; color: var(--navy);
}
.post-body a { color: var(--gold); }
.post-body img { margin: 24px 0; }
.single-back {
  display: inline-block; margin-bottom: 32px;
  font-family: system-ui, -apple-system, sans-serif; font-size: 13px;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold);
  text-decoration: none; font-weight: 600;
}
.single-back:hover { text-decoration: underline; }
.single-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(184,149,106,0.2); }
.single-tags a {
  display: inline-block; font-family: system-ui, sans-serif; font-size: 13px;
  padding: 6px 14px; background: var(--gold-pale); color: var(--navy);
  text-decoration: none; margin: 0 6px 6px 0;
}
.post-nav {
  max-width: 760px; margin: 48px auto 0; display: flex; justify-content: space-between; gap: 20px;
}
.post-nav a {
  font-family: system-ui, sans-serif; font-size: 14px; color: var(--navy);
  text-decoration: none; max-width: 45%;
}
.post-nav a:hover { color: var(--gold); }
.post-nav span { display: block; font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }

/* Comments */
.comments-area { max-width: 760px; margin: 48px auto 0; }
.comments-area h2, .comments-area h3 { color: var(--navy); font-weight: 400; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { background: var(--white); border: 1px solid rgba(184,149,106,0.12); padding: 20px 24px; margin-bottom: 16px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,0.1);
  background: var(--white); font-family: system-ui, sans-serif; margin-bottom: 12px;
}
.comment-form input[type="submit"] {
  width: auto; background: var(--navy); color: #fff; border: none; cursor: pointer;
  padding: 14px 32px; text-transform: uppercase; letter-spacing: 1px;
}

/* Search / archive headers reuse page-hero */
.archive-title { color: var(--white); }

/* ===== FOOTER ===== */
footer { background: var(--navy); padding: 60px 40px 80px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-brand {
  font-size: 16px; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px;
}
.footer-brand span { color: rgba(255,255,255,0.6); font-weight: 400; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer-col h4 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.footer-col a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col span {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.5);
}
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.3);
  text-decoration: none; transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* In the Elementor editor, never hide content */
.elementor-editor-active .fade-in { opacity: 1 !important; transform: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 24px; gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open ul { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .hero-content, .page-hero-content { padding-left: 24px; padding-right: 24px; }
  .diff-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-v2 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-item:nth-child(2) { border-right: none; }
  .promise-item { border-bottom: 1px solid rgba(184,149,106,0.15); }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .manifesto, .difference, .services, .promise, .contact,
  .compare, .faq-section, .faq-preview, .about-content,
  .service-detail, .cta-banner, .testimonials, .blog-section, .single-post { padding: 60px 24px; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .hero-badge-divider { display: none; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn-primary, .hero-cta-group .btn-outline { text-align: center; justify-content: center; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-item { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
}

/* ===== CAPTCHA ===== */
.captcha-group {
  background: var(--gold-pale); padding: 16px; margin-top: 8px;
  border-left: 3px solid var(--gold);
}
.captcha-group label { color: var(--navy) !important; font-weight: 600 !important; }

/* ===== ELEMENTOR LAYOUT BRIDGES =====
   The pages are built with native Elementor widgets so everything is visually
   editable. These rules keep the column-based card grids and the contact
   two-column layout looking like the original design. */

/* Contact page: info + form as two Elementor columns. */
.contact-cols { max-width: 1100px; margin: 0 auto; }
.contact .elementor-widget-text-editor,
.contact .elementor-widget-shortcode { width: 100%; }

/* Card grids built as Elementor inner-section columns: keep tidy spacing and
   let the card divs (rendered inside Text widgets) fill their column. */
.difference .elementor-column .elementor-widget-text-editor,
.testimonials .elementor-column .elementor-widget-text-editor,
.services .elementor-column .elementor-widget-text-editor,
.areas .elementor-column .elementor-widget-text-editor,
.promise .elementor-column .elementor-widget-text-editor { width: 100%; }
.diff-card, .testimonial-card, .promise-item, .areas-col, .service-card-v2 { height: 100%; }
.service-card-v2 { display: block; }

/* Never collapse Elementor text-editor margins inside our cards. */
.elementor-widget-text-editor > .elementor-widget-container > div { width: 100%; }

/* ===== PRINT ===== */
@media print {
  nav, .hero::before, .hero::after, .cta-banner { display: none; }
  .hero { min-height: auto; padding: 40px; }
  .fade-in { opacity: 1; transform: none; }
  body { font-size: 12pt; }
}
