/* ==================================
   CONCEPT 5 - MODERN REDESIGN
   Apple-inspired, Bold, Clean
   ================================== */

/* ----- CSS Variables ----- */
:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-text: #1d1d1f;
  --color-text-secondary: #86868b;
  --color-accent: #00a0e3;
  --color-accent-hover: #0077b6;
  --color-accent-light: #48cae4;
  --color-border: #d2d2d7;
  
  /* Gradients - Varied palette with less blue */
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  --gradient-statement: linear-gradient(135deg, #f8f8f8 0%, #eeeeee 100%);
  --gradient-approach: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  --gradient-testimonial: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  --gradient-cta: linear-gradient(135deg, #f5f9fb 0%, #e8f2f7 100%);
  --gradient-dark: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
  --gradient-accent: linear-gradient(135deg, #00a0e3 0%, #0077b6 100%);
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;
  
  /* Layout */
  --container-wide: 1440px;
  --container: 1200px;
  --container-narrow: 800px;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.6s;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ----- Containers ----- */
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--duration) var(--ease);
}

.header.hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.logo img {
  height: 100px;
  width: auto;
  transition: transform 0.3s var(--ease);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

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

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-accent);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  background: var(--gradient-accent);
  color: white;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 160, 227, 0.2);
}

.nav__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 160, 227, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ----- Hero Section ----- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12rem 2rem 5rem;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--gradient-hero);
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 160, 227, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1s var(--ease) forwards;
  opacity: 0;
  overflow: visible;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
}

.hero__title-line {
  display: block;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: visible;
  padding-bottom: 0.2rem;
}

.hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-text-secondary);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.4;
  animation: fadeIn 2s var(--ease) forwards;
}

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

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  animation: fadeInUp 1s var(--ease) 0.5s forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--color-text-secondary);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ----- Statement Section ----- */
.statement {
  padding: var(--space-3xl) 0;
  background: var(--gradient-statement);
  position: relative;
}

.statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}

/* ----- Featured Work ----- */
.featured {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.section-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: var(--space-lg);
}

.featured__main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 50%, #f0f6f8 100%);
  border-radius: 24px;
  transition: transform var(--duration) var(--ease);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.featured__main:hover {
  transform: scale(1.02);
}

.featured__image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
}

.featured__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 160, 227, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
}

.featured__main:hover .featured__image::after,
.featured__item:hover .featured__image::after {
  opacity: 1;
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.featured__main:hover .featured__image img,
.featured__item:hover .featured__image img {
  transform: scale(1.05);
}

.featured__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

.featured__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.featured__description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.featured__link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  display: inline-block;
}

.featured__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s var(--ease);
}

.featured__main:hover .featured__link::after,
.featured__item:hover .featured__link::after {
  width: 100%;
}

.featured__item {
  display: block;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f7f9 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.featured__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.featured__item .featured__image {
  aspect-ratio: 3 / 2;
}

.featured__item .featured__content {
  padding: 2rem;
}

.featured__item .featured__title {
  font-size: 1.5rem;
}

.featured__more {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ----- Numbers ----- */
.numbers {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #1a1f2e 0%, #243447 50%, #1a1f2e 100%);
  color: white;
  position: relative;
}

.numbers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 160, 227, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(72, 202, 228, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  text-align: center;
}

.number-item__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.number-item__label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ----- Approach ----- */
.approach {
  padding: var(--space-3xl) 0;
  background: var(--gradient-approach);
  position: relative;
}

.approach::before {
  content: none;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.approach__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: var(--space-md) 0;
}

.approach__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.approach__image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* ----- Services Brief ----- */
.services-brief {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin: var(--space-lg) 0;
}

.service-brief__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-brief__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ----- Testimonial ----- */
.testimonial {
  padding: var(--space-3xl) 0;
  background: var(--gradient-testimonial);
  position: relative;
}

.testimonial::before {
  content: none;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  margin-bottom: var(--space-lg);
  quotes: """ """ "'" "'";
}

.testimonial__quote::before {
  content: open-quote;
}

.testimonial__quote::after {
  content: close-quote;
}

.testimonial__author {
  text-align: center;
}

.testimonial__name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial__title {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* ----- CTA ----- */
.cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--gradient-cta);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 160, 227, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 48px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 160, 227, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

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

/* ----- Links ----- */
.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  transition: gap 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ----- Footer ----- */
.footer {
  background: linear-gradient(135deg, #1a1f2e 0%, #2a3441 50%, #1a1f2e 100%);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 160, 227, 0.3) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: var(--space-lg);
}

.footer__logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer__links h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links a,
.footer__contact p {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
  line-height: 1.6;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__contact i {
  margin-right: 0.5rem;
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a:hover {
  color: white;
}

/* ----- WhatsApp Float ----- */
.whatsapp-float,
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.whatsapp-float:hover,
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ----- Page Hero Simple ----- */
.page-hero-simple {
  padding: calc(120px + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  background: var(--gradient-hero);
}

.page-hero-simple__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--space-md) 0;
}

.page-hero-simple__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ----- About Story ----- */
.about-story {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-story__image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.about-story__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: var(--space-md) 0;
}

.about-story__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ----- Values Section ----- */
.values-section {
  padding: var(--space-3xl) 0;
  background: var(--gradient-statement);
}

.values-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin: var(--space-md) 0 var(--space-lg);
}

.values-grid-simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: var(--space-lg);
}

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

.value-simple__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.value-simple__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-simple__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ----- Process Section ----- */
.process-section {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.process-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin: var(--space-md) 0 var(--space-lg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: var(--space-lg);
}

.process-step-simple {
  text-align: center;
}

.process-step-simple__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step-simple__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-step-simple__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ----- Communities Section ----- */
.communities-section {
  padding: var(--space-3xl) 0;
  background: var(--gradient-approach);
}

.communities-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin: var(--space-md) 0 var(--space-lg);
}

.communities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--space-lg);
}

.community-tag-simple {
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease);
}

.community-tag-simple:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ----- Services Detail ----- */
.services-detail {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: var(--space-3xl) 0;
}

.service-detail-item:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.service-detail-item--reverse {
  direction: rtl;
}

.service-detail-item--reverse > * {
  direction: ltr;
}

.service-detail-item__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: var(--space-md) 0;
}

.service-detail-item__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.service-detail-item__text p {
  margin-bottom: var(--space-md);
}

.service-detail-item__list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.service-detail-item__list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.service-detail-item__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-detail-item__image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-detail-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Contact Section ----- */
.contact-section {
  padding: var(--space-3xl) 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: white;
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--color-accent-hover);
}

.contact-info-item p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-form {
  background: var(--gradient-statement);
  padding: 3rem;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ----- Portfolio Page Styles ----- */
.page-hero {
  padding: calc(120px + var(--space-3xl)) 0 var(--space-xl);
  text-align: center;
  background: var(--gradient-hero);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--cream {
  background: var(--gradient-statement);
}

.portfolio-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 48px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--gradient-accent);
  border-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 160, 227, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: var(--space-lg);
}

.portfolio-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2.5rem;
}

.portfolio-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: white;
  transform: translateY(0);
  transition: transform var(--duration) var(--ease);
}

.portfolio-item__location {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.5rem;
}

.portfolio-item__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.portfolio-item__scope {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.portfolio-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-light);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
}

.portfolio-item:hover .portfolio-item__cta {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item__cta i {
  transition: transform 0.3s var(--ease);
}

.portfolio-item:hover .portfolio-item__cta i {
  transform: translateX(4px);
}

/* ----- Gallery Grid (Hidden by default, shown when filtering) ----- */
.gallery-grid {
  display: none; /* Hidden by default */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(0.95);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.4;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0%, 100% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50% {
    transform: scaleY(0.5);
    transform-origin: top;
  }
}

/* Fade-in class for elements */
.fade-in {
  opacity: 1 !important;
  animation: fadeInUp 0.6s var(--ease) forwards;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: var(--space-xl) 0;
  }
  
  .service-detail-item--reverse {
    direction: ltr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .logo img {
    height: 72px;
  }
  
  .header__inner {
    height: 96px;
  }
  
  .hero {
    padding: 10rem 1rem 3rem;
  }
  
  .statement,
  .featured,
  .numbers,
  .approach,
  .services-brief,
  .testimonial,
  .cta,
  .page-hero-simple,
  .page-hero,
  .about-story,
  .values-section,
  .process-section,
  .communities-section,
  .services-detail,
  .contact-section,
  .section {
    padding: var(--space-xl) 0;
  }
  
  .page-hero-simple,
  .page-hero {
    padding-top: calc(96px + var(--space-xl));
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid,
  .portfolio-grid--full {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
