/* =============================================
   REALMONK REALTY – PREMIUM STYLESHEET
   ============================================= */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E0C070;
  --gold-dark: #8B6914;
  --dark: #0F0F0F;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --dark-card: #161616;
  --white: #FFFFFF;
  --off-white: #FFFFFF;
  --text-muted: #8A8A8A;
  --text-light: #CCCCCC;
  --border: rgba(201, 168, 76, 0.25);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.2);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: fit-content;
  padding: 0 0.5rem;
  background: #000000;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.navbar.scrolled {
  background: #000000;
  box-shadow: 0 8px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.22);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(201,168,76,0.25));
  transition: var(--transition);
}

.nav-logo-img:hover {
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.45));
  transform: scale(1.03);
}

.logo-icon {
  color: var(--gold);
  font-size: 1.3rem;
  animation: pulse-logo 3s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%; right: 50%;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  left: 1rem;
  right: 1rem;
}

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--dark) !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   RIGHT SIDE LOGO
   ============================================= */
.side-logo {
  position: fixed;
  left: 1.5rem;
  top: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.side-logo:hover {
  transform: translateY(-2px);
}

.side-logo-img {
  width: 72px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.side-logo:hover .side-logo-img {
  transform: scale(1.06);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.05);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

body.nav-open .hero-img { animation-play-state: paused; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 110px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fade-up 0.8s 0.3s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.5s forwards;
}

.hero-brand {
  color: var(--gold-dark);
  display: block;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.65s forwards;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(0,0,0,0.6);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 1s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(201,168,76,0.4);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-in 1s 1.4s forwards;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  padding: 7rem 0;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.why-card:hover::before { transform: scaleX(1); }

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.why-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.why-link:hover { gap: 0.6rem; color: var(--gold-dark); }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 7rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.services-bg-accent {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services-section .section-eyebrow { color: var(--gold); }
.services-section .section-title { color: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-item {
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-item:hover::after { opacity: 1; }

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-item:hover .service-num { color: var(--gold); }

.service-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 7rem 0;
  background: #fff;
}

/* ── 3D COVERFLOW CAROUSEL ────────────────── */
.carousel-outer {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.carousel-stage {
  perspective: 1100px;
  perspective-origin: 50% 50%;
  width: 100%;
  max-width: 960px;
  height: 320px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.c-card {
  position: absolute;
  width: 320px;
  top: 0;
  left: 50%;
  margin-left: -160px;
  will-change: transform, opacity;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.7s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.7s ease;
  cursor: pointer;
  user-select: none;
}

.c-card.is-active {
  box-shadow: 0 24px 64px rgba(201,168,76,0.18), 0 8px 24px rgba(0,0,0,0.12);
  border-color: rgba(201,168,76,0.35) !important;
  z-index: 10;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.3);
  background: #fff;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 20;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: var(--transition);
  display: block;
}

.cdot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: rgba(201,168,76,0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.85;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Contact Card */
.footer-app-card {
  background: linear-gradient(135deg, #1C1810, #252015);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.footer-app-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-app-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder { color: #666; }

.form-input:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.form-select option {
  background: var(--dark-3);
  color: var(--white);
}

.form-submit {
  padding: 0.85rem;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.25rem;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #555;
}

/* =============================================
   MOBILE MENU
   ============================================= */

/* ==============================================
   MOBILE NAVBAR LOGO (hidden on desktop)
   ============================================= */
.nav-mobile-logo { display: none; }
.nav-mobile-logo-img { height: 36px; width: auto; object-fit: contain; display: block; }

/* ==============================================
   MOBILE – ALL SCREENS ≤900px
   ============================================= */
@media (max-width: 900px) {

  /* ── Navbar: full-width bar ── */
  .navbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    border-radius: 0 !important;
    padding: 0 1rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(201,168,76,0.25) !important;
  }
  .nav-container {
    height: 56px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-mobile-logo { display: flex; align-items: center; flex-shrink: 0; }
  .side-logo       { display: none !important; }
  .nav-cta         { display: none !important; }
  .hamburger       { display: flex !important; margin-left: auto; flex-shrink: 0; }

  /* ── Dropdown nav links ── */
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    z-index: 1001;
    background: #0a0804;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .nav-link { font-size: 1rem; padding: 0.75rem 0.5rem; color: #fff; min-height: 44px; display: flex; align-items: center; }

  /* ── Hero: fix image and text on mobile ── */
  .hero { min-height: 100svh; overflow: hidden; }
  .hero-img { object-position: center center !important; }
  .hero-content {
    padding-top: 80px !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-brand  { display: block !important; word-break: break-word !important; }
  .hero-desc   { max-width: 100% !important; font-size: 0.9rem !important; word-break: break-word !important; }
  .hero-scroll-hint { display: none; }

  /* ── Layout grids ── */
  .why-grid       { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .carousel-stage { height: 260px; }
  .carousel-btn   { display: none; }
  .c-card         { width: 260px; margin-left: -130px; }

  /* ── Other page heroes: offset for fixed navbar ── */
  .about-split-section { padding-top: 56px; }
  .about-hero,
  .career-hero,
  .projects-intro-section,
  .blog-section   { padding-top: 80px !important; }
}

/* ==============================================
   MOBILE – ≤600px
   ============================================= */
@media (max-width: 600px) {
  .hero-actions   { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .services-grid  { grid-template-columns: 1fr; }
  .carousel-stage { height: 320px; }
  .c-card         { width: 85vw; margin-left: calc(-42.5vw); }
  section         { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}

/* ==============================================
   MOBILE – ≤480px
   ============================================= */
@media (max-width: 480px) {
  .nav-container       { height: 52px; }
  .nav-mobile-logo-img { height: 30px; }

  .hero-title  { font-size: clamp(1.4rem, 6.5vw, 1.9rem) !important; }
  .hero-desc   { font-size: 0.86rem !important; }

  .section-title    { font-size: clamp(1.3rem, 6vw, 1.75rem); }
  .partner-item     { padding: 0 16px; }
  .partner-logo-wrap img { max-height: 42px; max-width: 100px; }

  .footer-bottom    { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-bottom p  { font-size: 0.78rem; }

  .about-form-row,
  .join-form-row    { grid-template-columns: 1fr !important; }
}

/* ==============================================
   TOUCH – prevents iOS input zoom
   ============================================= */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}
