/* =============================================
   B3 Property Management — Custom Styles
   ============================================= */

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

:root {
  --plum: #5B2C6F;
  --plum-dark: #3D1F4D;
  --plum-deeper: #2D1638;
  --plum-light: #7D3C99;
  --plum-muted: #E8D5F0;
  --plum-bg: #F9F3FC;
  --amber: #F5C518;
  --amber-dark: #D4A800;
  --amber-light: #FFD966;
  --amber-bg: #FFF8E1;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F8F8F8;
  --gray-100: #F0F0F0;
  --gray-200: #E5E5E5;
  --gray-300: #CCCCCC;
  --gray-500: #777777;
  --gray-700: #333333;
  --gray-900: #111111;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(91, 44, 111, 0.08);
  --shadow-md: 0 4px 20px rgba(91, 44, 111, 0.1);
  --shadow-lg: 0 10px 40px rgba(91, 44, 111, 0.15);
  --shadow-xl: 0 20px 60px rgba(91, 44, 111, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Background Shapes --- */
.bg-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.bg-shape--top-right {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  border-radius: 50%;
}

.bg-shape--mid-left {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 44, 111, 0.05) 0%, transparent 70%);
  top: 50%;
  left: -100px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.bg-shape--bottom-right {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.04) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  border-radius: 50%;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(91, 44, 111, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--plum-dark);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.logo-text {
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--plum);
  background: var(--plum-bg);
}

.nav-link--cta {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--white) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--plum-bg);
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger span {
  width: 60%;
  align-self: flex-end;
}

.mobile-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger span {
  opacity: 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav-link {
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  color: var(--plum);
  background: var(--plum-bg);
  border-color: var(--plum-muted);
}

.mobile-nav-link--cta {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--white) !important;
  text-align: center;
  margin-top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--white);
  border-color: var(--plum);
  box-shadow: 0 4px 15px rgba(91, 44, 111, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 44, 111, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}

.btn--ghost:hover {
  background: var(--plum-bg);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--plum-bg) 50%, var(--amber-bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--amber);
  color: var(--plum-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--plum);
  position: relative;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--amber);
  opacity: 0.5;
  border-radius: 3px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(91, 44, 111, 0.06);
}

.hero-stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--plum);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
  margin: 8px 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-img-card--main {
  width: 100%;
  aspect-ratio: 6/7;
}

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

.hero-img-card--main__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(91, 44, 111, 0.4), transparent);
  pointer-events: none;
}

.hero-img-card--secondary {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 55%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

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

.hero-floating-card {
  position: absolute;
  top: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card svg {
  color: var(--amber-dark);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero Geometric */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
}

.geo-circle--1 {
  width: 300px;
  height: 300px;
  border: 3px solid var(--amber);
  opacity: 0.15;
  top: 10%;
  right: -50px;
}

.geo-circle--2 {
  width: 150px;
  height: 150px;
  background: var(--plum);
  opacity: 0.04;
  bottom: 15%;
  right: 10%;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--amber);
  opacity: 0.1;
  top: 20%;
  left: 48%;
  transform: rotate(15deg);
}

/* --- Section Shared --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

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

/* --- Services --- */
.services {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

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

.service-card {
  position: relative;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--plum), var(--plum-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--plum-muted);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--amber {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  border-color: transparent;
  color: var(--white);
}

.service-card--amber::before {
  background: var(--amber);
  opacity: 1;
}

.service-card--amber:hover {
  box-shadow: 0 10px 40px rgba(91, 44, 111, 0.4);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-bg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--plum);
  transition: var(--transition);
}

.service-card--amber .service-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--amber);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card--amber .service-card__title {
  color: var(--white);
}

.service-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.service-card--amber .service-card__desc {
  color: rgba(255, 255, 255, 0.8);
}

.service-card__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--plum-muted);
  opacity: 0.3;
  transition: var(--transition);
}

.service-card--amber .service-card__accent {
  background: rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-card__accent {
  transform: scale(1.5);
  opacity: 0.5;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--plum-bg);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-img-stack {
  position: relative;
  height: 520px;
}

.about-img-stack__primary {
  width: 75%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

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

.about-img-stack__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 44, 111, 0.2), transparent);
  border-radius: var(--radius-xl);
}

.about-img-stack__secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

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

.about-img-stack__badge {
  position: absolute;
  top: 30px;
  right: 30%;
  background: var(--amber);
  color: var(--plum-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.about-feature__dot {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

/* --- Process --- */
.process {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--plum);
  opacity: 0.08;
  line-height: 1;
  margin-bottom: 16px;
  position: absolute;
  top: -10px;
}

.process-step__line {
  position: absolute;
  top: 44px;
  right: -10%;
  width: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--plum-muted), var(--amber));
}

.process-step:last-child .process-step__line {
  display: none;
}

.process-step__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  border-radius: var(--radius-md);
  color: var(--amber);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 300px;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--plum-deeper) 0%, var(--plum) 60%, var(--plum-light) 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.05;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--plum-light);
  opacity: 0.1;
}

.testimonials .section-label {
  color: var(--amber);
}

.testimonials .section-label::before {
  background: var(--amber);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.testimonial-card--accent {
  background: var(--amber);
  border-color: var(--amber);
}

.testimonial-card--accent .testimonial-card__text {
  color: var(--plum-dark);
}

.testimonial-card--accent .testimonial-card__name {
  color: var(--plum-dark);
}

.testimonial-card--accent .testimonial-card__location {
  color: rgba(61, 31, 77, 0.7);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--amber);
}

.testimonial-card--accent .testimonial-card__stars {
  color: var(--plum);
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  opacity: 0.6;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--amber);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-banner__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  opacity: 0.15;
}

.cta-shape--circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--plum);
  top: -60px;
  left: 10%;
}

.cta-shape--square {
  width: 100px;
  height: 100px;
  background: var(--plum);
  border-radius: var(--radius-sm);
  bottom: -30px;
  right: 25%;
  transform: rotate(25deg);
}

.cta-shape--dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--plum);
  top: 50%;
  right: 10%;
}

.cta-banner__content {
  flex: 1;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--plum-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1.05rem;
  color: rgba(61, 31, 77, 0.7);
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 36px;
}

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

.contact-detail {
  display: flex;
  gap: 16px;
}

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

.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.6;
}

.contact-detail__value a {
  color: var(--plum);
  transition: var(--transition);
}

.contact-detail__value a:hover {
  color: var(--plum-light);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--plum);
  margin-bottom: 16px;
}

.form-success__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success__text {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* --- Map Section --- */
.map-section {
  height: 300px;
  background:
    linear-gradient(135deg, rgba(91, 44, 111, 0.05), rgba(245, 197, 24, 0.05)),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(91, 44, 111, 0.03) 40px, rgba(91, 44, 111, 0.03) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(91, 44, 111, 0.03) 40px, rgba(91, 44, 111, 0.03) 41px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-overlay {
  text-align: center;
}

.map-pin {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum);
  color: var(--amber);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 12px;
  box-shadow: var(--shadow-lg);
  animation: bounce 2s ease-in-out infinite;
}

.map-pin svg {
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-10px); }
}

.map-pin-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum);
  background: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

/* --- Footer --- */
.footer {
  background: var(--plum-deeper);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  font-style: normal;
}

.footer-phone,
.footer-email {
  color: var(--amber);
  transition: var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
  color: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-img-card--secondary {
    left: -16px;
    bottom: -20px;
  }

  .hero-floating-card {
    right: -10px;
    top: 20px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat {
    flex: none;
    width: calc(50% - 8px);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-stack {
    height: 380px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-step__line {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    padding: 20px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}
