/* Sections Modern — Phase 2: brand language across homepage (after hero) */

:root {
  --ro-red: #B71C1C;
  --ro-red-bright: #D32F2F;
  --ro-red-soft: #EF9A9A;
  --ro-ink: #1a1212;
  --ro-glow: rgba(255, 214, 214, 0.55);
  --ro-glow-strong: rgba(255, 245, 245, 0.9);
  --ro-font-display: "Outfit", "Jost", sans-serif;
  --ro-font-body: "Manrope", "Open Sans", sans-serif;
  --ro-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ro-pulse-duration: 2.8s;
  --ro-surface: #fff8f8;
  --ro-surface-alt: #ffffff;
  --ro-line: rgba(183, 28, 28, 0.12);
  --ro-shadow: 0 18px 50px rgba(120, 20, 20, 0.1);
  --ro-shadow-hover: 0 24px 60px rgba(183, 28, 28, 0.18);
}

body {
  font-family: var(--ro-font-body);
  color: #3d3333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ro-font-display);
}

/* ---------- Shared section chrome ---------- */
section {
  position: relative;
}

.section-bg {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(239, 154, 154, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(183, 28, 28, 0.06), transparent 50%),
    var(--ro-surface);
}

.section-title {
  padding-bottom: 2.25rem;
}

.section-title h2 {
  font-family: var(--ro-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ro-red);
  position: relative;
  padding-bottom: 0.85rem;
}

.section-title h2::before {
  display: none;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ro-red), var(--ro-red-bright));
  box-shadow: 0 0 16px rgba(211, 47, 47, 0.45);
}

.section-title p {
  font-family: var(--ro-font-body);
  color: #5c4f4f;
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ---------- LICTA ---------- */
#licta-award {
  padding: 2.5rem 1.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(239, 154, 154, 0.25), transparent 55%),
    linear-gradient(120deg, #fff 0%, #fff5f5 55%, #ffeaea 100%);
  border-bottom: 1px solid var(--ro-line);
}

.licta-box {
  position: relative;
  overflow: hidden;
  gap: 2rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at var(--mx, 18%) var(--my, 40%), rgba(255, 200, 200, 0.45), transparent 42%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(183, 28, 28, 0.1);
  box-shadow: var(--ro-shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ro-ease), box-shadow 0.45s var(--ro-ease);
}

.licta-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--ro-shadow-hover);
}

.licta-title {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
}

.licta-subtitle {
  color: var(--ro-red);
  font-weight: 600;
}

.licta-link {
  font-family: var(--ro-font-display);
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--ro-red) 0%, var(--ro-red-bright) 100%);
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  box-shadow: 0 10px 28px rgba(183, 28, 28, 0.28);
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.licta-link:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(183, 28, 28, 0.4);
  color: #fff !important;
}

.licta-logo-spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  perspective: 600px;
  transform-style: preserve-3d;
  animation: lictaCoinSpin 12s linear infinite;
  will-change: transform;
}

.licta-logo-spin .licta-logo {
  display: block;
  max-height: 130px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.4s var(--ro-ease), box-shadow 0.4s var(--ro-ease);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
}

/* Stop spin and face forward so the logo is clearly readable */
.licta-box:hover .licta-logo-spin {
  animation: none;
  transform: rotateY(0deg);
}

.licta-box:hover .licta-logo {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.18), 0 12px 28px rgba(183, 28, 28, 0.22);
}

@keyframes lictaCoinSpin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* ---------- Clients ---------- */
#cliens {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#cliens .img-fluid,
.cliens img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.88;
  animation: clientFloat 5.5s ease-in-out infinite;
  transition: transform 0.4s var(--ro-ease), filter 0.4s var(--ro-ease), opacity 0.4s var(--ro-ease);
}

#cliens .col-6:nth-child(2) .img-fluid,
#cliens .col-6:nth-child(2) img,
.cliens .col-6:nth-child(2) img {
  animation-delay: 0.4s;
}

#cliens .col-6:nth-child(3) .img-fluid,
#cliens .col-6:nth-child(3) img,
.cliens .col-6:nth-child(3) img {
  animation-delay: 0.8s;
}

#cliens .img-fluid:hover,
.cliens img:hover {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-4px);
  filter: grayscale(0) drop-shadow(0 10px 20px rgba(183, 28, 28, 0.18));
  opacity: 1;
}

@keyframes clientFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

#cliens [class*="col-"] {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* ---------- About ---------- */
#about .content h3,
.about .content h3 {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
  font-weight: 700;
  line-height: 1.35;
}

.about .content ul i {
  color: var(--ro-red-bright);
  background: rgba(211, 47, 47, 0.1);
  border-radius: 50%;
}

.about .content ul li {
  transition: transform 0.3s var(--ro-ease);
}

.about .content ul li:hover {
  transform: translateX(6px);
}

.about img {
  border-radius: 1.25rem;
  box-shadow: var(--ro-shadow);
  transition: transform 0.5s var(--ro-ease), box-shadow 0.5s var(--ro-ease);
}

.about img.ro-tilt,
.about .ro-tilt {
  transition: transform 0.2s ease-out, box-shadow 0.5s var(--ro-ease);
}

.about img:hover {
  transform: scale(1.02);
  box-shadow: var(--ro-shadow-hover);
}

.about .content .btn-learn-more {
  border-color: var(--ro-red);
  color: var(--ro-red);
  border-radius: 999px;
  font-family: var(--ro-font-display);
  transition: background 0.35s var(--ro-ease), color 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.about .content .btn-learn-more:hover {
  background: var(--ro-red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(183, 28, 28, 0.3);
}

/* ---------- Why us / accordion ---------- */
.why-us .content h3 {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
}

.why-us .accordion-list li {
  border: 1px solid transparent;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(80, 20, 20, 0.05);
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease), border-color 0.35s var(--ro-ease);
}

.why-us .accordion-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 28, 28, 0.15);
  box-shadow: var(--ro-shadow);
}

.why-us .accordion-list a {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
}

.why-us .accordion-list span {
  color: var(--ro-red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.why-us .accordion-list li:hover span {
  transform: scale(1.12);
  text-shadow: 0 0 12px rgba(211, 47, 47, 0.35);
}

.why-us .accordion-list a.collapsed:hover {
  color: var(--ro-red);
}

.why-us .img img {
  border-radius: 1.25rem;
  box-shadow: var(--ro-shadow);
  transition: transform 0.2s ease-out, box-shadow 0.45s var(--ro-ease);
}

/* ---------- Skills ---------- */
#skills .content h3,
.skills .content h3 {
  font-family: var(--ro-font-display);
  color: var(--ro-red);
  margin-bottom: 0.15rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

#skills img,
.skills img,
.skills-visual {
  border-radius: 1.25rem;
  box-shadow: var(--ro-shadow);
  transition: transform 0.2s ease-out, box-shadow 0.45s var(--ro-ease);
  width: 100%;
  height: auto;
  display: block;
}

.skills-intro {
  margin: 0 0 0.5rem;
  color: #6a5c5c;
  font-style: italic;
  font-size: 0.92rem;
}

.skills-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.skills-board {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  background: transparent;
  min-height: 0;
}

.skills-board li {
  margin: 0;
  padding: 0.35rem 0.45rem !important;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(183, 28, 28, 0.12);
  background: rgba(183, 28, 28, 0.04);
  color: #3d3333;
  font-family: var(--ro-font-body);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: default;
  transition: background 0.45s ease, border-color 0.45s ease, color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.skills-board li:hover,
.skills-board li.is-lit {
  background: linear-gradient(135deg, var(--ro-red), var(--ro-red-bright));
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(183, 28, 28, 0.25);
}

.skills-board li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  #skills .skills-row {
    align-items: center;
  }

  #skills .skills-row > [class*="col-"] {
    display: flex;
  }

  #skills .skills-visual {
    width: 100%;
    height: auto;
    align-self: center;
    object-fit: contain;
    object-position: center;
  }

  #skills .content {
    padding-top: 0 !important;
  }

  #skills .skills-panel {
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
  }

  #skills .skills-board {
    flex: 1 1 auto;
    align-content: stretch;
    grid-template-rows: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .skills-board {
    grid-template-columns: 1fr;
  }

  .skills-board li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  #skills .skills-board {
    grid-template-rows: none;
  }
}

/* ---------- Services ---------- */
.services .icon-box,
.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem !important;
  border: 1px solid rgba(183, 28, 28, 0.08);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 200, 200, 0.35), transparent 45%),
    #fff;
  box-shadow: 0 10px 30px rgba(80, 20, 20, 0.06) !important;
  transition: transform 0.45s var(--ro-ease), box-shadow 0.45s var(--ro-ease), border-color 0.45s var(--ro-ease) !important;
}

.services .icon-box::before,
.service-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(183, 28, 28, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ro-ease);
  pointer-events: none;
}

.services .icon-box:hover,
.service-box:hover {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: rgba(183, 28, 28, 0.22) !important;
  box-shadow: var(--ro-shadow-hover) !important;
}

.services .icon-box:hover::before,
.service-box:hover::before {
  opacity: 1;
}

.services .icon-box .icon i {
  color: var(--ro-red-bright);
  animation: iconBob 3.2s ease-in-out infinite;
  transition: transform 0.4s var(--ro-ease), text-shadow 0.4s var(--ro-ease);
}

.services .icon-box:nth-child(2n) .icon i,
.services .col-md-6:nth-child(2n) .icon i,
.services .col-lg-4:nth-child(2n) .icon i {
  animation-delay: 0.4s;
}

.services .icon-box:nth-child(3n) .icon i,
.services .col-md-6:nth-child(3n) .icon i,
.services .col-lg-4:nth-child(3n) .icon i {
  animation-delay: 0.8s;
}

.services .icon-box:hover .icon i {
  animation-play-state: paused;
  transform: scale(1.18);
  text-shadow: 0 0 20px rgba(211, 47, 47, 0.45);
}

@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.services .icon-box h4 a {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
}

.services .icon-box:hover h4 a {
  color: var(--ro-red);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(255, 180, 180, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(90, 10, 10, 0.45), transparent 50%),
    linear-gradient(145deg, #8b1010 0%, var(--ro-red) 45%, var(--ro-red-bright) 100%) !important;
  padding: 5.5rem 0;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 40%);
  animation: sectionAmbientPulse var(--ro-pulse-duration) ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.cta h3 {
  font-family: var(--ro-font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta p {
  opacity: 0.92;
  line-height: 1.7;
}

.cta .cta-btn {
  font-family: var(--ro-font-display);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: #fff;
  transition: background 0.35s var(--ro-ease), color 0.35s var(--ro-ease), transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.cta .cta-btn:hover {
  background: #fff;
  color: var(--ro-red);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

@keyframes sectionAmbientPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ---------- Blog ---------- */
#blog {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(255, 180, 180, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(183, 28, 28, 0.06), transparent 50%),
    #fff;
}

#blog .section-title h2 {
  letter-spacing: 0.03em;
}

#blog-items {
  margin-top: 0.5rem;
}

#blog .blog-item,
#blog .mb-4.d-flex {
  margin-bottom: 1.5rem !important;
}

#blog .card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(183, 28, 28, 0.1);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 18%), rgba(255, 210, 210, 0.42), transparent 42%),
    #fff;
  box-shadow: 0 12px 32px rgba(80, 20, 20, 0.07);
  transition: transform 0.45s var(--ro-ease), box-shadow 0.45s var(--ro-ease), border-color 0.45s var(--ro-ease);
}

#blog .card:hover {
  transform: translateY(-10px);
  border-color: rgba(183, 28, 28, 0.22);
  box-shadow: var(--ro-shadow-hover);
}

#blog .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ro-ease);
}

#blog .card:hover .card-img-top {
  transform: scale(1.07);
}

#blog .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.55rem;
}

#blog .card-title,
#blog .card-body h3,
#blog .card-body h4 {
  margin-bottom: 0.65rem;
  font-family: var(--ro-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ro-ink, #1a1212);
  transition: color 0.3s var(--ro-ease);
}

#blog .card:hover .card-title {
  color: var(--ro-red);
}

#blog .card-text {
  flex-grow: 1;
  margin-bottom: 1.15rem;
  color: #5c4f4f;
  font-size: 0.95rem;
  line-height: 1.65;
}

#blog .card a {
  color: var(--ro-red);
  font-weight: 600;
}

#blog .card a.btn-readmore,
#blog .card a.btn-readmore:hover,
#blog .card a.btn-readmore:focus,
#blog .card a.btn-readmore:active {
  align-self: flex-start;
  margin-top: auto;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.65rem 1.25rem !important;
  background: linear-gradient(135deg, var(--ro-red), var(--ro-red-bright)) !important;
  color: #fff !important;
  font-family: var(--ro-font-display);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(183, 28, 28, 0.25);
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease) !important;
}

#blog .card a.btn-readmore:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(183, 28, 28, 0.35);
}

#showMoreBtn {
  font-family: var(--ro-font-display);
  border-radius: 999px !important;
  border: 2px solid var(--ro-red) !important;
  color: var(--ro-red) !important;
  background: transparent !important;
  padding: 0.7rem 1.65rem !important;
  font-weight: 700 !important;
  transition: background 0.35s var(--ro-ease), color 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease), transform 0.35s var(--ro-ease) !important;
}

#showMoreBtn:hover {
  background: var(--ro-red) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(183, 28, 28, 0.3) !important;
}

/* ---------- Portfolio (horizontal showcase) ---------- */
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}

.portfolio #portfolio-flters li {
  font-family: var(--ro-font-display);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin: 0;
  cursor: pointer;
  background: rgba(183, 28, 28, 0.06);
  color: var(--ro-ink);
  border: 1px solid transparent;
  transition: background 0.3s var(--ro-ease), color 0.3s var(--ro-ease), transform 0.3s var(--ro-ease), box-shadow 0.3s var(--ro-ease);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: linear-gradient(135deg, var(--ro-red), var(--ro-red-bright));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(183, 28, 28, 0.28);
}

.portfolio .portfolio-showcase {
  position: relative;
}

.portfolio .portfolio-rail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.portfolio .portfolio-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 0.35rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 28, 28, 0.4) transparent;
}

.portfolio .portfolio-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.portfolio .portfolio-viewport::-webkit-scrollbar {
  height: 5px;
}

.portfolio .portfolio-viewport::-webkit-scrollbar-thumb {
  background: rgba(183, 28, 28, 0.4);
  border-radius: 999px;
}

.portfolio .portfolio-track {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  width: max-content;
  min-height: 1px;
}

.portfolio .portfolio-item {
  flex: 0 0 clamp(220px, 58vw, 300px);
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative;
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
}

.portfolio .portfolio-item.is-filtered-out {
  display: none !important;
}

.portfolio .portfolio-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #151515;
  box-shadow: 0 12px 28px rgba(40, 10, 10, 0.1);
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.portfolio .portfolio-card.ro-tilt {
  transition: transform 0.18s ease-out, box-shadow 0.35s var(--ro-ease);
}

.portfolio .portfolio-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
}

.portfolio .portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ro-ease);
}

.portfolio .portfolio-info {
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 3rem 0.95rem 0.9rem !important;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 6, 6, 0.9) 80%) !important;
  opacity: 1 !important;
  transform: none;
  color: #fff;
}

.portfolio .portfolio-info .portfolio-copy {
  min-width: 0;
}

.portfolio .portfolio-info h4 {
  font-family: var(--ro-font-display);
  font-size: 1rem;
  margin: 0 0 0.15rem;
  color: #fff;
}

.portfolio .portfolio-info p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.9);
}

.portfolio .portfolio-info .preview-link,
.portfolio .portfolio-info .details-link {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.1rem;
  transition: background 0.25s var(--ro-ease), transform 0.25s var(--ro-ease);
}

.portfolio .portfolio-info .preview-link:hover {
  background: var(--ro-red);
  border-color: var(--ro-red);
  color: #fff;
  transform: scale(1.06);
}

.portfolio .portfolio-item:hover .portfolio-card {
  box-shadow: var(--ro-shadow-hover);
  transform: translateY(-3px);
}

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

.portfolio .portfolio-nav {
  position: static;
  flex-shrink: 0;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(183, 28, 28, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ro-red);
  box-shadow: 0 8px 20px rgba(40, 10, 10, 0.1);
  cursor: pointer;
  transition: background 0.25s var(--ro-ease), color 0.25s var(--ro-ease), border-color 0.25s var(--ro-ease), transform 0.25s var(--ro-ease);
}

.portfolio .portfolio-nav:hover {
  background: var(--ro-red);
  border-color: var(--ro-red);
  color: #fff;
  transform: scale(1.05);
}

.portfolio .portfolio-nav i {
  font-size: 1.55rem;
  line-height: 1;
}

@media (min-width: 992px) {
  .portfolio .portfolio-rail {
    gap: 1rem;
  }

  .portfolio .portfolio-item {
    flex-basis: clamp(260px, 24vw, 320px);
  }
}

@media (max-width: 767.98px) {
  .portfolio .portfolio-rail {
    gap: 0.45rem;
  }

  .portfolio .portfolio-nav {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (max-width: 480px) {
  .portfolio .portfolio-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio .portfolio-viewport {
    scroll-behavior: auto;
  }

  .portfolio .portfolio-item:hover .portfolio-img img,
  .portfolio .portfolio-item:hover .portfolio-card {
    transform: none;
  }
}

/* ---------- Collaboration ---------- */
#collaboration {
  padding: 4rem 0;
}

#collaboration img {
  transition: transform 0.4s var(--ro-ease), filter 0.4s var(--ro-ease);
  filter: grayscale(0.1);
  animation: clientFloat 6s ease-in-out infinite;
}

#collaboration .col-lg-3:nth-child(2n) img,
#collaboration .col-md-4:nth-child(2n) img,
#collaboration img:nth-of-type(2n) {
  animation-delay: 0.5s;
}

#collaboration img:hover {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-3px);
  filter: grayscale(0) drop-shadow(0 8px 16px rgba(183, 28, 28, 0.15));
}

/* ---------- Contact ---------- */
.contact .info {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(183, 28, 28, 0.1);
  background:
    radial-gradient(circle at var(--mx, 12%) var(--my, 18%), rgba(255, 200, 200, 0.5), transparent 42%),
    #fff;
  box-shadow: var(--ro-shadow);
  padding: 2rem !important;
  transition: transform 0.4s var(--ro-ease), box-shadow 0.4s var(--ro-ease);
}

.contact .info:hover {
  transform: translateY(-4px);
  box-shadow: var(--ro-shadow-hover);
}

.contact .info i {
  color: #fff;
  background: linear-gradient(135deg, var(--ro-red), var(--ro-red-bright));
  box-shadow: 0 8px 20px rgba(183, 28, 28, 0.3);
  transition: transform 0.35s var(--ro-ease);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0.85rem;
  border: 1px solid rgba(183, 28, 28, 0.15);
  transition: border-color 0.3s var(--ro-ease), box-shadow 0.3s var(--ro-ease);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--ro-red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
  outline: none;
}

.contact .php-email-form button[type="submit"] {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ro-red), var(--ro-red-bright));
  border: 0;
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(183, 28, 28, 0.35);
}

.contact .info h4 {
  font-family: var(--ro-font-display);
  color: var(--ro-ink);
}

.contact .info .address:hover i,
.contact .info .email:hover i {
  transform: scale(1.08);
}

#contact iframe {
  border-radius: 1.25rem !important;
  box-shadow: var(--ro-shadow);
  width: 100%;
  min-height: 360px;
}

/* ---------- Footer (brand red + white) ---------- */
#footer {
  background: var(--ro-red);
}

#footer .footer-top {
  background: #fff;
}

#footer .footer-top .footer-contact h3,
#footer .footer-top h4 {
  font-family: var(--ro-font-display);
  color: var(--ro-red);
}

#footer .footer-top .footer-contact p,
#footer .footer-top .footer-links ul a,
#footer .footer-top .footer-links p {
  color: #4a3f3f;
}

#footer .footer-top .footer-links ul i {
  color: var(--ro-red);
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--ro-red);
}

#footer .copyright,
#footer .credits,
#footer .credits a {
  color: rgba(255, 255, 255, 0.92);
}

#footer .credits a:hover {
  color: #fff;
}

#footer .footer-top .social-links a {
  background: rgba(183, 28, 28, 0.08);
  border: 1px solid rgba(183, 28, 28, 0.2);
  color: var(--ro-red);
  transition: background 0.3s var(--ro-ease), color 0.3s var(--ro-ease), transform 0.3s var(--ro-ease);
}

#footer .footer-top .social-links a:hover {
  background: var(--ro-red);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Header (brand red + white) ---------- */
#header {
  transition: background 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease);
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--ro-red) !important;
  box-shadow: 0 8px 24px rgba(120, 20, 20, 0.28);
}

.nav-menu a {
  font-family: var(--ro-font-display);
  transition: color 0.25s var(--ro-ease);
}

.get-started-btn {
  border-radius: 999px !important;
  font-family: var(--ro-font-display);
  border-color: #fff !important;
  color: #fff !important;
  transition: transform 0.3s var(--ro-ease), box-shadow 0.3s var(--ro-ease), background 0.3s var(--ro-ease), color 0.3s var(--ro-ease) !important;
}

.get-started-btn:hover {
  background: #fff !important;
  color: var(--ro-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Interactive tilt target */
.ro-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Free Consultation ---------- */
.consultation {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 90% 8%, rgba(255, 180, 180, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 90%, rgba(183, 28, 28, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f4f4 0%, #fff 45%, #faf7f7 100%);
  position: relative;
  overflow: hidden;
}

.consultation::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 28, 28, 0.11) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
}

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

.consultation-card {
  --mx: 80%;
  --my: 12%;
  max-width: 820px;
  margin: 0 auto;
  padding: 2.75rem 2.25rem 2.35rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(183, 28, 28, 0.1);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 200, 200, 0.45), transparent 42%),
    linear-gradient(160deg, #ffffff 0%, #fff8f8 55%, #ffffff 100%);
  box-shadow:
    0 24px 60px rgba(120, 20, 20, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  transition: box-shadow 0.45s var(--ro-ease), transform 0.45s var(--ro-ease);
}

.consultation-card:hover {
  box-shadow:
    0 30px 70px rgba(183, 28, 28, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.consultation-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.consultation-eyebrow span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--ro-red), transparent);
}

.consultation-eyebrow p {
  margin: 0;
  font-family: var(--ro-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ro-red);
}

.consultation-card h2 {
  margin: 0 auto 0.85rem;
  max-width: 18ch;
  text-align: center;
  font-family: var(--ro-font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ro-ink, #1a1212);
}

.consultation-lead {
  margin: 0 auto 1.85rem;
  max-width: 42ch;
  text-align: center;
  color: #6a5c5c;
  font-size: 1rem;
  line-height: 1.6;
}

.consultation-form {
  margin: 0;
}

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

.consultation-field {
  margin: 0;
}

.consultation-field--full {
  margin-bottom: 1.15rem;
}

.consultation-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5c4f4f;
}

.consultation-field .form-control {
  width: 100%;
  height: auto;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem !important;
  border: 1.5px solid rgba(183, 28, 28, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #2b2222 !important;
  font-family: var(--ro-font-body);
  font-size: 0.95rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    border-color 0.3s var(--ro-ease),
    box-shadow 0.3s var(--ro-ease),
    background 0.3s var(--ro-ease),
    transform 0.3s var(--ro-ease) !important;
}

.consultation-field textarea.form-control {
  min-height: 8rem;
  resize: vertical;
}

.consultation-field select.form-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ro-red) 50%),
    linear-gradient(135deg, var(--ro-red) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
  cursor: pointer;
}

.consultation-field .form-control::placeholder {
  color: #9a8b8b;
}

.consultation-field .form-control:hover {
  border-color: rgba(183, 28, 28, 0.28) !important;
}

.consultation-field .form-control:focus {
  outline: none !important;
  border-color: var(--ro-red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.14) !important;
  transform: translateY(-1px);
}

.consultation-field.is-invalid .form-control {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.12) !important;
}

.consultation-actions {
  text-align: center;
  margin-top: 0.35rem;
}

.consultation-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: min(100%, 320px);
  padding: 0.95rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--ro-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--ro-red) 0%, var(--ro-red-bright) 100%);
  box-shadow: 0 14px 32px rgba(183, 28, 28, 0.32);
  cursor: pointer;
  transition: transform 0.35s var(--ro-ease), box-shadow 0.35s var(--ro-ease), filter 0.35s var(--ro-ease);
}

.consultation-submit i {
  font-size: 1.15rem;
  transition: transform 0.35s var(--ro-ease);
}

.consultation-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(183, 28, 28, 0.4);
  filter: brightness(1.05);
  color: #fff;
}

.consultation-submit:hover i {
  transform: translateX(4px);
}

.consultation-submit:active {
  transform: translateY(-1px) scale(0.99);
}

.consultation-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  filter: none;
}

.consultation-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  color: #8a7b7b;
  font-size: 0.84rem;
}

.consultation-privacy i {
  color: #c9a227;
  font-size: 1rem;
}

.consultation-status {
  margin: 0 0 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.consultation-status.is-success {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.consultation-status.is-error {
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
  border: 1px solid rgba(198, 40, 40, 0.18);
}

@media (max-width: 767.98px) {
  .consultation {
    padding: 3.5rem 0 4rem;
  }

  .consultation-card {
    padding: 1.85rem 1.2rem 1.6rem;
    border-radius: 1.2rem;
  }

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

  .consultation-card h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .licta-box,
  .licta-logo-spin,
  .services .icon-box,
  .service-box,
  .services .icon-box .icon i,
  #blog .card,
  .cta::after,
  #cliens .img-fluid,
  .cliens img,
  #collaboration img,
  .skills-board li,
  .consultation-card,
  .consultation-submit,
  .consultation-field .form-control {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    transform: none !important;
    animation: none !important;
  }

  .licta-box:hover,
  .services .icon-box:hover,
  .service-box:hover,
  #blog .card:hover,
  .consultation-submit:hover {
    transform: none !important;
  }
}
