/* =========================================
   HOMECODE CONSTRUCTION
   Professional Website Styles
   ========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #172126;
  background: #ffffff;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5eeee;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #08a7a1;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 700;
}

.nav nav a {
  transition: color 0.2s ease;
}

.nav nav a:hover {
  color: #08a7a1;
}

.nav-cta {
  background: #08a7a1;
  color: white !important;
  padding: 11px 18px;
  border-radius: 6px;
}

.nav-cta:hover {
  background: #078c87;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}


/* HERO */

.hero {
  padding: 85px 0 75px;
  background:
    linear-gradient(
      135deg,
      #f1f8f7 0%,
      #ffffff 55%,
      #eaf7f6 100%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 65px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #078f8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -2px;
  color: #111b20;
}

.hero h1 span {
  color: #08a7a1;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: #56666b;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 31px 0;
}

.btn {
  display: inline-block;
  padding: 14px 21px;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: #08a7a1;
  color: white;
}

.primary:hover {
  background: #078c87;
}

.secondary {
  background: white;
  color: #172126;
  border: 1px solid #bac9cb;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #536368;
  font-size: 13px;
}

.trust-row strong {
  color: #08a7a1;
}


/* HERO LOGO CARD */

.hero-card {
  padding: 25px;
  background: #101b20;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(10, 35, 40, 0.18);
}

.hero-art {
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050708;
  border-radius: 12px;
}

.hero-art img {
  width: 92%;
  max-height: 330px;
  object-fit: contain;
}

.hero-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px 0;
  color: white;
}

.hero-card-bottom span {
  color: #73dcd7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-card-bottom strong {
  font-size: 18px;
}


/* GENERAL SECTIONS */

.section {
  padding: 95px 0;
}

.section h2 {
  max-width: 780px;
  margin: 0 0 17px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: #121d22;
}

.section-intro {
  max-width: 750px;
  margin: 0 0 40px;
  color: #647277;
  font-size: 16px;
}


/* SERVICES */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  background: white;
  border: 1px solid #e1eaea;
  border-radius: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(20, 50, 55, 0.09);
}

.icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  background: #e2f7f6;
  border-radius: 50%;
  color: #078f8a;
  font-size: 21px;
  font-weight: 800;
}

.card h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #657378;
  font-size: 14px;
}


/* ABOUT */

.about {
  background: #f5f9f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-panel {
  min-height: 410px;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #101b20;
  border-radius: 17px;
}

.about-logo {
  width: 88%;
  padding: 20px;
  background: #050708;
  border-radius: 12px;
}

.about-logo img {
  display: block;
  width: 100%;
}

.about-grid p:not(.eyebrow) {
  color: #5c6b70;
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: #078f8a;
  font-weight: 800;
}


/* PROJECTS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project {
  overflow: hidden;
  background: white;
  border: 1px solid #e1eaea;
  border-radius: 12px;
}

.project-placeholder {
  height: 225px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #d8e9e8, #f3f8f8);
  color: #6f8588;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project h3 {
  margin: 21px 21px 4px;
}

.project p {
  margin: 0;
  padding: 0 21px 23px;
  color: #657378;
  font-size: 14px;
}

.photo-note {
  margin-top: 25px;
  color: #748286;
  font-size: 13px;
}


/* CALL TO ACTION */

.cta {
  padding: 55px 0;
  background: #079e99;
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta .eyebrow {
  color: #c4fffc;
}

.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.light {
  flex-shrink: 0;
  background: white;
  color: #087d79;
}


/* CONTACT */

.contact {
  background: #f7faf9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-grid > div > p:not(.eyebrow) {
  color: #5f6e72;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.contact-list a,
.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  background: white;
  border: 1px solid #dfe9e9;
  border-radius: 8px;
}

.contact-list strong {
  color: #078f8a;
}

.contact-list span {
  color: #536267;
  text-align: right;
}


/* FORM */

form {
  display: grid;
  gap: 16px;
  padding: 29px;
  background: white;
  border: 1px solid #dfe9e9;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(20, 50, 55, 0.06);
}

label {
  font-size: 13px;
  font-weight: 750;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #cad8da;
  border-radius: 6px;
  background: white;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid #a5e8e5;
  border-color: #08a7a1;
}

.form-note {
  margin: 0;
  color: #78868a;
  font-size: 11px;
}


/* FOOTER */

footer {
  padding: 42px 0 20px;
  background: #101b20;
  color: white;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}

.footer-brand {
  font-weight: 850;
  letter-spacing: 1px;
}

.footer-grid p {
  color: #94a5a8;
  font-size: 13px;
}

.footer-grid > div:last-child {
  display: grid;
  gap: 8px;
  color: #8de0dc;
  font-size: 13px;
  text-align: right;
}

.copyright {
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid #2a393d;
  color: #748589;
  font-size: 11px;
  text-align: center;
}


/* TABLET / MOBILE */

@media (max-width: 900px) {

  .menu {
    display: block;
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e1eaea;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(20, 50, 55, 0.12);
  }

  .nav nav.open {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-card {
    max-width: 620px;
  }

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

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

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-grid > div:last-child {
    text-align: left;
  }
}


/* SMALL PHONES */

@media (max-width: 550px) {

  .section {
    padding: 70px 0;
  }

  .brand span {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-card-bottom {
    display: block;
  }

  .hero-card-bottom > div + div {
    margin-top: 13px;
  }

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

  .contact-list a,
  .contact-list div {
    display: block;
  }

  .contact-list span {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  form {
    padding: 21px;
  }
}
