:root {
  --bg: #050816;
  --bg-soft: #0b1024;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a7b0c8;
  --primary: #ff7a18;
  --secondary: #a855f7;
  --accent: #ffb347;
  --danger: #ff4d6d;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 28px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 122, 24, 0.22), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(255, 179, 71, 0.12), transparent 30%),
    #050816;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  transition: 0.3s ease;
}

.header.scrolled {
  background: rgba(5, 8, 22, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  filter:
    drop-shadow(0 0 18px rgba(255, 122, 24, 0.35))
    drop-shadow(0 0 18px rgba(168, 85, 247, 0.28));
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 30px rgba(255, 122, 24, 0.45);
}
.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 24, 0.25);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: 0.25s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.32),
    0 0 22px rgba(255, 122, 24, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 4px auto;
  transition: 0.3s ease;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 24px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
  padding-top: 140px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.value-card h2,
.contact-card h2 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
  margin: 28px 0;
}

.typing-box {
  width: fit-content;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  color: var(--muted);
  margin-bottom: 32px;
}

.typing-box strong {
  color: var(--text);
}

.typing-box strong::after {
  content: "|";
  color: var(--primary);
  animation: blink 0.8s infinite;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  box-shadow: 0 18px 45px rgba(255, 122, 24, 0.26);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(255, 122, 24, 0.36);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.dashboard-card {
  width: min(100%, 440px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(30px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), transparent 35%, rgba(255, 122, 24, 0.35));
  z-index: -1;
  opacity: 0.4;
}

.dashboard-header {
  padding: 20px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dashboard-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
}

.dashboard-header span:nth-child(2) {
  background: var(--primary);
}

.dashboard-header span:nth-child(3) {
  background: var(--accent);
}

.dashboard-body {
  padding: 24px;
}

.metric-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.metric-card p {
  color: var(--muted);
  margin-bottom: 6px;
}

.metric-card strong {
  font-size: 2.2rem;
  color: var(--primary);
}

.chart-lines {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 20px;
  margin: 20px 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.chart-lines span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, var(--secondary), var(--primary));
  animation: barPulse 2s ease-in-out infinite alternate;
}

.task-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.task-list div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 179, 71, 0.45);
}

.floating-card {
  animation: float 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 122, 24, 0.18);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}

.orbit-one {
  width: 500px;
  height: 500px;
}

.orbit-two {
  width: 360px;
  height: 360px;
  animation-direction: reverse;
  border-color: rgba(168, 85, 247, 0.22);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading h2,
.value-card h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-actions .btn {
  margin-top: 0;
}

@media (max-width: 760px) {
  .contact-actions {
    flex-direction: column;
  }
}
.section-heading p,
.value-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
  margin-top: 20px;
}

.problem-grid,
.services-grid,
.portfolio-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.service-card,
.portfolio-card,
.value-card,
.contact-card,
.timeline-item {
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(22px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-card,
.service-card {
  padding: 28px;
  min-height: 260px;
  transition: 0.25s ease;
}

.problem-card:hover,
.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-8px);
  background: var(--card-strong);
  border-color: rgba(255, 122, 24, 0.35);
}

.problem-card span {
  display: inline-block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 38px;
}

.problem-card h3,
.service-card h3,
.portfolio-card h3,
.timeline-item h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.problem-card p,
.service-card p,
.portfolio-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border-radius: 20px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.portfolio-carousel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.06);
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-track img {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  pointer-events: none;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 26px;
  background: linear-gradient(
    to top,
    rgba(5, 8, 22, 0.92),
    rgba(5, 8, 22, 0.18),
    transparent
  );
  pointer-events: none;
}

.carousel-overlay span {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(14px);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: 0.25s ease;
  z-index: 3;
}

.carousel-btn:hover {
  background: rgba(255, 122, 24, 0.18);
  border-color: rgba(255, 122, 24, 0.5);
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

.portfolio-card:hover .carousel-btn {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.25s ease;
}

.carousel-dot.active {
  width: 24px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.portfolio-content {
  padding: 28px;
}

.tag {
  display: inline-block;
  color: var(--primary) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-bottom: 12px;
}

.project-details-btn {
  margin-top: 22px;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 122, 24, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 122, 24, 0.08);
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.project-details-btn:hover {
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  box-shadow: 0 16px 38px rgba(255, 122, 24, 0.22);
  transform: translateY(-2px);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.project-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.16), transparent 28%),
    rgba(2, 4, 12, 0.82);
  backdrop-filter: blur(18px);
}

.modal-content {
  position: relative;
  width: min(100%, 1080px);
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    #070b1c;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.58);
  transform: translateY(28px) scale(0.96);
  transition: 0.3s ease;
}

.project-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(14px);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.modal-close:hover {
  background: rgba(255, 77, 109, 0.18);
  border-color: rgba(255, 77, 109, 0.45);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
}

.modal-preview {
  position: relative;
  padding: 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 560px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 122, 24, 0.16), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.18), transparent 28%);
}

.modal-preview::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.modal-preview img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  background: rgba(5, 8, 22, 0.55);
}

.modal-image-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(14px);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.25s ease;
}

.modal-image-btn:hover {
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-color: transparent;
}

.modal-prev {
  left: 42px;
}

.modal-next {
  right: 42px;
}

.modal-image-dots {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.modal-image-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.25s ease;
}

.modal-image-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.modal-info {
  padding: clamp(32px, 5vw, 58px);
}

.modal-info h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
}

.modal-description {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.modal-section {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.modal-section h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.modal-section p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 122, 24, 0.22);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 122, 24, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.modal-actions .btn {
  width: auto;
}

.modal-whatsapp {
  margin-top: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline-line {
  position: absolute;
  left: 33px;
  top: 10px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px;
}

.timeline-item span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-weight: 900;
  z-index: 1;
}

.value-card,
.contact-card {
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card .btn {
  margin-top: 32px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #050816;
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(255, 122, 24, 0.28);
  z-index: 90;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
}

.footer {
  padding: 34px 24px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 0.8s ease;
}

body.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes barPulse {
  from {
    opacity: 0.65;
    transform: scaleY(0.92);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    min-height: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 16px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(5, 8, 22, 0.94);
    backdrop-filter: blur(20px);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .social-link {
    width: 100%;
    height: 46px;
    border-radius: 999px;
  }

  .section {
    padding: 82px 18px;
  }

  .hero {
    padding-top: 120px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .typing-box {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .orbit-one {
    width: 340px;
    height: 340px;
  }

  .orbit-two {
    width: 260px;
    height: 260px;
  }

  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-carousel {
    height: 230px;
  }

  .carousel-btn {
    opacity: 1;
  }

  .timeline-item {
    grid-template-columns: 54px 1fr;
    padding: 22px;
  }

  .timeline-line {
    left: 27px;
  }

  .project-modal {
    padding: 14px;
  }

  .modal-content {
    max-height: 90vh;
    border-radius: 26px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .modal-preview {
    min-height: 320px;
    padding: 18px;
  }

  .modal-preview::before {
    inset: 18px;
    border-radius: 22px;
  }

  .modal-preview img {
    max-height: 230px;
  }

  .modal-image-btn {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .modal-prev {
    left: 24px;
  }

  .modal-next {
    right: 24px;
  }

  .modal-image-dots {
    bottom: 24px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-info {
    padding: 26px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
