/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background: #f7f4f0;
  color: #222;
}


/* =========================
   NAVIGATION
========================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8vw;
  background: #fff;
  border-bottom: 1px solid #e2ddd5;
}

.logo img {
  height: 180px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 12px;
}


/* =========================
   LANGUAGE SWITCHER
========================= */

/*
   De bestaande navigatie blijft exact
   op zijn oorspronkelijke positie.

   NL / EN wordt absoluut onder de
   bestaande navigatie geplaatst en
   neemt dus geen ruimte in de header in.
*/

.nav nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.language-switcher {
  position: absolute;
  top: calc(100% + 20px);
  right: 8px;

  display: flex;
  align-items: center;
  gap: 5px;

  z-index: 20;
}

.language-button {
  appearance: none;

  border: none;
  margin: 0;
  padding: 0;

  background: transparent;

  color: #999;

  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;

  letter-spacing: 0.12em;

  line-height: 1;

  cursor: pointer;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.language-button:hover {
  color: #b99763;
}

.language-button.active {
  color: #b99763;
}

.language-divider {
  color: #cfc8bf;

  font-size: 0.65rem;
  line-height: 1;

  user-select: none;
}


/* =========================
   NAVIGATION LINKS
========================= */

nav a {
  text-decoration: none;
  color: white;
  background: linear-gradient(
    135deg,
    #d8c29a,
    #b99763
  );
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.08);
}

nav a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================
   BADGE
========================= */

.badge {
  display: inline-block;
  background: #e5d3ab;
  color: #333;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 25px;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 8%;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  flex: 1.2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  padding-top: 20px;
}

.hero-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  filter:
    brightness(1.02)
    contrast(0.98);
  background-color: #f7f4f0;
}


/* =========================
   HERO HEADING
========================= */

.hero-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  white-space: nowrap;
  min-height: 3rem;
}

.hero-title {
  font-size: 2.45rem;
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: block;
}


/* =========================
   WORD SLIDER
========================= */

.word-slider {
  position: relative;
  width: 270px;
  height: 3rem;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.word-container {
  position: relative;
  width: 100%;
  height: 3rem;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.animated-word {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  height: 3rem;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #c5a36d;
  font-size: 2.45rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.animated-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation:
    letterReveal 0.65s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   HERO DESCRIPTION
========================= */

.hero-description {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.8;
  margin-top: 25px;
  margin-bottom: 35px;
  max-width: 650px;
}


/* =========================
   HERO HIGHLIGHTS
========================= */

.hero-highlights {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.highlight strong {
  display: block;
  color: #c5a36d;
  margin-bottom: 5px;
}

.highlight span {
  color: #666;
}


/* =========================
   CERTIFICATIONS
========================= */

.certifications-section {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 8%;
  margin-top: -55px;
  margin-bottom: 20px;
}

.certification-watermark {
  width: 220px;

  margin-bottom: 2px;

  text-align: center;

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;

  color: #222;
  opacity: 0.55;

  white-space: nowrap;
}

.certifications-wrapper {
  display: flex;
  justify-content: flex-end;

  width: 220px;
  padding: 0;
  margin: 0;
}

.certifications {
  position: relative;

  width: 220px;
  height: 84px;

  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
}

.certification-track {
  display: flex;
  align-items: center;

  width: max-content;
  height: 84px;

  gap: 25px;

  animation: certificationScroll 30s linear infinite;
}

.certification {
  width: 84px;
  height: 84px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.certification img {
  width: 84px;
  height: 84px;

  object-fit: contain;
  display: block;
}

@keyframes certificationScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-302px);
  }
}


/* =========================
   CERTIFICATIONS RESPONSIVE
========================= */

@media (max-width: 1000px) {

  .certifications-section {
    position: relative;
    width: 100%;
    align-items: flex-end;
    padding-right: 8%;
    margin-top: -25px;
    margin-bottom: 20px;
  }

  .certifications-wrapper {
    justify-content: flex-end;
  }

}

@media (max-width: 768px) {

  .certifications-section {
    align-items: flex-end;
    padding-right: 5vw;
    margin-top: -10px;
    margin-bottom: 15px;
  }

  .certifications-wrapper {
    justify-content: flex-end;
  }

  .certification-watermark {
    font-size: 0.68rem;
  }

}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
  padding: 3rem 8vw;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.4rem;
  font-weight: 300;
}

.grid {
  display: grid;
  gap: 1.5rem;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px, 1fr)
    );
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2ddd5;
}


/* =========================
   SHARED SECTION WIDTH
========================= */

.services-section,
.contact-section {
  padding-left: 8vw;
  padding-right: 8vw;
  background: #f7f4f0;
}

.services-container,
.contact-container {
  width: 100%;
  max-width: none;
  margin: 0;
}


/* =========================
   SECTION LABEL
========================= */

.section-label {
  display: inline-block;
  color: #c5a36d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}


/* =========================
   SERVICES
========================= */

.services-section {
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.services-header {
  max-width: 650px;
  margin-bottom: 45px;
}

.services-header h2 {
  margin: 0 0 25px 0;
  font-size: 2.45rem;
  line-height: 1.15;
  font-weight: 300;
  color: #222;
}

.services-header p {
  max-width: 500px;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 25px;

  width: 100%;
}


/* =========================
   SERVICE CARDS
========================= */

.service-card {
  position: relative;

  min-height: 255px;

  box-sizing: border-box;

  padding: 18px 32px 32px 32px;

  background: #fff;

  border: 1px solid #e2ddd5;

  border-radius: 0.75rem;

  overflow: hidden;

  cursor: default;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card-top {
  display: flex;

  justify-content: flex-end;
  align-items: center;

  height: 20px;

  margin-bottom: 8px;
}

.service-arrow {
  color: #c5a36d;

  font-size: 1.4rem;

  opacity: 0;

  transform: translate(-8px, 8px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.service-card h3 {
  margin: 0 0 15px 0;

  color: #222;

  font-size: 1.15rem;

  font-weight: 500;

  transition:
    color 0.3s ease;
}

.service-card p {
  margin: 0;

  color: #666;

  font-size: 0.95rem;

  line-height: 1.7;
}

.service-card-line {
  position: absolute;

  left: 32px;
  right: 32px;

  bottom: 0;

  height: 3px;

  background: linear-gradient(
    90deg,
    #d8c29a,
    #b99763
  );

  transform: scaleX(0);

  transform-origin: left;

  transition:
    transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);

  border-color: #d8c29a;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-arrow {
  opacity: 1;

  transform: translate(0, 0);
}

.service-card:hover h3 {
  color: #b99763;
}

.service-card:hover .service-card-line {
  transform: scaleX(1);
}


/* =========================
   CONTACT
========================= */

.contact-section {
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.contact-container {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 100px;

  align-items: start;
}

.contact-info h2 {
  margin: 0 0 25px 0;

  font-size: 3.2rem;

  line-height: 1.1;

  font-weight: 300;

  color: #222;
}

.contact-info > p {
  max-width: 500px;

  color: #666;

  font-size: 1.05rem;

  line-height: 1.8;

  margin-bottom: 45px;
}


/* =========================
   CONTACT DETAILS
========================= */

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.contact-detail {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.contact-detail-label {
  color: #999;

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.contact-detail span:last-child {
  color: #333;

  font-size: 0.95rem;
}

.contact-detail a {
  color: #333;

  font-size: 0.95rem;

  text-decoration: none;

  transition:
    color 0.25s ease;
}

.contact-detail a:hover {
  color: #b99763;
}

.linkedin-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  width: fit-content;
}

.linkedin-arrow {
  font-size: 1rem;

  transition:
    transform 0.25s ease;
}

.linkedin-link:hover .linkedin-arrow {
  transform:
    translate(3px, -3px);
}


/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {
  background: #fff;

  padding: 45px;

  border: 1px solid #e2ddd5;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 20px;
}

.form-group {
  display: flex;

  flex-direction: column;

  margin-bottom: 22px;
}

.form-group label {
  margin-bottom: 8px;

  color: #333;

  font-size: 0.85rem;

  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;

  box-sizing: border-box;

  padding: 14px 15px;

  border: 1px solid #ddd6cc;

  background: #faf9f7;

  color: #222;

  font-family: inherit;

  font-size: 0.95rem;

  border-radius: 4px;

  outline: none;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.form-group textarea {
  resize: vertical;

  min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c5a36d;

  background: #fff;

  box-shadow:
    0 0 0 3px
    rgba(197, 163, 109, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}


/* =========================
   SUBMIT BUTTON
========================= */

.contact-submit {
  width: 100%;

  border: none;

  padding: 15px 25px;

  background: linear-gradient(
    135deg,
    #d8c29a,
    #b99763
  );

  color: white;

  font-family: inherit;

  font-size: 0.95rem;

  font-weight: 600;

  border-radius: 30px;

  cursor: pointer;

  display: flex;

  justify-content: center;
  align-items: center;

  gap: 12px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-submit span {
  font-size: 1.2rem;

  transition:
    transform 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 20px
    rgba(0, 0, 0, 0.12);
}

.contact-submit:hover span {
  transform:
    translateX(4px);
}

.form-note {
  margin: 15px 0 0 0;

  text-align: center;

  color: #999;

  font-size: 0.75rem;

  line-height: 1.5;
}


/* =========================
   HONEYPOT
========================= */

.form-honeypot {
  position: absolute;

  left: -9999px;

  width: 1px;
  height: 1px;

  overflow: hidden;
}


/* =========================
   FOOTER
========================= */

.footer {
  padding: 2rem 8vw;

  font-size: 0.85rem;

  color: #666;
}


/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 1200px) {

  .hero {
    gap: 40px;
  }

  .hero-title,
  .animated-word {
    font-size: 2.45rem;
  }

  .hero-heading {
    min-height: 3rem;
  }

  .word-slider {
    width: 270px;
    height: 3rem;
  }

  .word-container {
    height: 3rem;
  }

  .animated-word {
    height: 3rem;
  }

}


/* =========================
   RESPONSIVE - SMALL TABLET
========================= */

@media (max-width: 1000px) {

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    width: 100%;
  }

  .hero-heading {
    flex-wrap: wrap;
    gap: 0 10px;
    min-height: 3rem;
  }

  .word-slider {
    width: 270px;
    height: 3rem;
  }

  .word-container {
    height: 3rem;
  }

  .animated-word {
    height: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info h2 {
    font-size: 2.7rem;
  }

}


/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 768px) {

  .nav {
    padding: 1rem 5vw;
  }

  .logo img {
    height: 100px;
  }

  nav {
    gap: 5px;
  }

  .nav-links {
    gap: 5px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .language-switcher {
    top: calc(100% + 7px);
  }

  .language-button,
  .language-divider {
    font-size: 0.6rem;
  }

  .hero {
    padding: 30px 5vw;
  }

  .hero-title,
  .animated-word {
    font-size: 2.45rem;
  }

  .hero-heading {
    min-height: 3rem;
  }

  .word-slider {
    height: 3rem;
  }

  .word-container {
    height: 3rem;
  }

  .animated-word {
    height: 3rem;
  }

  .services-section,
  .contact-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .services-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .services-header h2 {
    font-size: 2.45rem;
  }

  .service-card {
    padding: 30px;
  }

  .service-card-line {
    left: 30px;
    right: 30px;
  }

  .contact-form-wrapper {
    padding: 30px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info h2 {
    font-size: 2.4rem;
  }

  .certifications-section {
    padding-right: 5vw;
  }

  .certification-watermark {
    width: 220px;
    font-size: 0.68rem;
  }

  .certifications {
    width: 220px;
  }

}


/* =========================
   ABOUT SECTION
========================= */

.about-section {
  position: relative;
  padding: 7rem 8vw 6rem;
  background: #fff;
  overflow: hidden;
}

.about-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.about-content {
  width: 100%;
  max-width: 720px;
}

.about-content h2 {
  margin: 0 0 28px;
  color: #222;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.about-intro {
  max-width: 650px;
  margin: 0 0 24px;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text {
  max-width: 650px;
  margin: 0 0 20px;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text strong {
  color: #333;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e2ddd5;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.about-stat strong {
  color: #b99763;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
}

.about-stat span {
  color: #777;
  font-size: 0.82rem;
  line-height: 1.5;
}

.about-quote {
  max-width: 600px;
  margin: 38px 0 0;
  padding-left: 22px;
  border-left: 3px solid #c5a36d;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
}


/* =========================
   ABOUT IMAGE
========================= */

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-image-background {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88%;
  height: 88%;
  background: #f7f4f0;
  border: 1px solid #e2ddd5;
  border-radius: 12px;
  z-index: 0;
}

.about-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  aspect-ratio: 673 / 705;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
  filter: brightness(1.02) contrast(0.98);
}

.about-image-caption {
  position: absolute;
  right: -20px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 260px;
  max-width: 60%;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2ddd5;
  z-index: 2;
}

.about-image-caption span {
  color: #b99763;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.about-image-caption strong {
  color: #444;
  font-size: 0.76rem;
  line-height: 1.5;
  font-weight: 500;
}


/* =========================
   ABOUT RESPONSIVE
========================= */

@media (max-width: 1200px) {

  .about-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 45px;
  }

  .about-image-wrapper {
    max-width: 420px;
  }

  .about-image {
    max-width: 390px;
  }

  .about-image-caption {
    right: -10px;
  }

}


@media (max-width: 1000px) {

  .about-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content h2 {
    font-size: 2.45rem;
  }

  .about-intro,
  .about-text {
    max-width: 100%;
  }

  .about-image-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-image {
    width: 100%;
    max-width: 430px;
  }

  .about-image-caption {
    right: 0;
    bottom: 20px;
  }

}


@media (max-width: 768px) {

  .about-section {
    padding: 5rem 5vw;
  }

  .about-container {
    gap: 40px;
  }

  .about-content h2 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .about-intro {
    font-size: 1.05rem;
  }

  .about-text {
    font-size: 0.95rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-stat {
    padding-bottom: 18px;
    border-bottom: 1px solid #e2ddd5;
  }

  .about-stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .about-image-wrapper {
    max-width: 400px;
  }

  .about-image {
    max-width: 370px;
  }

  .about-image-caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

}


@media (max-width: 480px) {

  .about-content h2 {
    font-size: 2rem;
  }

  .about-image-wrapper {
    max-width: 330px;
  }

  .about-image {
    max-width: 310px;
  }

  .about-image-caption {
    padding: 13px 15px;
  }

  .about-quote {
    padding-left: 16px;
    font-size: 0.95rem;
  }

}

/* =========================
   CONTACT SUCCESS MODAL
========================= */

.contact-success-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(34, 34, 34, 0.45);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  z-index: 9999;
}

.contact-success-overlay.active {
  opacity: 1;
  visibility: visible;
}


.contact-success-modal {
  position: relative;

  width: 100%;
  max-width: 460px;

  padding: 45px 40px;

  background: #fff;

  border: 1px solid #e2ddd5;

  border-radius: 8px;

  text-align: center;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.18);

  transform: translateY(20px) scale(0.97);

  transition:
    transform 0.35s
    cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success-overlay.active .contact-success-modal {
  transform: translateY(0) scale(1);
}


/* CHECK ICON */

.contact-success-icon {
  width: 58px;
  height: 58px;

  margin: 0 auto 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #f7f4f0;

  border: 1px solid #d8c29a;

  color: #b99763;

  font-size: 1.6rem;
  font-weight: 600;
}


/* TITLE */

.contact-success-modal h2 {
  margin: 0 0 15px;

  color: #222;

  font-size: 1.8rem;

  font-weight: 400;

  line-height: 1.25;
}


/* TEXT */

.contact-success-modal p {
  margin: 0 auto 30px;

  max-width: 350px;

  color: #666;

  font-size: 0.98rem;

  line-height: 1.7;
}


/* CLOSE X */

.contact-success-close {
  position: absolute;

  top: 15px;
  right: 18px;

  width: 32px;
  height: 32px;

  border: none;

  background: transparent;

  color: #999;

  font-family: inherit;

  font-size: 1.7rem;

  line-height: 1;

  cursor: pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-success-close:hover {
  color: #b99763;

  transform: rotate(90deg);
}


/* BUTTON */

.contact-success-button {
  border: none;

  padding: 12px 28px;

  background: linear-gradient(
    135deg,
    #d8c29a,
    #b99763
  );

  color: #fff;

  font-family: inherit;

  font-size: 0.9rem;

  font-weight: 600;

  border-radius: 30px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-success-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12);
}


/* MOBILE */

@media (max-width: 480px) {

  .contact-success-overlay {
    padding: 20px;
  }

  .contact-success-modal {
    padding: 40px 25px;
  }

  .contact-success-modal h2 {
    font-size: 1.55rem;
  }

  .contact-success-modal p {
    font-size: 0.92rem;
  }

}