/* ==========================================================================
   ALWAY — DIGITAL INNOVATION STUDIO DESIGN SYSTEM (WORDPRESS THEME)
   ========================================================================== */

:root {
  --bg-dark: #141E13;
  --bg-dark-card: #1C2A1B;
  --bg-light: #F4F0EA;
  --bg-light-card: #FFFFFF;
  --bg-yellow: #E1FE00;
  
  --text-dark: #121911;
  --text-light: #F4F0EA;
  --text-muted-dark: #7B8A78;
  --text-muted-light: #6A7B68;
  
  --font-heading: 'Plus Jakarta Sans', 'Syne', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Container Utility */
.section-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Common Typography & Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 25, 17, 0.2);
  background-color: rgba(18, 25, 17, 0.04);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.heading-muted {
  color: var(--text-muted-dark);
}

.heading-muted-light {
  color: var(--text-muted-light);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: background var(--transition-fast), padding var(--transition-fast), backdrop-filter var(--transition-fast);
}

.navbar-header.scrolled {
  background: rgba(20, 30, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 2px;
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 7px;
  height: 7px;
  background-color: var(--bg-yellow);
  border-radius: 50%;
  display: inline-block;
  margin-top: 4px;
}

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

.nav-link, .nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(244, 240, 234, 0.7);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.active,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
  color: var(--text-light);
}

.nav-link .dot {
  color: var(--bg-yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(244, 240, 234, 0.4);
  background: transparent;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-talk:hover {
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  border-color: var(--bg-yellow);
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--bg-dark);
}

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

.hero-header-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.text-outline {
  color: rgba(244, 240, 234, 0.35);
}

/* Floating Yellow Badge */
.agency-insights-card {
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  padding: 28px 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-smooth);
}

.agency-insights-card:hover {
  transform: translateY(-4px);
}

.card-header-label {
  display: flex;
  flex-direction: column;
}

.label-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.label-sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
}

.insight-metric-item {
  border-top: 1px solid rgba(18, 25, 17, 0.15);
  padding-top: 14px;
}

.metric-val-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.metric-arrow {
  font-size: 1.5rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

/* Hero Banner Image */
.hero-image-frame {
  width: 100%;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--transition-smooth);
}

.hero-image-frame:hover .hero-img {
  transform: scale(1.03);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team-counter-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-stat {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.team-stat .bullet {
  font-size: 2rem;
  line-height: 1;
}

.team-stat .count {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.team-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted-dark);
}

.team-avatar-frame {
  width: 120px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading-dark {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.lead-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-transform: uppercase;
}

.body-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #525E50;
}

.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  width: fit-content;
}

.btn-dark-pill:hover {
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-bottom: 120px;
}

.services-header-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-bottom: 48px;
  align-items: flex-end;
}

.services-desc {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.carousel-nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(18, 25, 17, 0.2);
  background: transparent;
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-arrow:hover {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Services Cards Grid Carousel */
.services-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
}

.card-active-yellow {
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
}

.card-dark {
  background-color: var(--bg-dark-card);
  color: var(--text-light);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
}

.service-icon-box svg {
  width: 100%;
  height: 100%;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.service-card-text {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* ==========================================================================
   FEATURED WORKS ACCORDION SECTION
   ========================================================================== */
.works-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 100px 0;
}

.works-layout-grid {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.works-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.work-item-btn {
  background: none;
  border: none;
  text-align: left;
  color: rgba(244, 240, 234, 0.4);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 8px 0;
}

.work-item-btn:hover,
.work-item-btn.active {
  color: var(--text-light);
}

.work-item-btn.active .work-title {
  text-decoration: underline;
  text-decoration-color: var(--bg-yellow);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
  color: var(--text-light);
}

.btn-lime-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-yellow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--transition-fast);
}

.btn-lime-link:hover {
  transform: translateX(6px);
}

.works-preview-col {
  width: 100%;
}

.preview-frame {
  width: 100%;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.preview-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(20, 30, 19, 0.9), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-overlay-info .tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg-yellow);
  letter-spacing: 0.08em;
}

.preview-overlay-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

/* Noteworthy Header Divider */
.noteworthy-header-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding-top: 40px;
}

.section-heading-light {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.noteworthy-subtext {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 100px 0;
}

.testimonial-header {
  max-width: 800px;
  margin-bottom: 64px;
}

.testimonial-lead {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

.testimonial-card-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.client-portrait-frame {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
}

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

.quote-content-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text-dark);
}

.testimonial-author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(18, 25, 17, 0.12);
  padding-top: 20px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

.star-rating {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  font-size: 1.1rem;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-bottom: 120px;
}

.blog-header-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 64px;
}

.blog-subtext {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  max-width: 680px;
  margin-top: 16px;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-img-frame {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(18, 25, 17, 0.1);
  padding-top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-read-link {
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-read-link:hover {
  color: #388E3C;
}

.blog-date {
  color: var(--text-muted-dark);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  border-color: var(--bg-yellow);
}

.footer-hero-headline {
  margin-bottom: 64px;
}

.footer-info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.col-heading {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted-light);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-nav-list a {
  color: rgba(244, 240, 234, 0.7);
  transition: color var(--transition-fast);
}

.footer-nav-list a.active,
.footer-nav-list a:hover {
  color: var(--bg-yellow);
}

.address-text, .phone-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 240, 234, 0.8);
}

/* Giant CTA Banner Button */
.footer-cta-banner {
  width: 100%;
  margin-bottom: 48px;
}

.cta-banner-btn {
  width: 100%;
  padding: 36px;
  background-color: var(--bg-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: transform var(--transition-smooth), filter var(--transition-fast);
}

.cta-banner-btn:hover {
  transform: scale(1.01);
  filter: brightness(1.05);
}

.cta-mail-icon {
  width: 32px;
  height: 32px;
}

.cta-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-bottom-bar {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.copyright-text {
  font-size: 0.75rem;
  color: var(--text-muted-light);
  letter-spacing: 0.05em;
}
