:root {
  --bg: #050308;
  --bg-elevated: #0b050a;
  --bg-soft: #121018;
  --accent: #e0122d;
  --accent-soft: #cb2541;
  --accent-deep: #a20320;
  --text: #fff3f3;
  --text-soft: #e7dfdf;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.7);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #2a0710 0, #050308 55%, #000 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom,
      #18050C,
      #18050aac,
      transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 100px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(224, 18, 45, 0.1);
  border: 1px solid rgba(224, 18, 45, 0.3);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(104, 12, 24, 0.466);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-soft);

}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(59, 14, 14, 0.534);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}



.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* Hero */

.hero {
  position: relative;
  padding: 10rem 0 8rem;
  overflow: hidden;
}

/* SVG Bézier curves canvas */
.hero-curves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.footer-curves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: all;
  opacity: 0.15;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(255, 85, 113, 0.22) 0,
      transparent 48%),
    radial-gradient(circle at bottom, rgba(255, 35, 64, 0.1), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-frame {
  position: relative;
  padding: 4rem 3rem;
  border: 2px solid #7d2e38;
  border-radius: 4px;
  max-width: 75rem;
  margin: 0 auto;
}

/* Corner tooltips */
.corner-tooltip {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.corner-tooltip::after {
  content: attr(data-text);
  position: absolute;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, rgba(20, 5, 8, 0.98), rgba(11, 5, 10, 0.98));
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(224, 18, 45, 0.5);
}

.corner-tooltip:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(224, 18, 45, 0.6);
}

.corner-tooltip:hover::after {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  cursor: pointer;
}

.corner-tooltip:active::after {
  transform: scale(0.95);
}

.corner-top-left {
  top: -14px;
  left: -14px;
}

.corner-top-left::after {
  top: 32px;
  left: 0;
}

.corner-top-right {
  top: -14px;
  right: -14px;
}

.corner-top-right::after {
  top: 32px;
  right: 0;
}

.corner-bottom-left {
  bottom: -14px;
  left: -14px;
}

.corner-bottom-left::after {
  bottom: 32px;
  left: 0;
}

.corner-bottom-right {
  bottom: -14px;
  right: -14px;
}

.corner-bottom-right::after {
  bottom: 32px;
  right: 0;
}

/* Create wrapper for bottom corners */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0;
  flex-wrap: wrap;
  position: relative;
}



.hero-title {
  font-size: clamp(4rem, 5vw, 5rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #837174);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 38rem;
  margin: 0 auto 1.8rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at top, #27121a, #060208);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
}

.meta-label {
  display: block;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.meta-value {
  font-weight: 500;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.4rem;
}

.section-header h2 {
  margin: 0 0 0.8rem;
  font-size: 1.7rem;
}

.section-intro {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Cards / grids */

/* Clients marquee section */
.section-clients {
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(224, 18, 45, 0.03) 50%, rgba(0, 0, 0, 0) 100%);
}

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

.section-clients .gradient-text {
  font-size: 2rem;

}

.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

.clients-track {
  display: flex;
  gap: 4rem;
  animation: marqueeScroll 30s linear infinite;
  width: fit-content;
}

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

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.client-logo:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(224, 18, 45, 0.3);
  transform: translateY(-4px);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.8);
  opacity: 0.6;
  transition: all 0.3s ease;
}

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

/* FAQ Section */
.section-faq {
  padding: 5rem 0;
}

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

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(224, 18, 45, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.8rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.featured-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.featured-service-box {
  position: relative;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.6), rgba(9, 4, 11, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
}

.featured-service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 18, 45, 0.3);
  box-shadow: 0 20px 60px rgba(66, 5, 13, 0.082);
}

/* Corner squares */
.featured-box-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
}

.featured-box-corner.top-left {
  top: -1px;
  left: -1px;
}

.featured-box-corner.top-right {
  top: -1px;
  right: -1px;
}

.featured-box-corner.bottom-left {
  bottom: -1px;
  left: -1px;
}

.featured-box-corner.bottom-right {
  bottom: -1px;
  right: -1px;
}

/* SVG Graphics */
.featured-box-graphic {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  color: var(--accent-soft);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-service-box:hover .featured-box-graphic {
  opacity: 0.6;
  transform: scale(1.05);
}

.featured-service-box h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.featured-service-box p {
  margin-bottom: 50px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 85%;
  position: relative;
  z-index: 1;
}

.featured-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(224, 18, 45, 0.1);
  border: 1px solid rgba(224, 18, 45, 0.3);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.featured-box-cta:hover {
  background: rgba(224, 18, 45, 0.2);
  border-color: rgba(224, 18, 45, 0.5);
  transform: translateX(4px);
}

.featured-box-cta span {
  transition: transform 0.3s ease;
}

.featured-box-cta:hover span {
  transform: translateX(4px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  background: radial-gradient(circle at top, #211018, #09040b);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left,
      rgba(255, 35, 64, 0.16),
      transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.card:hover .card-glow {
  opacity: 0.5;
}

.service-card {
  min-height: 220px;
}

/* Work preview */

.work-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.work-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.1rem 1.3rem;
  background: radial-gradient(circle at top, #160b11, #050308);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.work-media {
  border-radius: calc(var(--radius-lg) - 8px);
}

.placeholder-gradient {
  background: radial-gradient(circle at top left,
      rgba(255, 89, 120, 0.75),
      transparent 55%),
    radial-gradient(circle at bottom right, #050308, #050308);
}

.work-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.work-content p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.text-link {
  font-size: 0.86rem;
  color: var(--accent-soft);
}

/* Contact section */

.section-contact-cta {
  padding-bottom: 4.2rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top, #2c0c16, #16050b);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}


/* Social Icons Styling */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icons a {
  color: #ffffff;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}



/* Page hero (inner pages) */

.page-hero {
  position: relative;
  padding: 3.4rem 0 2.6rem;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(255, 75, 106, 0.26),
      transparent 55%),
    radial-gradient(circle at bottom, rgba(255, 45, 76, 0.16), transparent 60%);
  opacity: 0.85;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: 2.1rem;
}

.page-hero-subtitle {
  font-size: 0.97rem;
  color: #bb9f9f;
}

/* Services page layout */

.services-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.7rem;
}

.services-sidebar {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  background: radial-gradient(circle at top left, #241018, #050308);
  border: 1px solid var(--border-soft);
}

.services-sidebar h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.services-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.87rem;
  color: var(--text-soft);
}

.services-sidebar li {
  padding: 0.35rem 0;
}

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

.service-detail-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  background: radial-gradient(circle at top, #140811, #050308);
  border: 1px solid var(--border-soft);
}

.service-detail-card h3 {
  margin: 0 0 0.5rem;
}

.service-detail-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.service-detail-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Work Cards Section */
.work-cards-section {
  padding: 4rem 0;
}

.work-card-container {
  position: relative;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.4), rgba(9, 4, 11, 0.8));
  border: 1px solid rgba(224, 18, 45, 0.4);
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 3rem;
  overflow: visible;
  transition: all 0.3s ease;
}

.work-card-container:hover {
  box-shadow: 0 0 20px rgba(87, 7, 17, 0.418),
    0 0 40px rgba(224, 18, 45, 0.08),
    inset 0 0 20px rgba(224, 18, 45, 0.05);
  transform: translateY(-2px);
}

.work-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.work-card-text {
  flex: 1;
}

.work-card-title {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}

.work-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-tag {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 18, 45, 0.3);
  background: rgba(224, 18, 45, 0.1);
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-tag:hover {
  background: rgba(224, 18, 45, 0.2);
  border-color: rgba(224, 18, 45, 0.5);
  transform: translateY(-1px);
}

.work-card-description {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.work-card-details {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.work-card-details li {
  margin-bottom: 0.5rem;
  position: relative;
}

.work-card-details li::marker {
  color: var(--accent);
}

.work-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.work-video-container {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.work-video-container:hover {
  border-color: rgba(224, 18, 45, 0.3);
  box-shadow: 0 8px 24px rgba(224, 18, 45, 0.15);
}

.work-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* Work grid (work page) */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

@media (max-width: 1100px) {
  .work-card-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.5rem 2rem;
    gap: 2rem;
  }

  .work-card-media {
    padding: 0.5rem 0;
  }

  .work-video-container {
    height: 240px;
  }
}

.work-grid .work-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
}

.work-grid .work-media {
  min-height: 150px;
  margin-bottom: 0.9rem;
}

.work-grid .work-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.work-grid .work-content p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
}

.tags li {
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.work-grid .tall {
  grid-column: span 2;
}

/* About page */

/* How We Work Section */
.how-we-work-section {
  padding: 4rem 0;
  position: relative;
}

.how-we-work-container {
  position: relative;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.4), rgba(9, 4, 11, 0.8));
  border: 1px solid rgba(224, 18, 45, 0.4);

  padding: 3rem 2.5rem;
  min-height: 500px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  overflow: visible;

}

.how-we-work-container:hover {
  box-shadow: 0 0 20px rgba(224, 18, 45, 0.15),
    0 0 40px rgba(224, 18, 45, 0.08),
    inset 0 0 20px rgba(224, 18, 45, 0.05);
  transition: box-shadow 0.3s ease;
}



/* Corner markers */
.work-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  z-index: 10;
  box-shadow: 0 0 8px rgba(224, 18, 45, 0.6);
}

.work-corner-top-left {
  top: -5px;
  left: -5px;
}

.work-corner-top-right {
  top: -5px;
  right: -5px;
}

.work-corner-bottom-left {
  bottom: -5px;
  left: -5px;
}

.work-corner-bottom-right {
  bottom: -5px;
  right: -5px;
}

/* Timeline */
.work-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.timeline-line {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(224, 18, 45, 0.3));
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(224, 18, 45, 0.5);
  position: relative;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(224, 18, 45, 0.4);
  border-radius: 50%;
}

.timeline-content {
  flex: 1;
}

.timeline-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  background: rgba(224, 18, 45, 0.1);
  border: 1px solid rgba(224, 18, 45, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-label {
  background: rgba(224, 18, 45, 0.2);
  border-color: rgba(224, 18, 45, 0.4);
  transform: translateX(4px);
}

.timeline-step.active .timeline-marker {
  background-color: var(--accent);
  box-shadow: 0 0 20px rgba(224, 18, 45, 0.8);
  transform: scale(1.2);
}

.timeline-step.active .timeline-label {
  background: rgba(224, 18, 45, 0.3);
  border-color: rgba(224, 18, 45, 0.5);
  color: var(--text);
  font-weight: 600;
}

.timeline-step.active .timeline-marker::after {
  border-color: rgba(224, 18, 45, 0.6);
  border-width: 2px;
}

/* Work content area */
.work-content-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
}

.work-content-text {
  flex: 1;
}

.work-section-title {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.work-section-description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 90%;
  transition: all 0.3s ease;
}

strong {
  padding-bottom: 20px;
}

.work-content-icon {
  position: relative;
  display: flex;
  align-items: flex-end;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-content-icon:hover {
  opacity: 0.5;
  transform: scale(1.05);
}

.work-icon {
  width: 200px;
  height: 200px;
  max-width: 100%;
  filter: brightness(0.8);
  transition: all 0.4s ease;
  opacity: 1;
}

.work-content-icon:hover .work-icon {
  filter: brightness(1);
}

.work-icon.fade-out {
  opacity: 0;
  transform: scale(0.9);
}

.work-icon.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Achievements Section */
.achievements-section {
  padding: 5rem 0;
  background: radial-gradient(circle at center, rgba(224, 18, 45, 0.05), transparent 70%);
}

/* Date Timeline Styles */
.date-timeline-wrapper {
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.timeline-container {
  position: relative;
  padding: 3rem 0 4rem;
  width: 100%;
  cursor: grab;
  user-select: none;
}

.timeline-container:active {
  cursor: grabbing;
}

/* Month labels above timeline */
.timeline-months {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  min-width: 1200px;
  width: 100%;
}

.month-label {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  flex: 1;
  text-align: center;
}

.month-label::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.2);
}

/* Timeline track - draggable container */
.timeline-track {
  position: relative;
  width: 100%;
  min-width: 1200px;
  height: 80px;
  overflow: visible;
  margin: 0 auto;
}

.timeline-line-horizontal {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  z-index: 1;
}

/* Timeline points */
.timeline-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-point:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.point-marker {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.timeline-point.active .point-marker {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(224, 18, 45, 0.6);
}

.timeline-point.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  z-index: -1;
}

.timeline-point:hover .point-marker {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(224, 18, 45, 0.5);
}

/* Timeline details below */
.timeline-details {
  margin-top: 3rem;
  min-height: 120px;
  padding: 1.5rem 0;
}

.timeline-date-label {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-content-block {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.timeline-content-block.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.timeline-description {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: radial-gradient(circle at center, rgba(224, 18, 45, 0.03), transparent 70%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member {
  overflow: visible;
}

.team-member-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  overflow: visible;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.6), rgba(9, 4, 11, 0.9));
  border: 1px solid rgba(224, 18, 45, 0.5);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  padding: 0;
  box-sizing: border-box;
}

.team-member-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.6), rgba(9, 4, 11, 0.9));
}

.team-member:hover .team-member-image {
  border-color: rgba(224, 18, 45, 0.4);
  box-shadow: 0 20px 60px rgba(224, 18, 45, 0.2);
}

/* Team corner markers */
.team-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  z-index: 20;
  box-shadow: 0 0 8px rgba(224, 18, 45, 0.6);
}

.team-corner-top-left {
  top: -5px;
  left: -5px;
}

.team-corner-top-right {
  top: -5px;
  right: -5px;
}

.team-corner-bottom-left {
  bottom: -5px;
  left: -5px;
}

.team-corner-bottom-right {
  bottom: -5px;
  right: -5px;
}

.team-member-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.team-member:hover .team-member-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0;
  z-index: 3;
  pointer-events: none;
}

.team-member:hover .team-member-overlay {
  opacity: 1;
}

.team-member-info {
  text-align: center;
}

.team-member-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.4rem;
  transition: color 0.3s ease;
}

.team-member:hover .team-member-name {
  color: var(--accent);
}

.team-member-role {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-card {
  padding: 1.3rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #130710, #050308);
  border: 1px solid var(--border-soft);
}

.about-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.about-card p {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.about-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, #140711, #050308);
  padding: 1.6rem 0 0.4rem;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  padding-bottom: 1.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-logo {
  width: 90px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links-list a {
  color: var(--text-soft);
}

.footer-links-list a:hover {
  color: var(--text);
}

.footer-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  padding: 0.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-bottom-links a {
  color: (#695a5a);
}

.footer-bottom-links a:hover {
  color: (#8f7575);
}

.footer-bottom-links .divider {
  opacity: 0.5;
}

.footer-mark {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.8rem;
  pointer-events: none;
  opacity: 0.8;
  position: relative;
  z-index: 1;
  min-height: 380px;
}



.footer-mark::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(80vw, 900px);
  height: min(35vw, 380px);
  background: radial-gradient(circle at top, rgba(155, 153, 153, 0.534), rgba(68, 59, 59, 0.658));
  mask-image: url("Assets/Main Logo.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("Assets/Main Logo.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}


.about-mark {

  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  pointer-events: none;
  opacity: 1;
  position: relative;
  z-index: 1;
  min-height: 330px;
}

/* Legal Pages */
.legal-hero {
  position: relative;
  padding: 3.4rem 0 2.6rem;
}

.legal-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(255, 75, 106, 0.26),
      transparent 55%),
    radial-gradient(circle at bottom, rgba(255, 45, 76, 0.16), transparent 60%);
  opacity: 0.85;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.legal-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(224, 18, 45, 0.1);
  border: 1px solid rgba(224, 18, 45, 0.2);
}

.legal-section {
  padding: 3rem 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.legal-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #130710, #050308);
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

.legal-card:hover {
  border-color: rgba(224, 18, 45, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(224, 18, 45, 0.15);
}

.legal-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text);
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-list li {
  margin-bottom: 0.75rem;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-callout {
  background: radial-gradient(circle at top, rgba(224, 18, 45, 0.05), transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.legal-callout .eyebrow {
  margin-bottom: 0.5rem;
}

.legal-callout h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.legal-callout p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.legal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

.about-mark::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(80vw, 900px);
  height: min(35vw, 380px);
  background: radial-gradient(circle at top, rgba(199, 199, 199, 0.534), rgba(80, 62, 62, 0.658));
  mask-image: url("Assets/Main Logo.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("Assets/Main Logo.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}



/* Responsive */

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-sidebar {
    order: -1;
  }

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

  .work-grid .tall {
    grid-column: span 2;
  }

  /* Hide Bézier curves on tablet */
  .hero-curves,
  .footer-curves {
    display: none;
  }

  .service-detailed-box {
    flex-direction: column;
  }

  .service-image-container {
    max-width: 100%;
  }

  .service-image {
    width: 100%;
    height: auto;
  }

  .service-image-container:hover .service-image {
    transform: scale(1);
  }

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

  .legal-callout-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-actions {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
}

/* Detailed Services Section */
.section-services-detailed {
  padding: 4rem 0;
}

.services-detailed-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-detailed-box {
  position: relative;
  background: radial-gradient(circle at top, rgba(33, 16, 24, 0.6), rgba(9, 4, 11, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-detailed-box:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 37, 55, 0.733);
  box-shadow: 0 10px 30px rgba(82, 14, 24, 0.178);
}

.service-detailed-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-image-container {
  flex: 1;
  max-width: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-image-container:hover .service-image {
  transform: scale(1.05);
}

.service-detailed-box h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.service-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

.service-description {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-features {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .work-card-container {
    padding: 2rem 1.4rem;
    gap: 1.5rem;
  }

  .work-card-title {
    font-size: 1.5rem;
  }

  .work-card-categories {
    gap: 0.4rem;
  }

  .work-video-container {
    height: 200px;
  }

  .header-inner {
    padding-inline: 1.1rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.6rem 1.3rem 1rem;
    background: rgba(5, 3, 8, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-frame {
    padding: 2rem 1.5rem;
  }

  .hero-frame::before,
  .hero-frame::after,
  .hero-actions::before,
  .hero-actions::after {
    width: 18px;
    height: 18px;
  }

  .hero-actions::before {
    bottom: calc(-2rem - 11px);
    left: calc(-1.5rem - 11px);
  }

  .hero-actions::after {
    bottom: calc(-2rem - 11px);
    right: calc(-1.5rem - 11px);
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-logo {
    width: 140px;
    height: 70px;
  }

  .clients-track {
    gap: 2rem;
  }

  .service-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-months {
    font-size: 0.65rem;
    gap: 0.5rem;
  }

  .timeline-track {
    height: 60px;
  }

  .timeline-details {
    margin-top: 2rem;
    min-height: 100px;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  .timeline-description {
    font-size: 0.85rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .how-we-work-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.5rem;
    gap: 2rem;
    min-height: auto;
  }

  .work-timeline {
    padding-left: 1rem;
  }

  .timeline-line {
    left: 16px;
  }

  .work-content-area {
    padding-top: 0;
  }

  .work-section-description {
    max-width: 100%;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detailed-box {
    padding: 2rem;
    flex-direction: column;
  }

  .service-image-container {
    max-width: 100%;
  }

  .service-detailed-content {
    width: 100%;
  }

  .service-image {
    width: 100%;
    height: auto;
  }

  .service-image-container:hover .service-image {
    transform: scale(1);
  }

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

  .footer-bottom {
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-callout-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-actions {
    width: 100%;
    max-width: 100%;
  }

  /* Hide Bézier curves on mobile */
  .hero-curves,
  .footer-curves {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

 .about-mark {
  min-height: 190px;
 }

  .footer-mark {
    min-height: 190px;
  }


  .contact-card {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1.3rem;
    justify-content: flex-start;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .achievements-timeline {
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .achievement-number {
    font-size: 1.8rem;
    min-width: 60px;
  }

  .achievement-icon {
    width: 50px;
    height: 50px;
  }

  .achievement-icon img {
    width: 28px;
    height: 28px;
  }

  .achievement-label {
    font-size: 0.85rem;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0 0.5rem;
    margin-top: 0.75rem;
  }
  
  .footer-bottom-links {
    gap: 0.5rem;
  }
}