/* josh comeau reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fff6f6;
}

.container {
  border: 1px solid green;
  max-width: 75rem;
  margin: 0 auto;
  padding: 2rem clamp(0.5rem, -0.5644rem + 3.9604vw, 3rem) 3rem clamp(0.5rem, -0.5644rem + 3.9604vw, 2rem);
}

h2,
h3,
h4 {
  color: #7e222b;
}

h3,
h4 {
  font-size: clamp(0.9375rem, 0.5384rem + 1.4851vw, 1.875rem);
  font-weight: 700;
}

p {
  font-size: clamp(0.75rem, 0.5903rem + 0.5941vw, 1.125rem);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #ffffff;
}

/* sections general style */
h2 {
  text-transform: uppercase;
  font-size: clamp(1.125rem, 0.6726rem + 1.6832vw, 2.1875rem);
  font-weight: 800;
  text-align: center;
  position: relative;
}

h2::before {
  content: url(./images/thermaze-square-logo.svg);
  width: clamp(2.5rem, 2.4202rem + 0.297vw, 2.6875rem);
  position: absolute;
  top: -3.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 10%;
  width: 80%;
  background: linear-gradient(180deg, #83242b 0%, #a52d2a 100%);
}
@media (min-width: 60em) {
  .main-nav {
    position: static;
    width: unset;
    background: unset;
    display: flex;
    align-items: center;
    gap: 3rem;
  }
}
.main-nav a {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff6f6;
}
@media (min-width: 60em) {
  .main-nav a {
    color: #7e222b;
  }
}
@media (min-width: 60em) {
  .main-nav .contact-us-anchor {
    color: #ffffff;
    background: linear-gradient(180deg, #83242b 0%, #a52d2a 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.menu {
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  color: #7e222b;
}
.menu .line {
  fill: none;
  stroke: #7e222b;
  stroke-width: 6;
  transition: stroke-dasharray 300ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu .line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.menu .line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.menu .line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.menu--open .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.menu--open .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.menu--open .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.header .container {
  max-width: 120rem;
  height: clamp(4.75rem, 4.4307rem + 1.1881vw, 5.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}
.header .container img {
  height: clamp(1.6875rem, 1.0223rem + 2.4752vw, 3.25rem);
}

.cta-btn {
  margin-top: 1.375rem;
  border: none;
  background: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
  font-weight: 700;
  border: 2px solid #ffffff;
  border-radius: 5px;
  width: clamp(10.875rem, 9.1454rem + 6.4356vw, 14.9375rem);
  height: clamp(2.4375rem, 2.065rem + 1.3861vw, 3.3125rem);
  cursor: pointer;
}
.cta-btn:where(:hover, :focus) {
  background: linear-gradient(180deg, #83242b 0%, #a52d2a 100%);
}

/* hero style */
.hero .container {
  max-width: 120rem;
  padding: unset;
  margin: 0 auto;
  position: relative;
}
.hero .container img {
  width: 100%;
  object-fit: cover;
}
.hero--cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.5rem;
  margin: 0 auto;
  width: clamp(16.25rem, 4.5455rem + 62.4242vw, 42rem);
  height: clamp(12.375rem, 6.6807rem + 21.1881vw, 25.75rem);
  background: linear-gradient(180deg, rgba(124, 33, 42, 0.9) 0.67%, rgba(170, 46, 41, 0.9) 120%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  border-radius: 1.25rem;
  text-align: center;
  align-items: center;
}
@media (min-width: 60em) {
  .hero--cta {
    left: 0;
    bottom: -4.625rem;
    margin: unset;
    border-radius: 0 3rem 3rem 0;
    padding-left: 6.5rem;
    text-align: left;
    align-items: start;
  }
}
.hero--cta h1 {
  font-size: clamp(1.125rem, 0.6726rem + 1.6832vw, 2.1875rem);
  font-weight: 900;
  text-transform: capitalize;
  max-width: 17ch;
}

.what-we-do .wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 90rem;
}
@media (min-width: 60em) {
  .what-we-do .wrapper {
    gap: 5.25rem;
    align-items: center;
  }
}
.what-we-do .service-1 .wrapper {
  margin-top: clamp(1.6875rem, 0.6231rem + 3.9604vw, 4.1875rem);
}
@media (min-width: 60em) {
  .what-we-do .service-1 .wrapper {
    flex-direction: row;
  }
}
.what-we-do .service-1 img {
  border-radius: 1.25rem 0 1.25rem 1.25rem;
  box-shadow: -0.5rem 0.5rem #7e222b;
}
@media (min-width: 60em) {
  .what-we-do .service-1 img {
    border-radius: 3rem 0 3rem 3rem;
  }
}
.what-we-do .service-2 .wrapper {
  margin-top: clamp(4rem, 2.8292rem + 4.3564vw, 6.75rem);
}
@media (min-width: 60em) {
  .what-we-do .service-2 .wrapper {
    flex-direction: row-reverse;
  }
}
.what-we-do .service-2 img {
  border-radius: 0 1.25rem 1.25rem 1.25rem;
  box-shadow: 0.5rem 0.5rem #7e222b;
}
@media (min-width: 60em) {
  .what-we-do .service-2 img {
    border-radius: 0 3rem 3rem 3rem;
  }
}
.what-we-do h3 {
  margin-top: 1.5rem;
  text-align: center;
}
.what-we-do img {
  width: clamp(12.0625rem, 3.3082rem + 32.5743vw, 32.625rem);
  margin: 0 auto;
}
@media (min-width: 60em) {
  .what-we-do img, .what-we-do .content {
    flex: 1;
  }
}

.why-us {
  margin-top: clamp(7.3125rem, 2.6825rem + 17.2277vw, 18.1875rem);
  text-align: center;
}
.why-us .grid {
  margin-top: clamp(1.5625rem, 0.0724rem + 5.5446vw, 5.0625rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
@media (min-width: 60em) {
  .why-us .grid {
    gap: 3rem;
    justify-content: space-around;
    grid-template-columns: repeat(4, 1fr);
  }
}
.why-us img {
  margin: 0 auto;
  width: clamp(2.625rem, 0.8156rem + 6.7327vw, 6.875rem);
}
.why-us h4 {
  margin-top: clamp(0.8125rem, 0.4134rem + 1.4851vw, 1.75rem);
}
.why-us p {
  margin-top: 0.625rem;
}

.reviews {
  margin-top: clamp(4.375rem, 2.5124rem + 6.9307vw, 8.75rem);
  padding-top: clamp(6.125rem, 4.5285rem + 5.9406vw, 9.875rem);
  padding-bottom: clamp(5.8125rem, 3.0255rem + 9.6939vw, 11.75rem);
  background-color: #f8efef;
  max-width: unset;
}
.reviews .container {
  max-width: 90rem;
}

.carousel {
  margin-top: clamp(1.4375rem, 0.6392rem + 2.9703vw, 3.3125rem);
  position: relative;
}
.carousel .prev, .carousel .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  fill-opacity: 0.2;
  cursor: pointer;
}
.carousel .prev:where(:focus, :hover), .carousel .next:where(:focus, :hover) {
  fill-opacity: 0.3;
}
.carousel .prev {
  left: 0;
}
.carousel .next {
  right: 0;
}
.carousel .cards {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}
.carousel .card {
  background: #fff6f6;
  width: clamp(24rem, 23.6541rem + 1.2871vw, 24.8125rem);
  height: clamp(20rem, 16.1683rem + 14.2574vw, 29rem);
  padding: 0 clamp(3.3125rem, 3.073rem + 0.8911vw, 3.875rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.carousel .card img {
  width: 3.4375rem;
}
.carousel .card .customer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.carousel .card h5 {
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
  font-weight: 500;
}
.carousel .card .rating {
  color: #ff8a00;
  font-size: 1.75rem;
}
.carousel .card p {
  margin-top: 0.5rem;
  text-align: center;
}

.contact {
  margin-top: clamp(9.375rem, 8.7003rem + 2.3469vw, 10.8125rem);
}
.contact .container {
  padding: 0;
}

.contact-form-wrapper {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 60em) {
  .contact-form-wrapper {
    margin-left: 6.5rem;
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 5.5rem;
  }
}
.contact-form-wrapper .contact-form {
  padding: 0 1.5rem;
}
@media (min-width: 60em) {
  .contact-form-wrapper .contact-form {
    padding: 0;
  }
}
@media (min-width: 60em) {
  .contact-form-wrapper .contact-form-line {
    display: flex;
    gap: 1rem;
  }
}
@media (min-width: 60em) {
  .contact-form-wrapper .contact-form-line > * {
    width: 50%;
  }
}
.contact-form-wrapper label {
  margin-top: 1.125rem;
  margin-bottom: 0.5rem;
  display: block;
  color: #7e222b;
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
  font-weight: 500;
}
.contact-form-wrapper input {
  border: unset;
  background: #f6eaea;
  width: 100%;
  height: 2.3rem;
}
.contact-form-wrapper .message {
  height: 11.25rem;
}
.contact-form-wrapper .file-upload {
  margin-top: 1.5rem;
  height: clamp(2rem, 1.8137rem + 0.6931vw, 2.4375rem);
  background: unset;
  color: #1e1e1e;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
}
.contact-form-wrapper .file-upload::file-selector-button {
  background-color: unset;
  border: 0.5px solid #1e1e1e;
  padding: 0.3rem 2.5rem;
  margin-right: 1.5rem;
  height: 100%;
  width: clamp(10.5625rem, 9.4981rem + 3.9604vw, 13.0625rem);
  cursor: pointer;
}
.contact-form-wrapper .terms {
  margin-top: 1rem;
  font-size: clamp(0.75rem, 0.5903rem + 0.5941vw, 1.125rem);
  line-height: 1.25;
  font-weight: 300;
  display: grid;
  grid-template-columns: 1em auto;
  align-items: start;
  gap: 0.75em;
}
.contact-form-wrapper .terms input {
  height: 1em;
  width: 1em;
  appearance: none;
  background: none;
  border: 1px solid #1e1e1e;
  cursor: pointer;
}
.contact-form-wrapper .terms input:checked {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill="%237e222b"><path d="M21 6.285L9.84 19.018 3 13l1.319-1.49 5.341 4.686L19.525 5 21 6.285z"/></svg>');
  background-size: contain;
}
.contact-form-wrapper .terms a {
  color: #1e1e1e;
  text-decoration: underline;
}
.contact-form-wrapper .form-btn {
  margin-top: 3rem;
  border: unset;
  border-radius: 0.25rem;
  background: linear-gradient(180deg, #83242b 0%, #a52d2a 100%);
  color: #ffffff;
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 2.25rem;
  line-height: clamp(2.125rem, 1.9653rem + 0.5941vw, 2.5rem);
}

.contact-details-wrapper {
  width: clamp(25.1875rem, 22.0476rem + 11.6832vw, 32.5625rem);
  background: linear-gradient(180deg, #83242b 0%, #a52d2a 100%);
  padding-top: clamp(2.6875rem, 2.3948rem + 1.0891vw, 3.375rem);
  padding-left: clamp(4.25rem, 3.7444rem + 1.8812vw, 5.4375rem);
  padding-right: clamp(4.25rem, 3.7444rem + 1.8812vw, 5.4375rem);
  padding-bottom: clamp(5.4375rem, 5.1182rem + 1.1881vw, 6.1875rem);
  border-radius: 1.25rem 0 0 1.25rem;
  justify-self: end;
}
@media (min-width: 60em) {
  .contact-details-wrapper {
    border-radius: 3rem 0 0 3rem;
  }
}
.contact-details-wrapper > * + * {
  margin-top: 2rem;
}
@media (min-width: 60em) {
  .contact-details-wrapper > * + * {
    margin-top: 2.25rem;
  }
}
.contact-details-wrapper p, .contact-details-wrapper a {
  color: #ffffff;
  font-size: clamp(0.9375rem, 0.8577rem + 0.297vw, 1.125rem);
  font-weight: 800;
}
.contact-details-wrapper .number a {
  display: block;
}
.contact-details-wrapper > * {
  display: flex;
  gap: 1.5rem;
}
.contact-details-wrapper > *::before {
  content: "";
  width: clamp(1.1875rem, 0.8948rem + 1.0891vw, 1.875rem);
  height: clamp(1.1875rem, 0.8948rem + 1.0891vw, 1.875rem);
}
.contact-details-wrapper .contact-phone-numbers::before {
  background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M.12%2014.16c.36%203.39%201.93%207.61%204.34%2011.65%203.33%205.58%208.92%2011.93%2014.46%2016.41%205.61%204.53%2011.45%207.26%2016.59%207.73.98.09%203.27.03%204.23-.1%201.76-.25%203.37-.82%205.25-1.87%201.86-1.04%202.58-1.61%203.44-2.76.54-.73.65-.93.91-1.66.46-1.33.72-3.11.55-3.83-.16-.56-.43-1.07-.81-1.5-.22-.23-1.29-.92-4.5-2.88-1.48-.92-2.98-1.81-4.48-2.69-.27-.1-.54-.19-.82-.25-.43-.11-.87-.14-1.31-.1-1.18.05-1.31.11-2.12.94-.38.39-1.12%201.25-1.66%201.92-1.2%201.5-2.27%202.6-2.78%202.85-.23.14-.49.19-.75.14-.53-.04-1.2-.33-2.3-.98-.56-.34-1.13-.67-1.69-1-3.7-2.18-6.96-4.92-9.43-7.95-1.6-1.96-2.5-3.33-4.8-7.27-.31-.53-.61-1.38-.61-1.74%200-.77.98-1.83%203.6-3.88.37-.29.99-.84%201.38-1.22.62-.61.71-.73.82-1.06.17-.53.16-1.62%200-2.1-.07-.19-.92-1.72-1.9-3.41l-2.47-4.26c-1.18-2.04-1.29-2.21-1.62-2.5C11.05.3%2010.32.02%209.56%200c-.7%200-2.49.39-3.47.77-1.06.41-2.42%201.54-3.11%202.61-.52.8-1.38%202.37-1.71%203.12C.67%207.84.28%209.27.12%2010.73c-.08%201.14-.08%202.29%200%203.44z'%20fill='%23fff'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
}
.contact-details-wrapper .contact-working-hours::before {
  background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M1.67%206.69c0-1.86%201.5-3.36%203.36-3.36h39.95c1.85%200%203.36%201.5%203.36%203.36v39.95c0%201.86-1.5%203.36-3.36%203.36H5.02c-1.85%200-3.36-1.5-3.36-3.35V6.7zM5%2016.66h40v30H5V16.67zm6.67-14.99c0-.92.71-1.67%201.68-1.67h3.3c.93%200%201.69.77%201.69%201.67v1.67h-6.67V1.67zm20%200c0-.92.71-1.67%201.68-1.67h3.3c.93%200%201.68.77%201.68%201.67v1.67h-6.67V1.67z'%20fill='%23fff'%20fill-rule='evenodd'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
}
.contact-details-wrapper .contact-email::before {
  background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M45%2012.63L25%2030.2%205%2012.61v-.7h40v.73zM5%2039.41V19.27l20%2017.59%2020-17.57v20.12H5zm-5%205h50V6.9H0v37.5z'%20fill='%23fff'%20fill-rule='evenodd'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
}
.contact-details-wrapper .contact-address::before {
  background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M25%200C14.08%200%205.23%208.87%205.23%2019.79v.08c0%2013.73%2014.17%2026.33%2018.52%2029.66.75.62%201.85.62%202.6%200%204.37-3.43%2018.42-15.92%2018.42-29.66C44.82%208.95%2036.01.05%2025.08%200H25zm0%2028.09a8.33%208.33%200%2011.001-16.661A8.33%208.33%200%200125%2028.09z'%20fill='%23fff'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
}

footer {
  margin-top: 6.375rem;
  background-color: #7e222b;
  color: #ffffff;
}
@media (min-width: 60em) {
  footer .container {
    height: 7.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
footer p {
  font-size: clamp(0.9375rem, 0.8045rem + 0.495vw, 1.25rem);
  font-weight: 400;
}
footer .footer-nav {
  margin-top: 2.5rem;
  font-size: clamp(0.75rem, 0.6702rem + 0.297vw, 0.9375rem);
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
@media (min-width: 60em) {
  footer .footer-nav {
    margin: unset;
    width: 30em;
    justify-content: space-between;
  }
}

/* utilities */
.hidden {
  display: none;
}

.flow > * + * {
  margin-top: clamp(0.5625rem, 0.19rem + 1.3861vw, 1.4375rem);
}