.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.5s ease-out;
}
.menu-btn .btn-line {
  width: 28px;
  height: 3px;
  margin: 0 0 5px 0;
  background: #000;
  transition: all 0.5s ease-out;
}
.menu-btn.close {
  transform: rotate(180);
}
.menu-btn.close .btn-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.close .btn-line:nth-child(2) {
  opacity: 0;
}
.menu-btn.close .btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.9;
  visibility: hidden;
}
.menu.show {
  visibility: visible;
}
.menu-branding, .menu-nav {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  float: left;
  width: 50%;
  height: 100vh;
  overflow: hidden;
}
.menu-nav {
  margin: 0;
  padding: 0;
  background: rgb(242.25, 242.25, 242.25);
  list-style: none;
  transform: translate3d(0, -100%, 0);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease-out;
}
.menu-nav.show {
  transform: translate3d(0, 0, 0);
}
.menu-branding {
  background: #FFF;
  transform: translate3d(0, 100%, 0);
  transition: all 0.5s ease-out;
}
.menu-branding.show {
  transform: translate3d(0, 0, 0);
}
.menu-branding .portrait {
  width: 250px;
  height: 250px;
  background: url("../imgs/sergio.jpg");
  background-size: cover;
  border-radius: 50%;
  border: solid 1px white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.menu .nav-item {
  transform: translate3d(600px, 0, 0);
  transition: all 0.5s ease-out;
}
.menu .nav-item.show {
  transform: translate3d(0, 0, 0);
}
.menu .nav-item.current > a {
  color: #ff2800;
}
.menu .nav-link {
  display: inline-block;
  position: relative;
  font-size: 30px;
  text-transform: uppercase;
  padding: 1rem 2rem;
  font-weight: 300;
  color: #000;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: all 0.5s ease-out;
}
.menu .nav-link:hover {
  color: #ff2800;
  background: rgba(255, 40, 0, 0.1);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-item:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-item:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

* {
  box-sizing: border-box;
}

body#bg-img {
  background: url("../imgs/codeback.jpeg");
  background-attachment: fixed;
  background-size: cover;
}
@supports (-webkit-touch-callout: none) {
  body#bg-img {
    background-attachment: scroll;
  }
}
body#bg-img:after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
}
body {
  background: #FFF;
  background-position: center;
  color: #000;
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
h1.lg-heading,
h2.lg-heading,
h3.lg-heading {
  font-size: 6rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
h1.sm-heading,
h2.sm-heading,
h3.sm-heading {
  margin: 2rem 0;
  padding: 0.2rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

a {
  color: gold;
  text-decoration: none;
  transition: all 0.5s ease-out;
}
a:hover {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

header {
  position: fixed;
  z-index: 2;
  width: 100%;
}

.text-secondary {
  color: #ff2800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
  padding: 4rem;
  min-height: calc(100vh - 60px);
}
main .icons {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
main .icons a {
  padding: 0.5rem;
  transition: all 0.5s ease-out;
}
main .icons a i {
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease-out;
}
main .icons a:hover {
  color: #ff2800;
  transform: translateY(-2px) scale(1.1);
}
main .icons a:hover i {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
main#home {
  overflow: hidden;
}
main#home h1 {
  margin-top: 20vh;
}

.about-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: "bioimage bio bio" "job1 job2 job3";
  grid-template-columns: repeat(3, 1fr);
}

.bio-image {
  grid-area: bioimage;
  margin: auto;
  border-radius: 50%;
  border: #ff2800 2px solid;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bio {
  grid-area: bio;
  font-size: 1.5rem;
}
.bio h3 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-1 {
  grid-area: job1;
}

.job-2 {
  grid-area: job2;
}

.job-3 {
  grid-area: job3;
}

.job {
  background: rgb(242.25, 242.25, 242.25);
  padding: 0.5rem;
  border-bottom: #ff2800 3px solid;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: all 0.5s ease-out;
}
.job h3 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.job:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.work-cat {
  margin: 50px 0;
}

.free-work {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: white;
  background-color: black;
}

.projects {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(5, 2fr);
  position: relative;
  box-sizing: border-box;
}
.projects .item {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease-out;
}
.projects .item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}
.projects .project-image-link {
  display: block;
  overflow: hidden;
  position: relative;
}
.projects .project-image-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: all 0.5s ease-out;
}
.projects .project-image-link:hover::after {
  opacity: 1;
}
.projects img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease-out;
}
.projects img:hover {
  transform: scale(1.05);
}
.projects .project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.projects .project-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000;
  text-shadow: none;
}
.projects .project-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.projects .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.projects .tech-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #ffd4cc, rgb(255, 190.5, 178.5));
  color: #cc2000;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-out;
}
.projects .tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.projects .project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.projects .project-links a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}
.projects .details {
  display: none;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  vertical-align: middle;
  margin-top: 1rem;
}
.boxes a {
  color: #000;
}
.boxes div {
  font-size: 2rem;
  border: 3px #333 solid;
  padding: 1.5rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.5s ease-out;
}
.boxes div:hover {
  cursor: pointer;
  background: #ff2800;
  color: #000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px) scale(1.02);
}
.boxes div:hover span {
  color: #000;
}

.btn, .btn-black, .btn-dark, .btn-light {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.5s ease-out;
}
.btn:hover, .btn-black:hover, .btn-dark:hover, .btn-light:hover {
  background: #ff2800;
  color: #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px) scale(1.05);
}

.btn-light {
  background: white;
  color: #333;
}

.btn-dark {
  background: rgb(127.5, 127.5, 127.5);
  color: #fff;
}

.btn-black {
  display: none;
  background: black;
  color: #fff;
}

#main-footer {
  text-align: center;
  padding: 1rem;
  background: rgb(229.5, 229.5, 229.5);
  color: #000;
  height: 60px;
  bottom: 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 1171px) {
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  main .lg-heading {
    line-height: 1;
    margin-bottom: 1rem;
    font-size: 4rem;
  }
  .bio {
    font-size: 1.1rem;
  }
  main .icons {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1.5rem;
  }
  main .icons a i {
    font-size: 2rem;
  }
  ul.menu-nav,
  div.menu-branding {
    float: none;
    width: 100%;
    min-height: 0;
  }
  ul.menu-nav.show,
  div.menu-branding.show {
    transform: translate3d(0, 0, 0);
  }
  .menu-nav {
    height: 75vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px;
  }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0);
  }
  .menu-branding .portrait {
    width: 150px;
    height: 150px;
    background-position: center;
  }
  .about-info {
    grid-template: "bioimage" "bio" "job1" "job2" "job3";
    grid-template-columns: 1fr;
  }
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  main {
    padding: 1.5rem 1rem;
  }
  main#home h1 {
    margin-top: 10vh;
  }
  .lg-heading {
    font-size: 3rem;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .boxes {
    font-size: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .boxes div {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }
}

/* === CLIENT PITCH & HOME CTAs === */
.client-pitch {
  font-size: 1.15rem;
  margin: 0.5rem 0 1.5rem;
  color: #222;
  background: rgba(255,255,255,0.65);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  line-height: 1.5;
  max-width: 480px;
}

.home-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-shadow: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-shadow: none;
}

.cta-btn-primary {
  background: #ff2800;
  color: #fff !important;
}
.cta-btn-primary:hover {
  background: #d42000;
  color: #fff !important;
}

.cta-btn-secondary {
  background: rgba(255,255,255,0.85);
  color: #333 !important;
  border: 2px solid #333;
}
.cta-btn-secondary:hover {
  background: #fff;
  color: #000 !important;
}

/* === SERVICES PAGE === */
.services-intro {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  background: rgba(255,255,255,0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-left: 4px solid #ff2800;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111;
  text-shadow: none;
}
.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.service-features {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.service-features li {
  font-size: 0.85rem;
  color: #444;
  padding: 0.2rem 0;
}
.service-features li::before {
  content: '✓ ';
  color: #ff2800;
  font-weight: 700;
}
.service-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff2800;
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

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

/* === AUDIT FORM === */
.audit-section {
  margin-top: 2rem;
}
.audit-section > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-shadow: none;
}
.audit-section > p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}
.audit-form {
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff2800;
}
.form-group textarea {
  min-height: 90px;
  resize: vertical;
}
.form-submit {
  background: #ff2800;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: inherit;
}
.form-submit:hover {
  background: #d42000;
}

@media screen and (max-width: 768px) {
  .home-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-cta-section .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Home page — services snapshot */
.home-services {
  padding: 4rem 4rem 2rem;
  background: #fff;
}

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #111;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-service-card {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.home-service-card i {
  font-size: 2rem;
  color: #ff2800;
  margin-bottom: 0.75rem;
}

.home-service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111;
}

.home-service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.home-service-price {
  display: inline-block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.home-services-cta {
  text-align: center;
  padding: 1rem 0 2rem;
}

/* Home page — package section */
.home-package {
  background: #111;
  padding: 4rem;
  display: flex;
  justify-content: center;
}

.package-card {
  background: #1a1a1a;
  border: 2px solid #ff2800;
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff2800;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.package-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.package-desc {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.package-features li {
  color: #ddd;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.package-features li i {
  color: #ff2800;
  flex-shrink: 0;
}

.package-price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
  .home-services {
    padding: 3rem 1.5rem 1.5rem;
  }

  .home-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-package {
    padding: 3rem 1.5rem;
  }

  .package-card {
    padding: 2.5rem 1.5rem;
  }

  .package-title {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 500px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=main.css.map */
