/* ═══════════════════════════════════════════════
   SCHWEDER BENCE – Premium Real Estate Portfolio
   Design System & Full Styles
   ═══════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --c-primary: #0F172A;
  --c-secondary: #334155;
  --c-accent: #C9A84C;
  --c-accent-light: #E8D48B;
  --c-bg: #F8FAFC;
  --c-bg-alt: #F1F5F9;
  --c-bg-dark: #0F172A;
  --c-text: #1E293B;
  --c-text-light: #64748B;
  --c-text-inv: #F8FAFC;
  --c-border: #E2E8F0;
  --c-success: #10B981;
  --ff-heading: 'Playfair Display', 'Georgia', serif;
  --ff-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, .1);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Container ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Section Base ─── */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--c-text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ─── Animations ─── */
.anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  min-height: 48px;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary);
  border-color: var(--c-accent);
}

.btn-primary:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, .35);
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn-outline:hover {
  background: var(--c-primary);
  color: var(--c-text-inv);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.logo-sub {
  font-size: .7rem;
  color: var(--c-accent);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--c-accent);
}

.nav-cta {
  background: var(--c-accent) !important;
  color: var(--c-primary) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--c-accent-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-bg-dark);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .7) 50%, rgba(15, 23, 42, .4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.hero-ctas .btn-outline:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-portrait img {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  object-fit: cover;
  object-position: top;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  letter-spacing: .1em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, .4);
  border-bottom: 2px solid rgba(255, 255, 255, .4);
  transform: rotate(45deg);
  margin: 8px auto 0;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* ═══════════════ INTRODUCTION ═══════════════ */
.section-intro {
  background: var(--c-bg);
}

.intro-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--c-secondary);
}

.intro-text p:last-child {
  font-weight: 500;
  color: var(--c-primary);
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.section-testimonials {
  background: var(--c-bg-dark);
  color: var(--c-text-inv);
}

.section-testimonials .section-title {
  color: #fff;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 0 0 40px;
}

.testimonial-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-slide blockquote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-slide p {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.testimonial-slide cite {
  font-style: normal;
  font-size: .95rem;
  color: var(--c-accent);
  letter-spacing: .05em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--c-accent);
  transform: scale(1.2);
}

/* ═══════════════ DISTRICT XIII ═══════════════ */
.section-district {
  background: var(--c-bg-alt);
}

.district-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.district-text p {
  font-size: 1.02rem;
  color: var(--c-secondary);
  margin-bottom: 16px;
}

.highlight-list {
  margin-bottom: 32px;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.highlight-icon {
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.district-conclusion {
  font-size: 1.02rem;
  color: var(--c-secondary);
}

/* ═══════════════ PROJECTS ═══════════════ */
.section-projects {
  padding-bottom: 60px;
}

/* Mobile Project Card */
.mobile-project-card {
  display: none;
  /* Hidden on desktop */
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition);
}

.mobile-project-card:hover {
  transform: translateY(-4px);
}

.mp-card-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--c-accent);
}

.mp-card-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

/* Projects Wrapper */
.projects-wrapper {
  display: block;
}

/* Close Button (Hidden by default) */
.mobile-overlay-header {
  display: none;
  padding: 20px 0;
}

.projects-close-btn {
  background: transparent;
  border: none;
  color: var(--c-primary);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}


.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.project-right {
  direction: ltr;
}

.project-right .project-info {
  order: -1;
}

.project-gallery {
  position: relative;
}

.project-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.project-img-main:hover {
  transform: scale(1.02);
}

.project-img-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.project-img-stack img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition);
}

.project-img-stack img:hover {
  transform: scale(1.03);
}

.project-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(201, 168, 76, .15);
  color: var(--c-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 12px;
}

.project-name {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.project-location {
  color: var(--c-text-light);
  font-size: .95rem;
  margin-bottom: 16px;
  font-style: italic;
}

.project-info p {
  font-size: .95rem;
  color: var(--c-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.project-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-features-list span {
  padding: 6px 14px;
  background: var(--c-bg-alt);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--c-secondary);
  border: 1px solid var(--c-border);
}

.project-meta {
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid var(--c-border);
}

.project-handover {
  font-size: .9rem;
  color: var(--c-text-light);
}

.project-cta-text {
  font-weight: 600 !important;
  color: var(--c-primary) !important;
  font-size: .9rem !important;
}

.project-tech-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.project-tech-list li {
  font-size: .95rem;
  color: var(--c-secondary);
  margin-bottom: 6px;
}

/* Mobile Project Card (Default: Hidden on Desktop) */
.mobile-project-card {
  display: none;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  margin-top: 20px;
}

.mp-card-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: 10px;
}

.mp-card-content p {
  color: var(--c-secondary);
  margin-bottom: 20px;
}

/* Projects Wrapper (Default: Visible on Desktop) */
.projects-wrapper {
  display: block;
}

/* ─── Reference Gallery ─── */
.reference-gallery {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 60px 0;
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
}

.reference-title {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.reference-subtitle {
  color: var(--c-text-light);
  font-size: .95rem;
  margin-bottom: 32px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reference-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.reference-grid img:hover {
  transform: scale(1.03);
}

/* ═══════════════ WHY ME ═══════════════ */
.section-why-me {
  background: var(--c-bg-alt);
}

.why-me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.why-me-item {
  padding: 36px 28px;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-me-item:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-me-num {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 168, 76, .15);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.why-me-item h4 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--c-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-me-item p {
  font-size: .9rem;
  color: var(--c-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.why-me-item-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 20px;
}

.why-me-item-wide h4,
.why-me-item-wide p {
  grid-column: 2;
}

.why-me-item-wide .why-me-num {
  position: static;
  grid-column: 1;
  grid-row: 1 / 3;
}

/* ═══════════════ BRAND (OC) ═══════════════ */
.section-brand {
  background: var(--c-bg);
}

.brand-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.brand-text p {
  font-size: 1rem;
  color: var(--c-secondary);
  margin-bottom: 16px;
}

.brand-benefits h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: var(--c-primary);
  margin-bottom: 20px;
}

.brand-benefits ul {
  margin-bottom: 24px;
}

.brand-benefits li {
  padding: 10px 0;
  font-size: .95rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  padding-left: 20px;
  position: relative;
}

.brand-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-weight: 700;
}

.brand-benefits p {
  font-size: .95rem;
  color: var(--c-secondary);
}

/* ═══════════════ OFFICE ═══════════════ */
/* Office Section */
.section-office {
  background-color: var(--c-bg-alt);
  text-align: center;
}

.section-office .section-title {
  color: var(--c-heading);
  margin-bottom: 24px;
}

.office-text p {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
  color: var(--c-text);
}

/* ═══════════════ VIDEO ═══════════════ */
.section-video {
  background: var(--c-bg-dark);
  padding: 80px 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video Fallback (for file:// protocol) */
.video-fallback {
  display: none;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition);
}

.video-fallback:hover {
  transform: scale(1.01);
}

.video-fallback img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, .9);
  color: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition);
}

.video-fallback:hover .video-play-btn {
  background: var(--c-accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-fallback-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .9rem;
  background: rgba(0, 0, 0, .5);
  padding: 8px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Contact Section (Blue) */
.section-contact {
  background-color: var(--c-bg-dark);
  /* Blue */
  color: #fff;
  padding: 50px 0 40px;
  /* Reduced padding for compact look */
}

/* Map Section (White) */
.section-map {
  background-color: var(--c-bg);
  /* White */
  padding: 80px 0 80px;
  /* Equal top and bottom padding for symmetry */
}

.section-contact .section-title {
  color: #fff;
  /* text-align: center; Removed centering */
}

.contact-map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-image-side {
  display: flex;
  justify-content: center;
  /* Center the image in its column */
  justify-content: flex-end;
  /* Push image to the right (closer to center gap) for better symmetry? No, user said symmetrical section. 1fr 1fr with center items is standard. Let's stick to centering in column. */
  justify-content: center;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; Removed centering */
  /* text-align: center; Removed centering */
}

/* Ensure contact items (labels/values) behave well when centered */
.contact-item {
  display: flex;
  flex-direction: column;
  /* align-items: center; Removed centering */
  margin-bottom: 20px;
  /* Reduced from 24px for better height proportion */
  width: 100%;
}

.contact-value {
  display: inline-block;
  /* Allow centering */
}


.contact-portrait {
  width: 380px;
  /* Increased size */
  height: 380px;
  border-radius: 50%;
  /* Reverted to circle */
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-lg);
}

.contact-map-bottom {
  margin-top: 0;
  /* No top margin needed if in separate section */
  width: 100%;
  height: 400px;
  /* Reduced height */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-item {
  margin-bottom: 20px;
  /* Reduced from 24px */
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-accent);
  /* Gold/Accent color for labels */
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-value {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: #fff !important;
  /* Force white */
  /* White text on blue bg */
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-value:hover {
  color: var(--c-accent) !important;
}

.contact-cta-box {
  margin-top: 30px;
  /* Reduced from 40px */
  padding-top: 24px;
  /* Reduced from 32px */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Light border on blue bg */
}

.contact-cta-box h3 {
  font-size: 1.35rem;
  /* Slightly smaller */
  margin-bottom: 8px;
  color: #fff;
}

.contact-cta-box p {
  color: rgba(255, 255, 255, 0.8);
  /* increased opacity */
  /* Light text on blue bg */
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.contact-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-primary);
  transition: color var(--transition);
}

a.contact-value:hover {
  color: var(--c-accent);
}

.contact-cta-box {
  margin-top: 16px;
  padding-top: 16px;
}

.contact-cta-box h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.contact-cta-box p {
  color: var(--c-text-light);
  margin-bottom: 8px;
  font-size: .95rem;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--c-bg-dark);
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, .6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
}

.footer-role {
  font-size: .85rem;
  color: var(--c-accent);
}

.footer-company {
  font-size: .8rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--c-accent);
}

.footer-copy {
  font-size: .75rem;
  text-align: center;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 8px;
}

.footer-credit {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-credit a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.footer-credit:hover {
  opacity: 0.8;
}

/* ═══════════════ STICKY CTA (MOBILE) ═══════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  transform: translateY(100%);
  transition: transform .4s var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.btn-sticky {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto 32px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-portrait img {
    width: 400px;
    height: 400px;
    max-height: none;
  }

  .district-layout,
  .brand-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-right .project-info {
    order: 0;
  }

  .why-me-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-me-item-wide {
    display: block;
  }

  .why-me-item-wide .why-me-num {
    position: absolute;
  }

  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding-bottom: 80px;
  }

  .project-name {
    scroll-margin-top: 100px;
    /* Precise landing for the title under the header */
  }

  .section {
    padding: 60px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--c-bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 60px 32px;
    transition: right .4s var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, .3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    display: flex;
    order: -1;
    justify-content: center;
  }

  .hero-portrait img {
    max-height: 220px;
    width: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  }

  .hero-content {
    padding: 90px 20px 40px;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .hero-ctas {
    justify-content: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    padding: 12px 20px;
    font-size: .88rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-eyebrow {
    font-size: .75rem;
    margin-bottom: 8px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .why-me-grid {
    grid-template-columns: 1fr;
  }

  .why-me-item.anim-fade {
    transform: translateY(60px) scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .why-me-item.anim-fade.visible {
    transform: translateY(0) scale(1);
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .project-img-stack {
    grid-template-columns: 1fr;
  }

  .contact-map-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-image-side {
    min-height: auto;
  }

  .contact-portrait {
    width: 200px;
    height: 200px;
    /* Ensure it stays circular and not too big */
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .sticky-cta {
    display: block;
  }

  .testimonial-slide {
    padding: 0 16px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  /* Projects Visibility on Mobile */
  .mobile-project-card {
    display: block;
    /* Show card on mobile */
  }

  .projects-wrapper {
    display: none;
    /* Hide full list on mobile */
  }
}

@media (max-width: 480px) {

  .container,
  .container-narrow {
    padding: 0 16px;
  }

  .project {
    padding: 0 16px;
    margin-bottom: 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: .9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: .95rem;
  }
}

/* Project Carousel Styles */
.project-carousel-section {
  width: 100%;
  padding: 40px 0 80px;
  overflow: hidden;
  background-color: var(--c-bg);
}

/* Specific centering for project section header */
#projects .section-title,
#projects .section-subtitle {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  width: 100%;
  max-width: 1400px;
  /* Increased from 1000px to fill screen better */
  margin: 40px auto 0;
  /* Added top margin for spacing from text */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  height: 500px;
  /* Fixed height for consistency */
  display: block;
  /* Make anchor block */
  text-decoration: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 80px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #fff;
  text-align: center;
  pointer-events: none;
  /* Let clicks pass to anchor */
  z-index: 5;
}

.carousel-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 300;
  color: #fff;
}

.carousel-caption .btn-sm {
  display: inline-block;
  padding: 10px 24px;
  background: #C5A059;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s ease;
}

.carousel-slide:hover .btn-sm {
  background: #b08d4b;
  transform: translateY(-2px);
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-btn#carouselPrev {
  left: 20px;
}

.carousel-btn#carouselNext {
  right: 20px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: #C5A059;
  border-color: #C5A059;
  transform: scale(1.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .carousel-slide {
    height: 400px;
  }

  .carousel-caption {
    padding-bottom: 40px;
    /* Space for dots */
  }

  .carousel-caption h3 {
    font-size: 1.8rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-btn#carouselPrev {
    left: 10px;
  }

  .carousel-btn#carouselNext {
    right: 10px;
  }
}

/* Mobile Spacing for Project Carousel */
@media (max-width: 768px) {
  .project-carousel-section {
    padding-top: 20px;
  }

  .carousel-container {
    /* Reduce top margin on mobile */
    margin-top: 20px;
  }

  #projects .section-subtitle {
    /* Reduce bottom margin of subtitle */
    margin-bottom: 20px;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• PRICING PACKAGES â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-packages {
  background: var(--c-bg-dark);
}

.section-packages .section-title {
  color: #fff;
}

.section-packages .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-packages .pricing-toggle-row {
  background: #fff;
  color: var(--c-primary);
  border: none;
}

.section-packages .pricing-details-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pricing-master-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Header Row (Two Cards) */
.pricing-header-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 30px;
}

.pkg-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0 0 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--c-border);
}

.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.featured-card {
  border: 2px solid var(--c-accent);
  position: relative;
}

.featured-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
  letter-spacing: 0.05em;
}

/* Image & Title Overlay */
.pkg-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 20px;
}

.pkg-img {
  width: 100%;
  height: 100%;
  /* User requested specific focus */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-img {
  transform: scale(1.05);
}

.pkg-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  text-align: center;
}

.pkg-title-overlay h3 {
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pkg-desc {
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--c-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 60px;
  /* alignment */
}

/* Spacer for middle column alignment */
.pkg-header-spacer {
  width: 0;
  /* In desktop list view, we don't have a middle column in header, just empty space logic if needed. 
     But for the table below, we have 3 cols (Check - Feature - Check). 
     Here we just have 2 cards. */
  display: none;
}

/* Divider & Toggle */
.pricing-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-border), transparent);
  margin: 0 auto;
  width: 80%;
}

.pricing-toggle-row {
  user-select: none;
  margin-top: -14px;
  /* Pull up to overlap divider slightly or just sit nicely */
  background: var(--c-bg);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid var(--c-border);
}

.pricing-toggle-row:hover {
  color: var(--c-accent) !important;
  border-color: var(--c-accent);
}

/* Details Table Wrapper */
.pricing-details-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.pricing-details-wrapper.active {
  max-height: 2500px;
  /* Arbitrary large enough height */
  opacity: 1;
  margin-top: 30px;
}

/* Table Styling */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}

.col-feature {
  text-align: left;
  font-size: 0.95rem;
  color: var(--c-text);
  width: 50%;
  /* Center column takes half width? Or variable? */
}

.col-check {
  width: 25%;
  text-align: center;
  font-size: 1.1rem;
}

.icon-check {
  color: var(--c-success);
  font-weight: bold;
}

.icon-cross {
  color: var(--c-text-light);
  opacity: 0.3;
  font-size: 0.9rem;
}

/* Featured Column Highlight */
.featured-cell {
  background-color: rgba(201, 168, 76, 0.03);
  /* Very subtle gold tint */
  border-left: 1px solid rgba(201, 168, 76, 0.1);
  border-right: 1px solid rgba(201, 168, 76, 0.1);
}

.col-check-foot {
  text-align: center;
  padding-top: 20px;
  border-bottom: none;
}

.percentage {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary);
}

.sm-text {
  font-size: 0.75rem;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .pricing-header-row {
    flex-direction: row;
    /* Side-by-side on mobile */
    gap: 10px;
    margin-bottom: 20px;
  }

  .pkg-card {
    padding: 0 0 16px 0;
  }

  .pkg-img-container {
    height: 120px;
    /* Force smaller height */
    margin-bottom: 12px;
  }

  .pkg-title-overlay {
    padding: 20px 8px 8px;
    /* Tighter padding */
  }

  .pkg-title-overlay h3 {
    font-size: 1.1rem;
    /* Smaller title */
  }

  .pkg-desc {
    display: none;
    /* Hide description on mobile to save space */
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .featured-badge-top {
    font-size: 0.6rem;
    padding: 2px 6px;
    top: 8px;
    right: 8px;
  }

  .pkg-desc {
    min-height: auto;
  }

  /* For table on mobile: 
     It might be too squashed. We can make the Feature text smaller, or stack?
     Standard comparison tables are hard on mobile. 
     Let's try to keep it but reduce padding.
  */
  .pricing-table td {
    padding: 10px 4px;
    font-size: 0.85rem;
  }

  .col-feature {
    width: auto;
  }

  .col-check {
    width: 75px;
    /* Slightly wider */
    padding: 10px 2px;
    /* Reduce horizontal padding */
  }

  .percentage {
    font-size: 0.9rem;
    /* Much smaller on mobile */
    white-space: nowrap;
    /* Prevent breaking */
  }

  .sm-text {
    font-size: 0.6rem;
    line-height: 1.1;
  }
}

/* Footer Credit */
.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  opacity: 1;
  transition: opacity 0.3s;
}

.footer-credit-link:hover {
  opacity: 1;
}

.footer-credit-logo {
  filter: brightness(1.4);
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-name {
  white-space: nowrap;
}