/*
Theme Name: Jaimie Brown — Maui Realtor
Theme URI: https://findmauiproperty.com
Author: Avid Approach
Author URI: https://avidapproach.com
Description: A single-page landing site for Jaimie Brown, a Maui-based realtor. Features a hero, region-based property search dispatch to RA Maui, biography, testimonials carousel, blog, Instagram grid, and contact form. Designed to match the original FindMauiProperty.com brand (teal navigation, orange CTAs, bird-of-paradise floral identity).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jaimie-brown
Tags: real-estate, one-page, blog, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments
*/

.contact {
    padding-bottom: 100px;
}

.pagination {
    flex-direction: column;
    text-align: center;
}

.pagination .nav-links {
    column-gap: 5px;
    margin-top: 10px;
}

.form-overlay {
    background: white;
    width: 80%;
    height: 50px;
    margin-top: -60px;
    z-index: 9999;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -20px;
}

.instagram-overlay {
    background: white;
    width: 100%;
    display: block;
    height: 120px;
    margin-bottom: -80px;
    margin-top: -120px;
    z-index: 9999;
    position: relative;
}

.designations .cred-val {
    display: inline-block;
    width: 48%;
}

body .about-narrative .credentials-strip .cred.designations {
    display: block;
    flex: 3;
}

.about-narrative .credentials-strip .cred {
    flex: 1;
}

.about-narrative .credentials-strip .cred.designations {
    flex: 2;
}

:root {
  --teal: #0c4a5e;
  --teal-dark: #093947;
  --teal-darker: #062834;
  --teal-light: #14687f;
  --orange: #f7941d;
  --orange-dark: #e07d0a;
  --orange-light: #ffa940;

  --white: #ffffff;
  --off-white: #fafafa;
  --gray-bg: #f4f4f4;
  --gray-light: #e8e8e8;
  --gray-border: #dcdcdc;
  --text: #2c2c2c;
  --text-muted: #6a6a6a;
  --text-light: #8a8a8a;

  --shadow-sm: 0 2px 8px rgba(12, 74, 94, 0.06);
  --shadow-md: 0 6px 20px rgba(12, 74, 94, 0.1);
  --shadow-lg: 0 16px 40px rgba(12, 74, 94, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.25;
  color: var(--teal);
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; display: block; height: auto; }

/* ===== SKIP LINK (a11y) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--white); position: relative; z-index: 5; }
.top-bar .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 2px;
}
.top-bar .contact-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.top-bar .contact-info .credentials {
  color: var(--text-light);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.top-bar .contact-info .item { display: flex; align-items: center; gap: 0.4rem; }
.top-bar .contact-info a:hover { color: var(--orange); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-cta .chevron {
  width: 16px; height: 16px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  line-height: 1;
}

/* ===== TEAL NAV ===== */
nav.main-nav {
  background: var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--teal-dark);
}
nav.main-nav .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links { display: flex; list-style: none; gap: 0; flex-wrap: wrap; justify-content: center; }
.nav-links a {
  display: block;
  padding: 1.1rem 1.5rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 400;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links a.active::after { width: 60%; }

.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 1rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0c4a5e 0%, #1a8db5 50%, #4ec9eb 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 74, 94, 0.15) 0%, rgba(12, 74, 94, 0.05) 50%, rgba(12, 74, 94, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 5rem 2rem;
  max-width: 900px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 16px rgba(12, 74, 94, 0.5);
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247, 148, 29, 0.45);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-outline-white:hover { background: var(--white); color: var(--teal); }
.arrow { transition: transform 0.25s ease; display: inline-block; }
.btn-primary:hover .arrow,
.btn-cta:hover .arrow { transform: translateX(3px); }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--teal);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 85ch;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

/* ===== PROPERTY AREAS — IMAGE-BACKED TABS ===== */
.areas { background: var(--gray-bg); }
.areas-regions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.region-tab {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4/3;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}
.region-tab-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, filter 0.25s ease;
  filter: brightness(0.7);
}
.region-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 74, 94, 0.1) 0%, rgba(12, 74, 94, 0.85) 100%);
  transition: background 0.25s ease;
 opacity: 0;
}
.region-tab-label {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.region-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.region-tab:hover .region-tab-img {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.region-tab.active {
  box-shadow: 0 0 0 3px var(--orange), var(--shadow-md);
  transform: translateY(-3px);
}
.region-tab.active .region-tab-img { filter: brightness(0.95); }
.region-tab.active::after {
  background: linear-gradient(180deg, rgba(247, 148, 29, 0) 0%, rgba(12, 74, 94, 0.8) 100%);
}

.subtowns-wrap {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--orange);
  min-height: 220px;
}
.subtowns-panel[hidden] { display: none; }
.subtowns-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-light);
}
.subtowns-region-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 0.3rem;
}
.subtowns-region-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.6;
}
.subtowns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.subtown-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  background: var(--gray-bg);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.subtown-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(247, 148, 29, 0.25);
}
.subtown-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}
.subtown-link:hover svg { opacity: 1; }

/* ===== ABOUT NARRATIVE ===== */
.about-narrative { background: var(--white); padding: 5rem 0; }
.about-narrative .grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-narrative .photo-wrap { position: relative; }
.about-narrative .narrative-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.about-narrative h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.about-narrative .subtitle {
  color: var(--orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.about-narrative p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}
.about-narrative .credentials-strip {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-border);
  flex-wrap: wrap;
}
.cred { display: flex; flex-direction: column; }
.cred-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.cred-val {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== SEARCH CTA ===== */
.search-cta {
  background: var(--teal);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.search-cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.search-cta .section-divider { background: var(--orange); }
.search-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ===== TESTIMONIALS CAROUSEL ===== */

.testimonials {
	background: #fff;
}

#hardcodedTestimonials {
	--review-green: #173d35;
	--review-gold: #bf8c4e;
	--review-cream: #f7f2ea;

	position: relative;
	max-width: 960px;
	margin: 2.75rem auto 0;
}

#hardcodedTestimonials .carousel-viewport {
	overflow: hidden;
	border-radius: 28px;
}

#hardcodedCarouselTrack {
	display: flex;
	align-items: flex-start;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#hardcodedCarouselTrack .hardcoded-testimonial-slide {
	position: relative;
	box-sizing: border-box;
	display: block;
	flex: 0 0 100%;
	min-width: 100%;
	min-height: 0;
	margin: 0;
	padding: clamp(2rem, 6vw, 4.25rem);
	overflow: hidden;
	background:
		radial-gradient(
			circle at 94% 5%,
			rgba(191, 140, 78, 0.22),
			transparent 30%
		),
		linear-gradient(
			145deg,
			#fff 0%,
			var(--review-cream) 100%
		);
	border: 1px solid rgba(23, 61, 53, 0.1);
	border-radius: 28px;
}

#hardcodedCarouselTrack .hardcoded-testimonial-slide::after {
	content: "";
	position: absolute;
	right: -75px;
	bottom: -115px;
	width: 250px;
	height: 250px;
	border: 46px solid rgba(23, 61, 53, 0.045);
	border-radius: 50%;
	pointer-events: none;
}

#hardcodedTestimonials .testimonial-quote-mark {
	position: relative;
	z-index: 1;
	height: 58px;
	margin: 0 0 0.75rem;
	color: var(--review-gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 94px;
	font-weight: 400;
	line-height: 1;
	user-select: none;
}

#hardcodedTestimonials blockquote {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-height: 320px;
	max-width: 790px;
	margin: 0;
	padding: 0 1.25rem 0 0;
	overflow-y: auto;
	border: 0;
	color: var(--review-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 28px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -0.018em;
	scrollbar-color: rgba(191, 140, 78, 0.7) rgba(23, 61, 53, 0.08);
	scrollbar-width: thin;
}

#hardcodedTestimonials blockquote::-webkit-scrollbar {
	width: 5px;
}

#hardcodedTestimonials blockquote::-webkit-scrollbar-track {
	background: rgba(23, 61, 53, 0.08);
	border-radius: 10px;
}

#hardcodedTestimonials blockquote::-webkit-scrollbar-thumb {
	background: var(--review-gold);
	border-radius: 10px;
}

#hardcodedTestimonials .testimonial-author {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(23, 61, 53, 0.14);
	color: var(--review-green);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

#hardcodedTestimonials .testimonial-author::before {
	display: none;
}

#hardcodedTestimonials .testimonial-initials {
	display: grid;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 3px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 20px rgba(23, 61, 53, 0.2);
}

#hardcodedTestimonials .initials-color-1 {
	background: #173d35;
}

#hardcodedTestimonials .initials-color-2 {
	background: #bf8c4e;
}

#hardcodedTestimonials .initials-color-3 {
	background: #346b7a;
}

#hardcodedTestimonials .initials-color-4 {
	background: #a75d4d;
}

#hardcodedTestimonials .initials-color-5 {
	background: #6c658d;
}

#hardcodedTestimonials .testimonial-author-name {
	color: var(--review-green);
	font-size: 0.95rem;
	font-weight: 700;
}

#hardcodedTestimonials .carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	margin-top: 1.5rem;
}

#hardcodedTestimonials .carousel-btn {
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	place-items: center;
	background: #fff;
	border: 1px solid rgba(23, 61, 53, 0.15);
	border-radius: 50%;
	color: var(--review-green);
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(23, 61, 53, 0.1);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

#hardcodedTestimonials .carousel-btn:hover {
	background: var(--review-green);
	border-color: var(--review-green);
	color: #fff;
	transform: translateY(-2px);
}

#hardcodedTestimonials .carousel-counter {
	min-width: 74px;
	color: rgba(23, 61, 53, 0.55);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

#hardcodedTestimonials .carousel-counter strong {
	color: var(--review-green);
	font-size: 1.1rem;
	font-weight: 700;
}

#hardcodedCarouselDots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	max-width: 100%!important;
	margin: 1.25rem auto 0;
}

#hardcodedCarouselDots button {
	width: 7px;
	height: 7px;
	margin: 0;
	padding: 0;
	background: rgba(23, 61, 53, 0.2);
	border: 0;
	border-radius: 20px;
	cursor: pointer;
	transition:
		width 0.25s ease,
		background 0.25s ease;
}

#hardcodedCarouselDots button.active {
	width: 25px;
	background: var(--review-gold);
}

@media (max-width: 600px) {
	#hardcodedTestimonials {
		margin-top: 2rem;
	}

	#hardcodedTestimonials .carousel-viewport,
	#hardcodedCarouselTrack .hardcoded-testimonial-slide {
		border-radius: 20px;
	}

	#hardcodedCarouselTrack .hardcoded-testimonial-slide {
		padding: 2rem 1.5rem;
	}

	#hardcodedTestimonials .testimonial-quote-mark {
		height: 48px;
		font-size: 78px;
	}

	#hardcodedTestimonials blockquote {
		max-height: 300px;
		padding-right: 0.9rem;
		font-size: 1.2rem;
		line-height: 1.55;
	}

	#hardcodedTestimonials .testimonial-author {
		margin-top: 1.5rem;
		padding-top: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#hardcodedCarouselTrack,
	#hardcodedTestimonials .carousel-btn,
	#hardcodedCarouselDots button {
		transition: none;
	}
}
/* ===== BLOG ===== */
.blog { background: var(--gray-bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-light);
}
.blog-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.blog-category { color: var(--orange); font-weight: 600; }
.blog-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.blog-link {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card:hover .blog-link .arrow { transform: translateX(4px); }
.blog-footer { text-align: center; }
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  background: var(--white);
  border-radius: 4px;
  grid-column: 1 / -1;
}

/* ===== INSTAGRAM ===== */
.instagram { background: var(--white); }
.insta-handle-row { text-align: center; margin-bottom: 2rem; }
.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 500;
  font-size: 0.95rem;
}
.insta-handle svg { color: var(--orange); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.insta-tile {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-light);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.insta-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 74, 94, 0);
  transition: background 0.25s ease;
}
.insta-tile:hover::after { background: rgba(12, 74, 94, 0.4); }
.insta-tile:hover { transform: scale(0.98); }
.insta-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem;
  font-size: 0.9rem;
  background: var(--gray-bg);
  border-radius: 4px;
  grid-column: 1 / -1;
}

/* ===== CONTACT ===== */
.contact { background: var(--gray-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block h3 {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.contact-info-block p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}
.contact-detail-val {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-detail-val a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--orange);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { margin-bottom: 1rem; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-message {
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.form-message.success {
  background: #d1f5e0;
  color: #0a4d2e;
  border: 1px solid #6dc28a;
}
.form-message.error {
  background: #fdd6da;
  color: #6b1a25;
  border: 1px solid #d97a85;
}

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--teal);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr .5fr 0fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-col li a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.footer-col li a::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
}
.footer-col li a:hover { color: var(--orange); }
.footer-col.no-arrows li a::before { content: none; }

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.footer-btn:hover { background: var(--orange-dark); color: var(--white); }
.footer-btn .chev {
  background: rgba(255, 255, 255, 0.25);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.footer-office {
  background: var(--white);
  color: var(--text);
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}
.footer-office .mrea-logo-img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}
.footer-office .office-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-office .office-detail a { color: var(--text); }
.footer-office .office-detail a:hover { color: var(--orange); }
.footer-office .label { color: var(--teal); font-weight: 600; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.social-row { display: flex; gap: 0.5rem; }
.social-row a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.social-row a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ===== BLOG ARCHIVE / SINGLE ===== */
.archive-hero, .single-hero {
  background: #f5f5f5;
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}
.archive-hero h1, .single-hero h1 {
  color: #0c4a5e;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.archive-hero p, .single-hero .meta {
  color: rgb(106 106 106);
  font-size: 0.95rem;
}
.archive-list { padding: 4rem 0; background: var(--gray-bg); min-height: 50vh; }
.single-content {
  background: var(--white);
  padding: 4rem 0;
}
.single-content .container { max-width: 760px; }
.single-content h2, .single-content h3, .single-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.single-content p { margin-bottom: 1.1rem; line-height: 1.75; }
.single-content ul, .single-content ol {
  margin: 0 0 1.25rem 1.5rem;
}
.single-content li { margin-bottom: 0.4rem; }
.single-content blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}
.single-content img { border-radius: 4px; margin: 1.5rem 0; }
.featured-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.back-to-blog:hover { color: var(--orange-dark); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  padding: 0.6rem 0.95rem;
  border-radius: 4px;
  background: var(--white);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--gray-border);
  text-decoration: none;
}
.pagination .current {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.pagination a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* 404 */
.error-404 {
  padding: 6rem 0;
  text-align: center;
}
.error-404 h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--orange);
  margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .top-bar .wrap { flex-wrap: wrap; padding: 1rem 1.25rem; gap: 1rem; }
  .top-bar .contact-info { width: 100%; margin-left: 0; gap: 1rem; flex-wrap: wrap; }
  .top-bar .contact-info .credentials { display: none; }

  .nav-links { display: none; }
  .nav-links.is-open { display: flex; flex-direction: column; width: 100%; gap: 0; }
  .nav-links.is-open a { padding: 1rem 1.5rem; border-bottom: 1px solid var(--teal-dark); width: 100%; }
  .menu-toggle { display: block; }
  nav.main-nav .wrap { justify-content: flex-end; }

  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  .areas-regions { grid-template-columns: repeat(3, 1fr); }
  .about-narrative .grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-narrative .photo-wrap { max-width: 360px; margin: 0 auto; }

  .blog-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .carousel-slide { padding: 0; }
}

@media (max-width: 560px) {
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .areas-regions { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 400px; }
  .testimonial-card { padding: 2rem 1.5rem 1.5rem; }
  .quote-mark { font-size: 3.5rem; }
}
