/*
VERVE Official Website Common Styles
1. Change Color: Modify the color variable within `:root`.
2. Change Desktop/Mobile Layout: Find `@media` to adjust breakpoints and layout.
3. Add/Delete Sections: Copy or delete the entire `<section>` in the HTML, then reuse the class from this file.
*/

:root {
  --navy: #06252b;
  --teal: #0e6968;
  --blue: #08275f;
  --mint: #bce8dc;
  --cream: #f4f2eb;
  --ink: #102f34;
  --muted: #657a7d;
  --line: #d4dfdc;
  --white: #fff;
  --shadow: 0 18px 50px rgba(6, 37, 43, .12)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff
}

img {
  max-width: 100%;
  display: block
}

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

p {
  line-height: 1.7
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  margin-top: 0
}

h1 {
  font-size: clamp(46px, 5.5vw, 82px);
  line-height: 1.03
}

h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08
}

h3 {
  font-size: 25px
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint)
}

.eyebrow.dark {
  color: var(--teal)
}

em {
  color: var(--mint)
}

.top-contact {
  height: 38px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #fff
}

.top-contact a {
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d83a3a, #b82020);
  color: #fff;
  font-size: 12px;
  font-weight: 800
}

.site-header {
  height: 74px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 20
}

.logo img {
  width: 245px;
  height: 70px;
  object-fit: cover
}

.site-nav {
  display: flex;
  gap: 5px;
  align-items: center
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--mint)
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 13px;
  font-size: 20px;
  border-radius: 4px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer
}

.button.light {
  background: #fff;
  color: var(--navy)
}

.button:hover {
  filter: brightness(.92)
}

.home-hero {
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background: url('../images/home-dental-clinic.jpg') center/cover
}

.home-hero:before,
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 37, 43, .9), rgba(6, 37, 43, .35))
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(790px, 86vw);
  margin-left: 7vw
}

.hero-copy p {
  max-width: 650px
}

.hero-points {
  padding-left: 20px;
  line-height: 2
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 28px
}

.trust-bar {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 37, 43, .9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 7vw
}

.trust-bar div {
  padding: 0 24px;
  border-right: 1px solid #ffffff40
}

.trust-bar div:last-child {
  border: 0
}

.trust-bar strong {
  display: block;
  font: italic 26px Georgia;
  color: var(--mint)
}

.trust-bar span {
  font-size: 11px
}

.section {
  padding: 100px 7vw
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  background: var(--cream)
}

.intro p:last-child {
  font-size: 17px;
  color: var(--muted)
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px
}

.features article {
  background: #fff;
  padding: 50px 35px
}

.features span,
.number {
  color: var(--teal);
  font: italic 17px Georgia
}

.features p {
  font-size: 13px;
  color: var(--muted)
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.split-image {
  min-height: 600px;
  background: url('../images/home-magnifying-glass.jpg') center/contain no-repeat #fff
}

.split-copy {
  padding: 90px 7vw;
  background: var(--teal);
  color: #fff
}

.check-list {
  list-style: none;
  padding: 0
}

.check-list li {
  padding: 13px 0;
  border-bottom: 1px solid #ffffff35
}

.check-list li:before {
  content: "✓";
  color: var(--mint);
  margin-right: 12px;
  font-weight: bold
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px
}

.image-card {
  min-height: 530px;
  display: flex;
  align-items: end;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center
}

.image-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(6, 37, 43, .9))
}

.image-card>div {
  position: relative;
  padding: 45px
}

.home-dental {
  background-image: url('../images/home-service-dental.jpg')
}

.home-commercial {
  background-image: url('../images/home-service-gym.jpg')
}

.dark-section {
  background: var(--navy);
  color: #fff
}

.problem-grid,
.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 45px
}

.problem-grid p,
.extras p {
  border-bottom: 1px solid #ffffff32;
  padding: 16px 0
}

.problem-grid p:before,
.extras p:before {
  content: "✓";
  color: var(--mint);
  margin-right: 12px
}

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

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover
}

.areas {
  background: linear-gradient(125deg, #06252b, #0a5257);
  color: #fff
}

.quote {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  background: var(--cream)
}

.quote-form {
  background: #fff;
  padding: 42px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.quote-form label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 0;
  border-bottom: 1px solid #aabbb8;
  font: 14px Arial;
  background: transparent
}

.quote-form textarea {
  border: 1px solid #b9c7c4
}

.full {
  grid-column: 1/-1
}

.page-hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center
}

.page-hero .hero-copy {
  margin-top: 30px
}

.about-hero {
  background-image: url('../images/about-team-logo-corrected.png');
  background-position: center top
}

.services-hero {
  background-image: url('../images/services-main.png')
}

.contact-hero {
  background-image: linear-gradient(135deg, #06252b, #0e6968)
}

.about-intro {
  text-align: center;
  max-width: 1050px;
  margin: auto
}

.about-groups {
  background: var(--cream)
}

.about-group {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 55px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line)
}

.about-group ul {
  margin: 0
}

.about-group li {
  padding: 9px 0
}

.about-group li:marker {
  color: var(--teal)
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 32px
}

.detail-card {
  display: grid;
  grid-template-columns: 42% 58%;
  border: 1px solid var(--line);
  min-height: 410px
}

.detail-card:nth-child(even) {
  grid-template-columns: 58% 42%
}

.detail-card:nth-child(even) .card-image {
  grid-column: 2;
  grid-row: 1
}

.detail-card:nth-child(even) .card-body {
  grid-column: 1;
  grid-row: 1
}

.card-image {
  min-height: 410px;
  background-position: center;
  background-size: cover
}

.dental-img {
  background-image: url('../images/service-dental-new.jpg')
}

.medical-img {
  background-image: url('../images/service-medical-new.jpg')
}

.commercial-img {
  background-image: url('../images/service-commercial-new.jpg')
}

.residential-img {
  background-image: url('../images/service-residential-new.jpg')
}

.card-body {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.card-type {
  color: var(--teal);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px
}

.card-body li {
  margin: 12px 0
}

.process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px
}

.process div {
  padding: 28px 17px;
  background: #ffffff0d;
  border-top: 2px solid var(--mint)
}

.process strong {
  color: var(--mint)
}

.process p {
  font-size: 12px
}

.safeguards {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px
}

.safeguard-list div {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0
}

.faq {
  max-width: 1000px;
  margin: auto
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px
}

.faq summary {
  font-weight: 800;
  cursor: pointer
}

.faq details p {
  color: var(--muted)
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr
}

.contact-info {
  background: linear-gradient(145deg, #06252b, #0a4d52);
  color: #fff;
  padding: 90px 7vw
}

.contact-methods {
  margin-top: 40px;
  border-top: 1px solid #ffffff40
}

.contact-methods a {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff40
}

.contact-form-wrap {
  padding: 90px 7vw;
  background: var(--cream)
}

.site-footer {
  background: var(--navy);
  color: #c9d8d7
}

.footer-main {
  padding: 65px 7vw;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px
}

.footer-logo {
  width: 270px;
  height: 105px;
  object-fit: cover
}

.footer-contact a {
  display: block;
  margin: 12px 0;
  color: #fff
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.footer-bottom {
  padding: 20px 7vw;
  border-top: 1px solid #ffffff25;
  text-align: center;
  font-size: 12px
}

.notice {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background: #e9f5f1;
  color: var(--teal);
  font-weight: bold
}

@media(max-width:950px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 7vw;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow)
  }

  .site-nav.open {
    display: flex
  }

  .menu-toggle {
    display: block
  }

  .features {
    grid-template-columns: 1fr 1fr
  }

  .split,
  .intro,
  .quote,
  .contact-layout,
  .safeguards {
    grid-template-columns: 1fr
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .process {
    grid-template-columns: repeat(4, 1fr)
  }

  .section-head {
    align-items: start;
    flex-direction: column
  }

  .gallery {
    grid-template-columns: 1fr 1fr
  }

  .detail-card,
  .detail-card:nth-child(even) {
    grid-template-columns: 42% 58%
  }

  .detail-card:nth-child(even) .card-image {
    grid-column: 1
  }

  .detail-card:nth-child(even) .card-body {
    grid-column: 2
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:620px) {
  .top-contact {
    padding: 0 4vw
  }

  .site-header {
    height: 66px;
    padding: 0 4vw
  }

  .logo img {
    width: 205px;
    height: 58px
  }

  .site-nav {
    top: 66px
  }

  .section {
    padding: 72px 6vw
  }

  .home-hero {
    min-height: 790px;
    align-items: flex-start;
    padding-top: 90px
  }

  .hero-copy {
    margin-left: 6vw
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column
  }

  .trust-bar {
    padding: 15px 5vw
  }

  .trust-bar div {
    padding: 8px
  }

  .features,
  .gallery,
  .problem-grid,
  .extras {
    grid-template-columns: 1fr
  }

  .split-image {
    min-height: 360px
  }

  .image-card {
    min-height: 440px
  }

  .quote-form {
    padding: 28px 22px;
    grid-template-columns: 1fr
  }

  .full {
    grid-column: auto
  }

  .page-hero {
    min-height: 540px
  }

  .about-group {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .detail-card,
  .detail-card:nth-child(even) {
    display: block;
    min-height: 0
  }

  .card-image {
    min-height: 250px
  }

  .card-body {
    padding: 35px 25px
  }

  .process {
    grid-template-columns: 1fr 1fr
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px
  }
}