/*
Theme Name: nextLevelWordpressCampaign
Theme URI: https://instintia.com/
Author: Instintia
Author URI: https://instintia.com/
Description: Theme de WordPress para mostrar la landing de Instintia como pagina de inicio.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: nextlevelwordpresscampaign
*/

* {
  box-sizing: border-box;
  margin: 0;
  font-family: "coolvetica", sans-serif;font-weight: 400;font-style: normal;
}

:root {
  --brand-ink: #07091f;
  --brand-navy: #10177a;
  --brand-blue: #1b2496;
  --brand-gold: #ffb300;
  --brand-gold-soft: #fff4cf;
  --brand-surface: #f7f8fc;
  --brand-line: rgba(16, 23, 122, 0.12);
  --brand-shadow: rgba(7, 9, 31, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-ink);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

h2{
  font-size: clamp(2rem, 4vw, 3em);
  text-align: center;
  font-family: "coolvetica", sans-serif;font-weight: 700;font-style: normal;
  line-height: 1.05;
}

span {
  color: var(--brand-gold);
}

span.contact-label-text{
  color: var(--brand-ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-ink), var(--brand-ink));
  box-shadow: 0 12px 28px rgba(16, 23, 122, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(16, 23, 122, 0.24);
}

.subtitleHead p{
  text-align: center;
  width: min(75%, 920px);
  margin: 30px auto;
  line-height: 23px;
}

section {
  scroll-margin-top: 75px;
}

/*Nav*/
#mainHeader {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid var(--brand-gold);
  box-shadow: 0 12px 30px rgba(7, 9, 31, 0.05);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#mainNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 10%);
  height: 70px;
}

#logo {
  height: 70px;
  width: auto;
}

#navLinks {
  list-style: none;
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
}

#navLinks a {
  text-decoration: none;
  color: rgba(7, 9, 31, 0.72);
  font-size: 0.95rem;
}

#navLinks a.active {
  color: var(--brand-ink);
  font-weight: 600;
}

#navLinks a:hover {
  color: var(--brand-navy);
}

#menuToggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

#menuToggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-navy);
  transition: all 0.3s;
}

#menuToggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#menuToggle.open span:nth-child(2) {
  opacity: 0;
}
#menuToggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*Hero Banner*/

#heroBanner {
  min-height: 500px;
  padding: 80px clamp(24px, 8vw, 10%) 30px;
  background-image: url(imagenes/bg-home.png);
  background-color: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 70px);
  background-size: cover;
}

#heroBanner h1 {
  font-family: "coolvetica", sans-serif; font-weight: 700; font-style: normal;
  font-size: clamp(2.45rem, 4.9vw, 4.8rem);
}

#heroBanner p {
  width: min(100%, 620px);
  margin: 20px 0 40px 0;
  line-height: 1.5;
}

#heroBanner img {
  width: min(55%, 640px);
  max-width: 640px;
  height: auto;
  flex: 0 1 48%;
}

#heroBanner > div {
  min-width: 0;
  flex: 1 1 470px;
  max-width: 720px;
}

/*Features Grid*/

#feature-grid {
  padding: clamp(64px, 8vw, 100px) clamp(20px, 8vw, 10%);
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 22px 18px 26px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--brand-line);
    box-shadow: 0 18px 34px var(--brand-shadow);
    z-index: 50;
}

.underline-grid {
    position: relative;
    left: 0px;
    right: 0px;
    bottom: 21px;
    height: 25px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: linear-gradient(90deg, var(--brand-gold), #ffd56a);
    z-index: 1;
}

.featureCards {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card-wrapper {
    position: relative;
    min-height: 206px;
    grid-column: span 2;
    margin-bottom: 30px;
}

.feature-card-wrapper:nth-child(6) {
  grid-column: 2 / span 2;
}

.feature-card-wrapper:nth-child(7) {
  grid-column: 4 / span 2;
}

.feature-card-wrapper:nth-child(8) {
  grid-column: 6 / span 2;
}

.feature-card-wrapper:nth-child(9) {
  grid-column: 8 / span 2;
}

.feature-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  position: relative;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.feature-card p {
  color: rgba(7, 9, 31, 0.66);
}

/*Promo Banner*/

.promo-banner {
  width: min(80%, 1280px);
  margin: 0 auto 100px;
  margin-top: 60px;
  padding: 0 30px;
  background: linear-gradient(135deg, var(--brand-gold-soft), #ffffff 52%, #eef0ff);
  border: 1px solid rgba(255, 179, 0, 0.34);
  border-radius: 18px;
  display: flex;
  align-items: stretch;
  overflow: visible;
  justify-content: space-between;
  position: relative;
}

.promo-banner-img {
  width: 20%;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  align-content: center;
  justify-content: space-around;
  align-items: center;
}

.promo-banner-img img {
  width: 100%;
}

.promo-banner-content {
  width: 75%;
  padding: 5%;
  font-size: 1.5em;
}

.promo-banner div h2 {
  text-align: left;
}

.arrow-button {
    background-color: white;
    border: 1px solid var(--brand-line);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0px;
    position: absolute;
    right: 20px;
}

/*Services*/

#services-grid {
  padding: 50px 0;
  background: linear-gradient(180deg, #ffffff, var(--brand-surface));
}

.services-grid-cards {
  width: min(80%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  grid-column: span 2;
  min-height: 306px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 35px 22px;
  border-radius: 18px;
  background: white;
  box-shadow:
    0 18px 34px var(--brand-shadow),
    inset 0 0 0 1px var(--brand-line);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  background: linear-gradient(145deg, var(--brand-navy), #07091f);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 22px 42px rgba(16, 23, 122, 0.22),
    inset 0 0 0 1px rgba(255, 179, 0, 0.28);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: 0;
}

.service-card h4 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: inherit;
}

.service-card p {
  margin: 0;
  line-height: 1.45;
}

.service-card:hover p,
.service-card:focus-within p {
  color: white;
}

#services-grid .button{
  width: fit-content;
  padding: 0 30px;
  margin: 30px auto;
}

.service-card:hover .button,
.service-card:focus-within .button {
  background: var(--brand-gold);
  color: var(--brand-ink);
  box-shadow: none;
}

.service-card:nth-child(7) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(8) {
  grid-column: 4 / span 2;
}

/*Banner*/

.banner{
  width: min(80%, 1280px);
  margin: 110px auto;
  padding: 45px;
  background: no-repeat url(imagenes/bg-cta.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-position: center;
  position: relative;
  border: 1px solid rgba(255, 179, 0, 0.24);
  border-radius: 15px;
  box-shadow: 0 24px 52px rgba(7, 9, 31, 0.12);
}

.banner div{
  display: flex;
  flex-direction: column;
}

.banner p {
    width: min(76%, 680px);
    text-align: center;
    margin: 15px auto;
    line-height: 1.5;
}

.banner .button{
  margin: 0 auto;
}

.banner img{
  height: 256px;
}

.img-left{

  left: -6vw;
}

.img-right{

  left: 6vw;
}

/*FAQ*/
#faq-section .subtitleHead{
  margin-bottom: 30px;
}

.faq-section-layout {
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
  position: relative;
}

.faq-section-img {
  position: absolute;
  display: flex;
  justify-content: center;
}

.faq-section-img-left{
  top: 33px;
  left: -266px;
}

.faq-section-img-right{
  bottom: 58px;
  right: -297px;
}

.faq-list {
  display: grid;
  gap: 30px;
}

.faq-item {
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 16px 34px var(--brand-shadow),
    inset 0 0 0 1px var(--brand-line);
  overflow: hidden;
}

.faq-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-item__question {
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.faq-item__icon {
  flex: 0 0 auto;
  color: var(--brand-gold);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.faq-item__content {
  padding: 0 22px 18px;
}

.faq-item__content p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(7, 9, 31, 0.82);
}

.faq-item:not(.is-open) .faq-item__toggle {
  padding-bottom: 18px;
}

.faq-item:not(.is-open) .faq-item__content {
  display: none;
}

/*Contact page*/

.contact-page {
  background: linear-gradient(180deg, #f7f8fc, #ffffff 44%, #f4f6fb);
}

.contact-hero {
  min-height: 400px;
  padding: 72px clamp(24px, 8vw, 10%) 44px;
  background-image: url(imagenes/bg-home.png);
  background-color: var(--brand-surface);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 70px);
}

.contact-hero__content {
  min-width: 0;
  flex: 1 1 520px;
  max-width: 720px;
}

.contact-hero h1 {
  margin: 0;
  color: var(--brand-ink);
  font-family: "coolvetica", sans-serif;
  font-size: clamp(2.45rem, 4.9vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
}

.contact-hero h1 span {
  color: var(--brand-gold);
}

.contact-hero p {
  width: min(100%, 620px);
  margin: 20px 0 0;
  line-height: 1.5;
}

.contact-hero img {
  width: min(42%, 500px);
  max-width: 500px;
  height: auto;
  flex: 0 1 42%;
}

.contact-form-section {
  padding: clamp(56px, 7vw, 88px) clamp(20px, 8vw, 10%);
}

.contact-form-card {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(16, 23, 122, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(247, 248, 252, 0.88), rgba(255, 255, 255, 0) 38%),
    #ffffff;
  box-shadow: 0 24px 56px rgba(7, 9, 31, 0.1);
}

.contact-form-intro {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}

.contact-form-intro h2 {
  margin: 0;
  color: var(--brand-ink);
}

.contact-form-intro p {
  margin: 16px 0 0;
  line-height: 1.5;
  color: rgba(7, 9, 31, 0.7);
}

.contact-form {
  display: grid;
  gap: 24px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--brand-ink);
  font-weight: 800;
}

.contact-label-text,
.contact-form label > span:first-child {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.2;
}

.contact-label-text span[aria-hidden="true"],
.contact-form label > span:first-child span[aria-hidden="true"] {
  color: var(--brand-ink);
}

.contact-form label {
  line-height: 1.2;
}

.contact-form small {
  color: rgba(7, 9, 31, 0.48);
  font-size: 0.78rem;
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(16, 23, 122, 0.16);
  border-radius: 8px;
  background: #fbfcff;
  color: var(--brand-ink);
  font-size: 1rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  min-height: 140px;
  padding: 14px 16px;
  line-height: 1.45;
  resize: vertical;
}

.contact-form select {
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(16, 23, 122, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 23, 122, 0.1);
}

.contact-form label.is-disabled {
  color: rgba(7, 9, 31, 0.44);
}

.contact-form label.is-disabled input {
  background: #f1f3f8;
  cursor: not-allowed;
}

.contact-form .button {
  width: fit-content;
  min-width: 220px;
  margin: 4px auto 0;
  border: 0;
  cursor: pointer;
}

.contact-form-message {
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.45;
  margin-bottom: 24px;
}

.contact-form-message--success {
  color: #12512b;
  background: #e7f7ed;
  border: 1px solid rgba(18, 81, 43, 0.18);
}

.contact-form-message--error {
  color: #6d1d1d;
  background: #fff0f0;
  border: 1px solid rgba(109, 29, 29, 0.14);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher a {
  font-weight: 800;
}

/*footer*/

#mainFooter {
  background: #07091f;
  color: #ccc;
  font-size: 0.9rem;
  padding: 60px 8% 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255, 179, 0, 0.22);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: 175px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-cert {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.footer-newsletter {
  display: flex;
  border: 0.5px solid rgba(255, 179, 0, 0.34);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer-newsletter button {
  background: var(--brand-gold);
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.footer-newsletter button:hover {
  background: #ffc233;
}

.footer-newsletter button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #ccc;
  font-size: 0.85rem;
}

.footer-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-gold);
  flex-shrink: 0;
  cursor: pointer;
}

.footer-checkbox a {
  color: #ccc;
  text-decoration: underline;
}

.footer-checkbox a:hover {
  color: #fff;
}

.footer-legal-links a {
  color: #ccc;
}

.footer-legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .featureCards {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    width: calc(100% - 32px);
    margin: 0 auto 64px;
  }

  .banner {
    width: calc(100% - 32px);
    margin: 72px auto;
    padding: 28px 20px;
  }

  .services-grid-cards{
    width: 100%;
    margin: 0 auto;
  }

  .faq-section-img {
    display: none;
  }

  #mainFooter {
    padding: 48px 6% 0;
  }

}

@media (max-width: 768px) {
  #mainNav {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 6%;
  }

  #logo {
    height: 58px;
  }

  #menuToggle {
    display: flex;
  }

  #navLinks {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0 16px;
  }

  #navLinks.open {
    display: flex;
  }

  #navLinks li a {
    display: block;
    padding: 12px 0;
    border-bottom: 0.5px solid #eee;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .subtitleHead p {
    width: 100%;
    margin: 20px auto 28px;
    line-height: 1.5;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
  }

  #heroBanner {
    min-height: auto;
    padding: 64px 24px 54px;
  }

  #heroBanner h1 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  #heroBanner img {
    display: none;
  }

  #heroBanner p {
    width: 100%;
    margin-bottom: 30px;
  }

  .contact-hero {
    min-height: auto;
    padding: 64px 24px 54px;
  }

  .contact-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .contact-hero img {
    display: none;
  }

  .contact-hero p {
    width: 100%;
  }

  .contact-form-section {
    padding: 54px 20px;
  }

  .contact-form-card {
    border-radius: 16px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  #feature-grid {
    padding: 64px 20px 48px;
  }

  .featureCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .feature-card-wrapper:nth-child(6) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(7) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(8) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(9) {
    grid-column: auto;
  }

  .feature-card-wrapper,
  .feature-card {
    grid-column: auto;
    min-height: auto;
  }

  .promo-banner {
    margin-bottom: 44px;
    padding: 0;
    width: calc(100% - 40px);
  }

  .promo-banner-content {
    padding: 32px 22px;
    font-size: 1.08em;
  }

  .promo-banner div h2 {
    text-align: left;
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .arrow-button {
    display: none;
  }

  #services-grid {
    padding: 18px 20px 56px;
  }

  .services-grid-cards {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-card,
  .service-card:nth-child(7),
  .service-card:nth-child(8) {
    grid-column: auto;
    min-height: auto;
  }

  .service-card {
    padding: 26px 22px 22px;
  }

  .service-card h3 {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
    line-height: 1.06;
  }

  #faq-section {
    padding: 6px 20px 56px;
  }

  .faq-section-layout {
    grid-template-columns: 1fr;
  }

  .faq-section.img {
    display: none;
  }

  .faq-section-img {
    display: none;
  }

  .promo-banner-img {
    display: none;
  }

  .promo-banner-content {
    width: 100%;
  }

  .img-left, .img-right{
    display: none;
  }

  .banner {
    width: calc(100% - 40px);
  }

  .banner p {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-newsletter input {
    min-width: 0;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {

  #mainNav {
    padding: 0 4%;
  }

  #navLinks {
    gap: 14px;
  }

  #navLinks a {
    font-size: 0.88rem;
  }

  #heroBanner {
    padding: 70px 6% 40px;
    gap: 24px;
  }

  #heroBanner h1 {
    font-size: clamp(2.7rem, 5.5vw, 4rem);
  }

  #heroBanner img {
    width: 44%;
  }

  .subtitleHead p {
    width: min(88%, 860px);
  }

  .featureCards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card-wrapper:nth-child(6) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(7) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(8) {
    grid-column: auto;
  }

  .feature-card-wrapper:nth-child(9) {
    grid-column: auto;
  }

  .feature-card-wrapper,
  .feature-card {
    grid-column: auto;
  }

  .promo-banner {
    width: 88%;
  }

  .services-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 88%;
  }

  .service-card,
  .service-card:nth-child(7),
  .service-card:nth-child(8) {
    grid-column: auto;
  }

  .faq-section-layout {
    grid-template-columns: 1fr;
  }

  .faq-section-img {
    display: none;
  }

  .promo-banner-img {
    display: none;
  }

  .promo-banner-content {
    width: 100%;
    font-size: 1.25em;
  }

  .img-left, .img-right{
    display: none;
  }

  .banner {
    width: 88%;
    padding: 42px 32px;
  }

  .banner p {
    width: min(86%, 720px);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  #mainNav {
    padding: 12px 20px;
  }

  #logo {
    height: 52px;
  }

  #heroBanner {
    padding: 54px 20px 46px;
  }

  #heroBanner > div {
    min-width: 0;
  }

  #heroBanner h1 {
    font-size: clamp(2rem, 12vw, 2.65rem);
  }

  #feature-grid {
    padding: 52px 16px 36px;
  }

  .featureCards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card-wrapper,
  .feature-card {
    grid-column: auto;
  }

  .feature-card {
    padding: 20px 18px 24px;
  }

  .service-card {
    padding: 24px 18px 20px;
  }

  #services-grid .button,
  .banner .button {
    width: 100%;
  }

  .faq-item__toggle {
    padding: 16px 18px;
  }

  .faq-item__content {
    padding: 0 18px 18px;
  }

  #mainFooter {
    padding: 44px 20px 0;
  }

  .footer-logo {
    width: 150px;
  }
}

@media (min-width: 1700px) {
  .promo-banner-img {
    width: 25%;
    overflow: hidden;
    align-self: stretch;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    margin-top: -105px;
  }

  .promo-banner-img img {
    width: 100%;
    position: relative;
    bottom: -59px;
  }
}
