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

:root {
  --primary: #222222;
  --primary-dark: #111111;
  --dark: #111111;
  --text: #2D2D2D;
  --text-light: #737373;
  --bg: #ffffff;
  --bg-light: #F7F7F7;
  --border: #E5E5E5;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --nav-height: 76px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-primary-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--dark);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--dark);
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: #333;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 13px;
}

/* ===== Tags ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.tag-dark {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  top: 12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: auto;
  max-width: 860px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  height: 56px;
  border: 1px solid rgba(0,0,0,0.06);
}

.navbar.scrolled .nav-inner {
  padding: 0 20px;
  gap: 24px;
}

.navbar.scrolled .logo span {
  font-size: 15px;
  white-space: nowrap;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.navbar.scrolled .logo-img {
  width: 30px;
  height: 30px;
}

.navbar.scrolled .nav-links {
  gap: 20px;
}

.navbar.scrolled .nav-links a {
  font-size: 13px;
  white-space: nowrap;
}

.navbar.scrolled .btn-nav {
  padding: 8px 16px;
  font-size: 12px;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  min-width: 0;
}

.logo span {
  white-space: nowrap;
}

.navbar:not(.scrolled) .logo {
  color: #fff;
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.8);
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--dark);
}

.logo-white {
  color: #fff !important;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

/* ===== Partners Bar ===== */
.partners-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.partners-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 500;
  white-space: nowrap;
}

.partners-track-wrapper {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.partner-logo-img {
  height: 32px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}

.partner-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== Text Banner ===== */
.text-banner {
  padding: 120px 0;
}

.text-banner-text {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  text-align: center;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
  color: var(--dark);
}

/* ===== Market Leaders ===== */
.market-leaders {
  padding: 0 0 70px;
}

.ml-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.ml-grid-reverse {
  direction: rtl;
}

.ml-grid-reverse > * {
  direction: ltr;
}

.ml-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.ml-desc {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.ml-btns {
  display: flex;
  gap: 12px;
}

.ml-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--dark);
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ===== Section Header ===== */
.section-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

.section-header-right p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== Investments ===== */
.investments {
  padding: 70px 0;
}

.property-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.property-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-2px);
}

.property-num {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-bottom: 12px;
}

.property-info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--dark);
}

.property-info > p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.property-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.property-img {
  overflow: hidden;
  border-radius: var(--radius);
}

.property-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card.reveal.visible .property-img img {
  transform: scale(1);
}

/* Stagger animation for each card */
.property-card:nth-child(1) { transition-delay: 0s; }
.property-card:nth-child(2) { transition-delay: 0.15s; }
.property-card:nth-child(3) { transition-delay: 0.3s; }
.property-card:nth-child(4) { transition-delay: 0.45s; }

/* ===== Strategies Accordion ===== */
.strategies {
  padding: 70px 0;
  background: var(--bg-light);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  background: var(--bg);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-num {
  font-size: 13px;
  color: var(--text-light);
  min-width: 24px;
}

.accordion-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  flex: 1;
  color: var(--dark);
}

.accordion-toggle {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.accordion-item .icon-close {
  display: none;
}

.accordion-item .icon-plus {
  display: block;
}

.accordion-item.active .icon-close {
  display: block;
}

.accordion-item.active .icon-plus {
  display: none;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 1200px;
}

.accordion-content {
  padding: 0 32px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: start;
}

.accordion-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.accordion-img img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
}

.accordion-detail h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 240px;
}

.pillar-tag {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* ===== Team ===== */
.team {
  padding: 100px 0;
}

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

.team-member img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.02);
}

.team-member h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.team-member p {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 70px 0;
  background: var(--bg-light);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.testimonials-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--dark);
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.google-label {
  font-size: 13px;
  color: var(--text-light);
}

.testimonials-scroll-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.testimonials-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-testimonials 40s linear infinite;
}

.testimonials-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: 360px;
  min-width: 360px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex-shrink: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-light);
}

.testimonial-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.trustpilot-stars {
  display: flex;
  gap: 2px;
}

.star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #222;
  color: #fff;
  font-size: 14px;
  border-radius: 3px;
}

/* ===== Strategic & Curated ===== */
.strategic {
  padding: 100px 0;
}

.curated {
  padding: 0 0 100px;
}

/* ===== FAQ ===== */
.faq {
  padding: 70px 0;
  background: var(--bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-toggle {
  display: flex;
  align-items: center;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item .icon-close {
  display: none;
}

.faq-item .icon-plus {
  display: block;
}

.faq-item.active .icon-close {
  display: block;
}

.faq-item.active .icon-plus {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #E8E4DF 0%, #D5CFC7 50%, #C2BAB0 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-navbar {
  margin-bottom: 40px;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-address p {
  font-size: 20px;
  color: #fff;
  line-height: 1.4;
}

.email-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.email-input input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.email-input input::placeholder {
  color: rgba(255,255,255,0.3);
}

.email-input input:focus {
  border-color: rgba(255,255,255,0.4);
}

.email-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.email-disclaimer a {
  text-decoration: underline;
  color: rgba(255,255,255,0.5);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}

.footer-bottom-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: rgba(255,255,255,0.55);
  text-align: right;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.footer-credit:hover {
  opacity: 1;
}

.footer-credit-label {
  font-size: 9px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.footer-credit-wordmark {
  position: relative;
  display: inline-block;
  padding-right: 2px;
}

.footer-credit strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.footer-credit-mark {
  pointer-events: none;
  position: absolute;
  left: 47%;
  top: 58%;
  width: 48%;
  height: 16px;
}

.footer-credit-mark path {
  stroke: rgba(255,255,255,0.68);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.footer-legal p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-legal a {
  text-decoration: underline;
  color: rgba(255,255,255,0.35);
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .ml-grid,
  .section-header,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .property-card {
    grid-template-columns: 1fr;
  }

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

  .accordion-content {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 320px;
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
  }

  .nav-links {
    display: none;
  }

  .navbar.scrolled {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
  }

  .nav-inner,
  .navbar.scrolled .nav-inner {
    padding: 10px 14px;
    gap: 12px;
  }

  .logo,
  .navbar.scrolled .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo span,
  .navbar.scrolled .logo span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-img,
  .navbar.scrolled .logo-img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .btn-nav,
  .navbar.scrolled .btn-nav {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .testimonial-card {
    width: 280px;
    min-width: 280px;
  }

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

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

  .testimonial-card {
    width: 280px;
    min-width: 280px;
  }

  .hero-btns,
  .ml-btns,
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .accordion-header {
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }

  .accordion-header h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .accordion-toggle {
    margin-top: 2px;
  }

  .accordion-content {
    padding: 0 16px 24px;
    gap: 18px;
  }

  .accordion-content p {
    max-width: none;
  }

  .accordion-img img {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .accordion-detail,
  .pillars {
    min-width: 0;
    max-width: none;
  }

  .pillar-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-credit {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .navbar.scrolled {
    top: calc(env(safe-area-inset-top, 0px) + 6px);
    left: 10px;
    right: 10px;
  }

  .nav-inner,
  .navbar.scrolled .nav-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .logo span,
  .navbar.scrolled .logo span {
    font-size: 13px;
  }

  .btn-nav,
  .navbar.scrolled .btn-nav {
    padding: 8px 12px;
    font-size: 11px;
  }

  .footer-credit {
    gap: 3px;
  }

  .footer-credit strong {
    font-size: 26px;
  }

  .footer-credit-mark {
    width: 46%;
    height: 14px;
  }
}
