.responsive-social-icons {
  display: none;
  gap: 0.7rem;
  align-items: center;
  margin-left: 0.7rem;
}

@media (max-width: 760px) {
  .responsive-social-icons {
    display: flex;
    position: static;
    margin-left: 0.5rem;
    background: none;
    z-index: 1001;
  }
  .language-select-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  nav ul.social-icons:not(.responsive-social-icons) {
    display: none;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: #f8fafc;
  --text: #e2e8f0;
  --text-dark: #0f172a;
  --muted: #94a3b8;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #22d3ee;
  --stroke: rgba(255, 255, 255, 0.2);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.2), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(249, 115, 22, 0.26), transparent 38%),
    linear-gradient(160deg, #020617 5%, #0f172a 55%, #111827 100%);
}

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

li {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: transparent;
}

.inner-content {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
}

.section-title span {
  color: var(--primary);
}

.section-title.dark {
  color: var(--text-dark);
}

.section-description {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
}

.section-description.dark {
  color: #475569;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  padding: 0.82rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  background: linear-gradient(130deg, var(--primary), #fb923c);
  color: #fff;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.34);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

nav .inner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav ul.menu a {
  position: relative;
  font-weight: 600;
}

nav ul.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav ul.menu a:hover::after {
  width: 100%;
}

nav ul.social-icons li {
  font-size: 1.35rem;
}

.language-select-container {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.dropdown-arrow {
  font-size: 0.72rem;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 160px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.language-dropdown.active {
  display: block;
}

.language-dropdown li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.language-dropdown li:hover {
  background: #f1f5f9;
}


.menu-btn {
  display: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
}

.section-dock {
  position: fixed;
  right: 24px;
  top: 96px;
  transform: none;
  z-index: 997;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dock-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(2, 6, 23, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.36);
  color: #e2e8f0;
  cursor: pointer;
}

.dock-toggle-fallback {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.dock-links {
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.34);
  justify-items: center;
}

.dock-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 118px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.dock-links a i {
  font-size: 0.88rem;
}

.dock-links a:hover {
  border-color: rgba(34, 211, 238, 0.7);
  color: #fff;
}

.dock-links a.active {
  background: linear-gradient(130deg, var(--primary), #fb923c);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

header {
  padding: 4.4rem 0 3.2rem;
}

header .inner-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

header .left-side {
  display: grid;
  gap: 1rem;
}

.availability {
  justify-self: flex-start;
  padding: 0.33rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: #a5f3fc;
  font-size: 0.9rem;
}

header .left-side h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-family: "Sora", sans-serif;
  line-height: 1.05;
}

header .left-side h2 span {
  color: var(--primary);
}

#typing-text {
  min-height: 2.2rem;
  font-size: 1.05rem;
  color: #bfdbfe;
}

.hero-description {
  max-width: 58ch;
  color: #cbd5e1;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.85rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 0.75rem;
}

.metric-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.metric-card span {
  color: #cbd5e1;
  font-size: 0.88rem;
}

header .left-side .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

header .right-side {
  display: flex;
  justify-content: flex-end;
}

header .right-side img {
  width: min(430px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
  border: 2px solid rgba(249, 115, 22, 0.8);
  box-shadow: var(--shadow);
}

#about,
#brands,
#contact,
footer {
  padding: 4rem 0;
}

#about {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--text-dark);
}

#about .section-description {
  color: #334155;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.3rem;
  align-items: start;
}

.about-copy {
  min-width: 0;
}

.about-photo-card {
  order: -1;
  position: sticky;
  top: 104px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #dbe2ec;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  padding: 0.8rem;
}

.about-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #fb923c;
}

.timeline {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: 0 16px 16px 0;
  padding: 1.2rem;
  box-shadow: 0 16px 24px rgba(15, 23, 42, 0.1);
}

.timeline-dot {
  display: none;
}

.timeline-content h3 {
  color: #475569;
  font-size: 0.95rem;
}

.timeline-content h4 {
  color: #0f172a;
  margin: 0.35rem 0 0.55rem;
}

.timeline-content p {
  color: #334155;
  line-height: 1.6;
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.6), transparent);
}

#portifolio {
  background: #ffffff;
  color: var(--text-dark);
  padding: 4rem 0;
}

.portfolio-controls {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.9rem;
}

#project-search {
  width: 100%;
  max-width: 460px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  outline: none;
}

#project-search:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.2);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #fb923c;
  color: #9a3412;
  background: #fff7ed;
}

#portifolio .projects {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.project::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #22d3ee);
  border-radius: 18px 18px 0 0;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.18);
}

.project img,
.project video {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  display: block;
}

.project img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.project img:hover {
  opacity: 0.88;
}

/* LIGHTBOX */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lightbox-fade-in 0.2s ease;
}

#lightbox-overlay.open {
  display: flex;
}

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

#lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  cursor: default;
  animation: lightbox-zoom-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  object-fit: contain;
}

@keyframes lightbox-zoom-in {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

#lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 10000;
}

#lightbox-close:hover {
  opacity: 1;
  transform: scale(1.15);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.project h3 {
  color: #f1f5f9;
  line-height: 1.3;
}

.project .links {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}

.project .links .btn {
  width: 100%;
}

.projects-empty {
  margin-top: 1rem;
  color: #475569;
  font-weight: 600;
}

/* ── Project description & pain-point badge ───────────────────── */
.project-description {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: -0.3rem;
}

.project-pain {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  line-height: 1.5;
}

.pain-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #22d3ee;
}

.pain-label i {
  font-size: 0.7rem;
}

.video-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  width: fit-content;
}

#brands .inner-content {
  overflow: hidden;
}

.brands {
  margin-top: 1.3rem;
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 16s linear infinite;
}

.brand {
  width: 78px;
  height: auto;
  filter: grayscale(10%);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#contact {
  background: linear-gradient(180deg, #111827, #020617);
}

#contact .section-description {
  margin-bottom: 1rem;
}

#contact form {
  max-width: 760px;
  display: grid;
  gap: 0.8rem;
}

#contact textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  resize: vertical;
}

#contact textarea:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.22);
}

.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.35);
  z-index: 998;
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

footer {
  background: #020617;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-social-icons {
  margin-top: 0.55rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-icons a:hover {
  transform: translateY(-2px);
  border-color: #fb923c;
  color: #fff;
}

footer p {
  color: #94a3b8;
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  header .inner-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .availability {
    justify-self: center;
  }

  header .left-side .links {
    justify-content: center;
  }

  header .right-side {
    justify-content: center;
  }

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

  #portifolio .projects {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-card {
    order: 0;
    position: static;
    max-width: 390px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  nav .inner-content {
    position: relative;
  }

  nav ul.menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }

  nav ul.menu.show {
    display: flex;
  }

  nav ul.social-icons:not(.responsive-social-icons) {
    display: none;
  }

  .menu-btn {
    display: block;
    font-size: 2.3rem;
    min-width: 48px;
    min-height: 48px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .metric-card {
    padding: 0.58rem 0.45rem;
    border-radius: 10px;
  }

  .metric-card strong {
    font-size: 1rem;
  }

  .metric-card span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .project img {
    height: 190px;
  }

  .project .links {
    flex-direction: column;
  }

  .section-dock {
    top: 78px;
    right: 10px;
    bottom: auto;
    transform: none;
    align-items: flex-end;
    flex-direction: column;
  }

  .dock-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .dock-links {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .section-dock.is-open .dock-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .language-select-container {
    margin-left: auto;
  }

  .language-toggle {
    width: 108px;
  }

  .logo {
    font-size: 1.2rem;
  }

  header {
    padding-top: 3.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .whatsapp-btn {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}
