/*
Theme Name: Early Solutions V2 Customizer Contact
Theme URI: https://earlysolutions.example/v2-customizer-contact/
Author: Early Solutions
Author URI: https://earlysolutions.example/
Description: A bright futuristic corporate multipage landing page theme for Early Solutions Inc. with Customizer controls, editable header/footer/social links, contact form, animations, and service detail pages.
Version: 2.7.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: early-solutions-v2-customizer-contact
*/

:root {
  --ink: #071328;
  --muted: #3e4757;
  --teal: #12aeb4;
  --green: #74d43c;
  --line: rgba(2, 51, 78, 0.1);
  --shadow: 0 22px 55px rgba(5, 34, 54, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfd;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.early-font-system {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.early-font-georgia {
  font-family: Georgia, "Times New Roman", serif;
}

body.early-mode-dark {
  --ink: #f7fbff;
  --muted: #b9c8d8;
  background: #06111d;
  color: #f7fbff;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.top-strip {
  height: 36px;
  background: #061a2a;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 6.9vw;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 18px rgba(5, 35, 57, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
}

.brand-mark {
  width: 65px;
  height: 45px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand .custom-logo,
.footer-logo .custom-logo {
  width: 65px;
  height: 45px;
  object-fit: contain;
}

.brand-word {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.1vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: #111827;
}

.nav-links a,
.nav-menu a {
  position: relative;
  display: block;
  padding: 30px 0 27px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-menu a:hover,
.nav-links a:focus-visible,
.nav-menu a:focus-visible {
  color: #0f9da8;
  transform: translateY(-2px);
}

.nav-links a.active::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1497b5, #36bdbb);
  content: "";
  transform: translateX(-50%);
}

.nav-cta,
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%);
  box-shadow: 0 14px 30px rgba(18, 174, 180, 0.27);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    filter 190ms ease;
}

.nav-cta:hover,
.hero-button:hover,
.details-button:hover,
.wp-block-button__link:hover,
.nav-cta:focus-visible,
.hero-button:focus-visible,
.details-button:focus-visible,
.wp-block-button__link:focus-visible {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(18, 174, 180, 0.34);
}

.nav-cta {
  width: 122px;
  height: 40px;
  font-size: 14px;
  white-space: nowrap;
}

body.early-mode-dark .nav {
  background: rgba(7, 19, 40, 0.96);
}

body.early-mode-dark .nav-links,
body.early-mode-dark .nav-menu,
body.early-mode-dark .brand-word {
  color: #f7fbff;
}

.page {
  overflow-x: hidden;
  overflow-y: visible;
}

.hero {
  position: relative;
  min-height: 808px;
  padding: 0 6.9vw;
  --bg-y: 0px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.34) 35%, rgba(255, 255, 255, 0.04) 68%),
    url("assets/hero-city.png") center / cover no-repeat;
  background-position:
    center,
    center calc(50% + var(--bg-y));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 300px;
  background: linear-gradient(0deg, rgba(4, 22, 37, 0.74), rgba(4, 24, 39, 0));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 50px;
  max-width: 1190px;
  margin: 0 auto;
  padding-top: 122px;
}

.hero-copy {
  max-width: 650px;
  padding-top: 22px;
}

h1 {
  margin: 0;
  color: #071229;
  font-size: clamp(41px, 3.9vw, 52px);
  line-height: 1.13;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-copy p {
  max-width: 520px;
  margin: 28px 0 37px;
  color: #172033;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.28;
  font-weight: 400;
}

.hero-button {
  width: 200px;
  height: 57px;
  font-size: 20px;
}

.hero-logo {
  justify-self: center;
  width: min(470px, 41vw);
  margin-top: -17px;
  text-align: center;
}

.hero-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 18px rgba(0, 77, 93, 0.16));
}

.services {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1340px;
  margin: -289px auto 0;
  padding: 0 34px 68px;
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 222px;
  flex-direction: column;
  align-items: center;
  padding: 29px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 2%, rgba(34, 193, 201, 0.12), rgba(255, 255, 255, 0) 38%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(6px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.early-solutions-home .service-card,
.page .service-card {
  background:
    radial-gradient(circle at 50% 2%, rgba(34, 193, 201, 0.12), rgba(255, 255, 255, 0) 38%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(5, 34, 54, 0.2);
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(18, 174, 180, 0.4);
  box-shadow: 0 28px 65px rgba(5, 34, 54, 0.28);
  transform: translateY(-8px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}

.service-card h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 1.45vw, 25px);
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.service-card p {
  max-width: 295px;
  margin: 0 auto 20px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.43;
  overflow-wrap: normal;
  word-break: normal;
}

.details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%);
  box-shadow: 0 12px 24px rgba(18, 174, 180, 0.22);
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    filter 190ms ease;
}

.about {
  min-height: 462px;
  padding: 71px 6.9vw 70px;
  --bg-y: 0px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 39%, rgba(255, 255, 255, 0.08) 70%),
    url("assets/about-globe.png") center / cover no-repeat;
  background-position:
    center,
    center calc(50% + var(--bg-y));
}

.about-inner {
  max-width: 1190px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 22px;
  color: #394253;
  font-size: 16px;
  letter-spacing: 1.2px;
}

.about h2,
.closing h2 {
  margin: 0;
  color: #071229;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.14;
  font-weight: 800;
}

.about p {
  max-width: 548px;
  margin: 29px 0 0;
  color: #172033;
  font-size: 19px;
  line-height: 1.5;
}

.closing {
  padding: 66px 24px 82px;
  background: #fff;
  text-align: center;
}

.closing .eyebrow {
  margin-bottom: 25px;
}

.closing strong {
  font-weight: 800;
  letter-spacing: 1.8px;
}

.interior-page {
  background: #fff;
}

body.early-mode-dark .interior-page,
body.early-mode-dark .closing,
body.early-mode-dark .early-solutions-elementor-content {
  background: #06111d;
}

body.early-mode-dark .interior-content,
body.early-mode-dark .interior-content h2,
body.early-mode-dark .interior-content h3,
body.early-mode-dark .about h2,
body.early-mode-dark .closing h2 {
  color: #f7fbff;
}

.interior-hero {
  padding: 98px 6.9vw 104px;
  --bg-y: 0px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.12) 100%),
    url("assets/hero-city.png") center / cover no-repeat;
  background-position:
    center,
    center calc(50% + var(--bg-y));
}

.interior-hero-inner,
.interior-content {
  max-width: 1320px;
  margin: 0 auto;
}

.interior-content {
  padding: 70px 6.9vw 90px;
  color: #172033;
  font-size: 19px;
  line-height: 1.55;
}

.interior-content h2,
.interior-content h3 {
  color: #071229;
  line-height: 1.15;
}

.interior-content h2 {
  font-size: clamp(32px, 3vw, 44px);
}

.interior-content h3 {
  font-size: 25px;
}

.interior-content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.about-picture-heading,
.early-image-overlay {
  position: relative;
  margin-bottom: 42px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.case-picture-heading {
  position: relative;
  margin-bottom: 42px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.about-picture-heading img,
.case-picture-heading img,
.early-image-overlay img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.about-picture-heading::after,
.case-picture-heading::after,
.early-image-overlay::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0) 64%);
  pointer-events: none;
}

.about-picture-copy,
.case-picture-copy,
.early-image-overlay-copy {
  position: absolute;
  z-index: 1;
  top: clamp(14px, 1.8vw, 26px);
  left: clamp(14px, 1.8vw, 26px);
  max-width: 560px;
}

.about-picture-copy h2,
.case-picture-copy h2,
.early-image-overlay-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
}

.case-picture-copy p,
.case-picture-text p,
.elementor-element-escasehero .case-picture-text p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #1f2937;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.45;
}

body.early-mode-dark .about-picture-heading::after,
body.early-mode-dark .case-picture-heading::after,
body.early-mode-dark .early-image-overlay::after {
  background: linear-gradient(90deg, rgba(6, 18, 32, 0.88) 0%, rgba(6, 18, 32, 0.58) 42%, rgba(6, 18, 32, 0) 68%);
}

.overlay-pos-top-right .about-picture-copy,
.overlay-pos-top-right .case-picture-copy,
.overlay-pos-top-right .early-image-overlay-copy {
  right: clamp(14px, 1.8vw, 26px);
  left: auto;
  text-align: right;
}

.overlay-pos-bottom-left .about-picture-copy,
.overlay-pos-bottom-left .case-picture-copy,
.overlay-pos-bottom-left .early-image-overlay-copy {
  top: auto;
  bottom: clamp(14px, 1.8vw, 26px);
}

.overlay-pos-bottom-right .about-picture-copy,
.overlay-pos-bottom-right .case-picture-copy,
.overlay-pos-bottom-right .early-image-overlay-copy {
  top: auto;
  right: clamp(14px, 1.8vw, 26px);
  bottom: clamp(14px, 1.8vw, 26px);
  left: auto;
  text-align: right;
}

.overlay-pos-center-left .about-picture-copy,
.overlay-pos-center-left .case-picture-copy,
.overlay-pos-center-left .early-image-overlay-copy {
  top: 50%;
  transform: translateY(-50%);
}

.overlay-pos-center-right .about-picture-copy,
.overlay-pos-center-right .case-picture-copy,
.overlay-pos-center-right .early-image-overlay-copy {
  top: 50%;
  right: clamp(14px, 1.8vw, 26px);
  left: auto;
  text-align: right;
  transform: translateY(-50%);
}

.overlay-pos-center .about-picture-copy,
.overlay-pos-center .case-picture-copy,
.overlay-pos-center .early-image-overlay-copy {
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.page-about-us .interior-content {
  position: relative;
}

.page-about-us .interior-content > .wp-block-image:first-child {
  position: relative;
  margin: 0 0 42px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.page-about-us .interior-content > .wp-block-image:first-child img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.page-about-us .interior-content > .wp-block-image:first-child::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0) 64%);
  pointer-events: none;
}

.page-about-us .interior-content > .wp-block-image:first-child + h2 {
  position: absolute;
  z-index: 1;
  top: clamp(84px, 7vw, 96px);
  left: calc(6.9vw + clamp(14px, 1.8vw, 26px));
  max-width: min(620px, calc(100% - 160px));
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

.page-case-studies .interior-content,
.early-page-case-studies .interior-content {
  position: relative;
}

.page-case-studies .interior-content > .wp-block-image:first-child {
  position: relative;
  margin: 0 0 42px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.page-case-studies .interior-content > .wp-block-image:first-child img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.page-case-studies .interior-content > .wp-block-image:first-child::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0) 64%);
  pointer-events: none;
}

.page-case-studies .interior-content > .wp-block-image:first-child + h2 {
  position: absolute;
  z-index: 1;
  top: clamp(84px, 7vw, 96px);
  left: calc(6.9vw + clamp(14px, 1.8vw, 26px));
  max-width: min(620px, calc(100% - 160px));
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

.page-case-studies .interior-content > h2:first-of-type,
.page-case-studies .interior-content .wp-block-image ~ h2:first-of-type,
.early-page-case-studies .interior-content > h2:first-of-type,
.early-page-case-studies .interior-content .wp-block-image ~ h2:first-of-type {
  position: absolute;
  z-index: 2;
  top: clamp(84px, 7vw, 96px);
  left: calc(6.9vw + clamp(14px, 1.8vw, 26px));
  max-width: min(620px, calc(100% - 160px));
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

.page-about-us .interior-content > h2:first-of-type,
.page-about-us .interior-content .wp-block-image ~ h2:first-of-type,
.early-page-about-us .interior-content > h2:first-of-type,
.early-page-about-us .interior-content .wp-block-image ~ h2:first-of-type {
  position: absolute;
  z-index: 2;
  top: clamp(84px, 7vw, 96px);
  left: calc(6.9vw + clamp(14px, 1.8vw, 26px));
  max-width: min(620px, calc(100% - 160px));
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

body.early-mode-dark .page-case-studies .interior-content > .wp-block-image:first-child::after {
  background: linear-gradient(90deg, rgba(6, 18, 32, 0.88) 0%, rgba(6, 18, 32, 0.58) 42%, rgba(6, 18, 32, 0) 68%);
}

body.early-mode-dark .page-about-us .interior-content > .wp-block-image:first-child::after {
  background: linear-gradient(90deg, rgba(6, 18, 32, 0.88) 0%, rgba(6, 18, 32, 0.58) 42%, rgba(6, 18, 32, 0) 68%);
}

.interior-content .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  align-items: stretch;
  gap: 28px;
}

.interior-content .wp-block-column {
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 15px;
  background: #f8fbfd;
  box-shadow: 0 14px 35px rgba(5, 34, 54, 0.1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

body.early-mode-dark .interior-content .wp-block-column {
  background: #0a1d2d;
}

.interior-content .wp-block-column:hover,
.interior-content .wp-block-column:focus-within {
  box-shadow: 0 24px 55px rgba(5, 34, 54, 0.16);
  transform: translateY(-6px);
}

.interior-content .wp-block-column h3 {
  margin-top: 0;
  font-size: clamp(22px, 1.35vw, 26px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.interior-content .wp-block-column p {
  overflow-wrap: normal;
  word-break: normal;
}

.interior-content .wp-block-column .wp-block-buttons,
.interior-content .wp-block-column p:last-child {
  margin-top: auto;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 42px;
  margin: 44px auto 12px;
}

.case-study-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(34px, 4vw, 58px) clamp(26px, 4vw, 58px);
  border: 1px solid rgba(19, 182, 177, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 8%, rgba(35, 211, 215, 0.16), rgba(255, 255, 255, 0) 36%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 68px rgba(5, 34, 54, 0.15);
  text-align: center;
  backdrop-filter: blur(8px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.case-study-card:hover,
.case-study-card:focus-within {
  border-color: rgba(19, 182, 177, 0.55);
  box-shadow: 0 34px 80px rgba(5, 34, 54, 0.21);
  transform: translateY(-8px);
}

.case-study-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 36px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%);
  box-shadow: 0 18px 38px rgba(18, 174, 180, 0.28);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.case-study-card h3 {
  max-width: 520px;
  margin: 0 0 22px;
  color: #071229;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.12;
}

.case-study-card p {
  max-width: 560px;
  margin: 0 auto 38px;
  color: #1f2937;
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.42;
}

.case-study-card .details-button {
  min-width: 210px;
  min-height: 58px;
  margin-top: auto;
  font-size: 20px;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    filter 190ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.early-no-animations .reveal,
.early-no-animations .hero-logo img {
  animation: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-logo img {
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-logo img {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.elementor-page .page {
  overflow: visible;
}

.early-solutions-elementor-content {
  min-height: 60vh;
  background: #fff;
}

.early-solutions-elementor-live-preview {
  background: #fff;
}

.early-solutions-elementor-live-preview > p {
  margin: 0;
  padding: 10px 18px;
  color: #0d596e;
  background: #e7fbfb;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.early-solutions-elementor-source {
  border-top: 4px solid #13b6b1;
}

.early-solutions-editor-source-label {
  padding: 14px 22px;
  color: #071229;
  background: #f4fbfd;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.early-solutions-elementor-content .elementor-element-eshero1 {
  min-height: 760px;
  padding: 0 6.9vw;
}

.early-solutions-elementor-content .elementor-element-eshero1 > .elementor-container {
  min-height: 760px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.early-solutions-elementor-content .elementor-element-esheroc {
  display: flex;
  align-items: center;
}

.early-solutions-elementor-content .elementor-element-esheroc > .elementor-widget-wrap {
  align-content: center;
  padding-top: 12px;
}

.early-solutions-elementor-content .elementor-element-eshtitle .elementor-heading-title {
  color: #071229;
  font-size: clamp(44px, 4.35vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.early-solutions-elementor-content .elementor-element-eshtext1 {
  max-width: 520px;
}

.early-solutions-elementor-content .elementor-element-eshtext1 p {
  margin: 22px 0 28px;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.34;
}

.early-solutions-elementor-content .elementor-element-eshbtn1 .elementor-button,
.early-solutions-elementor-content .elementor-element-essrv01 .elementor-button {
  min-width: 142px;
  border-radius: 8px;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 174, 180, 0.22);
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.early-solutions-elementor-content .elementor-element-eshbtn1 .elementor-button:hover,
.early-solutions-elementor-content .elementor-element-essrv01 .elementor-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(18, 174, 180, 0.28);
}

.early-solutions-elementor-content .elementor-element-eshlogo img {
  width: min(470px, 41vw);
  max-width: 100%;
  filter: drop-shadow(0 15px 18px rgba(0, 77, 93, 0.16));
}

.early-solutions-elementor-content .elementor-element-essrv01 {
  position: relative;
  z-index: 2;
  margin-top: -136px;
  padding: 0 34px 68px;
}

.early-solutions-elementor-content .elementor-element-essrv01 > .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1340px;
}

.early-solutions-elementor-content .elementor-element-essrv01 > .elementor-container > .elementor-column {
  width: auto;
  min-width: 0;
  min-height: 222px;
  padding: 29px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 2%, rgba(34, 193, 201, 0.12), rgba(255, 255, 255, 0) 38%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(5, 34, 54, 0.2);
  text-align: center;
  backdrop-filter: blur(6px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.early-solutions-elementor-content .elementor-element-essrv01 > .elementor-container > .elementor-column:hover {
  border-color: rgba(18, 174, 180, 0.4);
  box-shadow: 0 28px 65px rgba(5, 34, 54, 0.28);
  transform: translateY(-8px);
}

.early-solutions-elementor-content .elementor-element-essrv01 .elementor-heading-title {
  margin-bottom: 12px;
  color: #071229;
  font-size: clamp(21px, 1.45vw, 25px);
  line-height: 1.18;
}

.early-solutions-elementor-content .elementor-element-essrv01 p {
  max-width: 295px;
  margin: 0 auto 20px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.43;
}

.early-solutions-elementor-content .elementor-element-esabout {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 86px 6.9vw;
}

.early-solutions-elementor-content .elementor-element-esabout > .elementor-container {
  width: 100%;
  max-width: 1180px;
}

.early-solutions-elementor-content .elementor-element-esabtey .elementor-heading-title {
  color: #74c4e3;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.early-solutions-elementor-content .elementor-element-esabthd .elementor-heading-title {
  max-width: 620px;
  color: #071229;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.15;
}

.early-solutions-elementor-content .elementor-element-esabtxt p {
  max-width: 720px;
  color: #1f2937;
  font-size: 19px;
  line-height: 1.5;
}

.elementor-template-full-width,
.elementor-template-canvas {
  margin: 0;
  background: #fff;
}

.elementor-template-full-width main,
.elementor-template-canvas main {
  width: 100%;
  overflow: hidden;
}

.contact-layout.wp-block-columns {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.early-contact-details,
.early-contact-form {
  border-radius: 15px;
  background: #f8fbfd;
  box-shadow: 0 14px 35px rgba(5, 34, 54, 0.1);
  padding: 30px 28px;
}

.early-contact-details h3 {
  margin: 0 0 12px;
  color: #071229;
}

.early-contact-details p {
  margin: 0 0 14px;
}

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

.early-contact-form label {
  display: grid;
  gap: 8px;
  color: #071229;
  font-size: 15px;
  font-weight: 800;
}

.early-contact-form input,
.early-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 18, 41, 0.14);
  border-radius: 8px;
  padding: 14px 15px;
  color: #071229;
  background: #fff;
  font: inherit;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.early-contact-form input:focus,
.early-contact-form textarea:focus {
  border-color: #13b6b1;
  box-shadow: 0 0 0 4px rgba(19, 182, 177, 0.14);
}

.early-contact-form .hero-button {
  width: 180px;
}

.contact-notice {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.contact-notice.success {
  color: #075c3d;
  background: #dff8ec;
}

.contact-notice.error {
  color: #7f1d1d;
  background: #fde2e2;
}

.map-embed {
  min-height: 260px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(7, 18, 41, 0.1);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(5, 34, 54, 0.1);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

body.early-mode-dark .early-contact-form label {
  color: #f7fbff;
}

body.early-mode-dark .early-contact-form input,
body.early-mode-dark .early-contact-form textarea {
  border-color: rgba(216, 248, 251, 0.18);
  color: #f7fbff;
  background: #081827;
}

.site-footer {
  color: #d8f8fb;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 190, 190, 0.22), transparent 34%),
    linear-gradient(135deg, #061a2a 0%, #09283a 52%, #062233 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(170px, 1fr));
  gap: 42px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 62px 6.9vw 42px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-logo img {
  width: 58px;
  height: 42px;
  object-fit: contain;
}

.footer-brand p,
.footer-column p {
  margin: 18px 0 0;
  color: rgba(216, 248, 251, 0.78);
  line-height: 1.55;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.site-footer a {
  color: #d8f8fb;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #79e3d9;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(121, 227, 217, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8f8fb;
  font-size: 14px;
  font-weight: 800;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(121, 227, 217, 0.8);
  background: rgba(18, 174, 180, 0.2);
  box-shadow: 0 12px 26px rgba(18, 174, 180, 0.18);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 6.9vw 28px;
  border-top: 1px solid rgba(216, 248, 251, 0.14);
  color: rgba(216, 248, 251, 0.68);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 980px) {
  .top-strip {
    height: 18px;
  }

  .early-solutions-elementor-content .elementor-element-eshero1,
  .early-solutions-elementor-content .elementor-element-eshero1 > .elementor-container {
    min-height: 880px;
  }

  .early-solutions-elementor-content .elementor-element-eshero1 > .elementor-container {
    flex-direction: column;
    justify-content: center;
  }

  .early-solutions-elementor-content .elementor-element-eshlogo img {
    width: min(390px, 82vw);
  }

  .early-solutions-elementor-content .elementor-element-essrv01 {
    margin-top: -190px;
  }

  .early-solutions-elementor-content .elementor-element-essrv01 > .elementor-container {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 720px;
  }

  .nav {
    height: auto;
    min-height: 86px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 28px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links,
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .nav-links a,
  .nav-menu a {
    padding: 10px 0 12px;
  }

  .nav-links a.active::after,
  .nav-menu .current-menu-item > a::after,
  .nav-menu .current_page_item > a::after {
    bottom: 0;
  }

  .hero {
    min-height: 940px;
    padding: 0 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 84px;
  }

  .hero-logo {
    width: min(390px, 82vw);
    justify-self: end;
    margin-right: 3vw;
  }

  .services {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 720px;
    margin-top: -224px;
    padding-inline: 24px;
  }

  .interior-content .wp-block-columns {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .case-study-grid {
    gap: 28px;
  }

  .about {
    padding-inline: 28px;
  }

  .interior-hero {
    padding: 76px 28px 82px;
  }

  .interior-content {
    padding: 54px 28px 74px;
  }

  .about-picture-heading img,
  .case-picture-heading img,
  .early-image-overlay img {
    min-height: 360px;
    object-position: 62% center;
  }

  .about-picture-copy,
  .case-picture-copy,
  .early-image-overlay-copy {
    top: 18px;
    left: 18px;
    max-width: calc(100% - 56px);
  }

  .page-about-us .interior-content > .wp-block-image:first-child img,
  .page-case-studies .interior-content > .wp-block-image:first-child img {
    min-height: 360px;
    object-position: 62% center;
  }

  .page-about-us .interior-content > .wp-block-image:first-child + h2,
  .page-case-studies .interior-content > .wp-block-image:first-child + h2 {
    top: 74px;
    left: 46px;
    max-width: calc(100% - 112px);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 28px;
  }

  .contact-layout.wp-block-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 28px;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .early-solutions-elementor-content .elementor-element-essrv01 > .elementor-container {
    grid-template-columns: 1fr;
  }

  .early-solutions-elementor-content .elementor-element-eshtitle .elementor-heading-title {
    font-size: 38px;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-mark {
    width: 54px;
    height: 38px;
  }

  .nav-cta {
    width: 116px;
  }

  .hero {
    min-height: 930px;
    background-position: 62% center;
  }

  .hero-inner {
    padding-top: 54px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 19px;
  }

  .hero-logo {
    justify-self: center;
    margin-right: 0;
  }

  .services {
    grid-template-columns: 1fr;
    margin-top: -205px;
  }

  .interior-content .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    min-height: 360px;
  }

  .about {
    min-height: 680px;
    padding-bottom: 92px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.18) 100%),
      url("assets/about-globe.png") 62% center / cover no-repeat;
  }

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

  .footer-logo {
    font-size: 18px;
  }
}

@media (min-width: 641px) {
  .desktop-nowrap {
    white-space: nowrap;
  }
}

.page-case-studies .case-study-grid,
.early-page-case-studies .case-study-grid,
.interior-content > .case-study-grid,
.elementor-element-escasecards > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
  gap: 42px !important;
  max-width: 1240px !important;
  margin: 54px auto 18px !important;
  padding: 0 !important;
}

.page-case-studies .case-study-card,
.early-page-case-studies .case-study-card,
.interior-content .case-study-card,
.elementor-element-escasecards .case-study-card {
  display: flex !important;
  width: auto !important;
  min-height: 430px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(38px, 4vw, 58px) clamp(28px, 4vw, 58px) !important;
  border: 1px solid rgba(19, 182, 177, 0.3) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(35, 211, 215, 0.16), rgba(255, 255, 255, 0) 36%),
    rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 24px 68px rgba(5, 34, 54, 0.15) !important;
  text-align: center !important;
}

.page-case-studies .case-study-icon,
.early-page-case-studies .case-study-icon,
.interior-content .case-study-icon,
.elementor-element-escasecards .case-study-icon .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 36px !important;
  border-radius: 20px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%) !important;
  box-shadow: 0 18px 38px rgba(18, 174, 180, 0.28) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.page-case-studies .case-study-card h3,
.early-page-case-studies .case-study-card h3,
.interior-content .case-study-card h3,
.elementor-element-escasecards .case-study-card .elementor-heading-title {
  max-width: 520px !important;
  margin: 0 auto 22px !important;
  color: #071229 !important;
  font-size: clamp(32px, 3vw, 48px) !important;
  line-height: 1.12 !important;
}

.page-case-studies .case-study-card p,
.early-page-case-studies .case-study-card p,
.interior-content .case-study-card p,
.elementor-element-escasecards .case-study-card p {
  max-width: 560px !important;
  margin: 0 auto 38px !important;
  color: #1f2937 !important;
  font-size: clamp(19px, 1.7vw, 28px) !important;
  line-height: 1.42 !important;
}

.page-case-studies .case-study-card .details-button,
.early-page-case-studies .case-study-card .details-button,
.interior-content .case-study-card .details-button,
.elementor-element-escasecards .case-study-card .elementor-button {
  min-width: 210px !important;
  min-height: 58px !important;
  margin-top: auto !important;
  font-size: 20px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #026295 0%, #13b6b1 55%, #58cc5d 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.elementor-element-escaseintro {
  padding: 72px 6.9vw 0 !important;
}

.elementor-element-escaseintro > .elementor-container {
  max-width: 1190px !important;
}

.elementor-element-escasecards {
  padding: 44px 6.9vw 86px !important;
}

.elementor-element-escasecards .case-study-card > .elementor-widget-wrap {
  display: flex !important;
  min-height: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  align-content: center !important;
}

.elementor-element-escasecards .case-study-card .elementor-widget-button {
  margin-top: auto !important;
}

.elementor-element-escasehero {
  min-height: 430px !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  box-shadow: 0 18px 40px rgba(5, 34, 54, 0.16) !important;
}

.elementor-element-escasehero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0) 64%);
  pointer-events: none;
}

.elementor-element-escasehero .case-picture-copy {
  position: relative !important;
  z-index: 1 !important;
  max-width: 560px !important;
}

.elementor-element-escasehero .case-picture-text {
  position: relative !important;
  z-index: 1 !important;
  max-width: 650px !important;
}

@media (max-width: 760px) {
  .page-case-studies .case-study-grid,
  .early-page-case-studies .case-study-grid,
  .interior-content > .case-study-grid,
  .elementor-element-escasecards > .elementor-container {
    grid-template-columns: 1fr !important;
  }
}

.page-case-studies .case-picture-heading,
.early-page-case-studies .case-picture-heading,
.elementor-element-escasehero {
  max-width: 1320px;
  min-height: clamp(520px, 43vw, 680px) !important;
  margin-right: auto;
  margin-left: auto;
}

.page-case-studies .case-picture-heading img,
.early-page-case-studies .case-picture-heading img {
  min-height: clamp(520px, 43vw, 680px) !important;
}

.page-case-studies .case-study-grid,
.early-page-case-studies .case-study-grid,
.page-case-studies .interior-content > .case-study-grid,
.elementor-element-escasecards > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
  gap: clamp(38px, 5vw, 76px) !important;
  max-width: 1320px !important;
  margin: 72px auto 36px !important;
}

.page-case-studies .case-study-icon,
.early-page-case-studies .case-study-icon,
.elementor-element-escasecards .case-study-icon {
  display: none !important;
}

.page-case-studies .case-study-card,
.early-page-case-studies .case-study-card,
.page-case-studies .interior-content .case-study-card,
.elementor-element-escasecards .case-study-card {
  display: flex !important;
  width: auto !important;
  min-height: clamp(500px, 41vw, 620px) !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(78px, 7vw, 118px) clamp(44px, 5vw, 76px) clamp(58px, 5vw, 76px) !important;
  border: 1px solid rgba(19, 182, 177, 0.42) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 10%, rgba(35, 211, 215, 0.18), rgba(255, 255, 255, 0) 34%),
    rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 28px 76px rgba(5, 34, 54, 0.16) !important;
  text-align: center !important;
}

.page-case-studies .case-study-card h3,
.early-page-case-studies .case-study-card h3,
.page-case-studies .interior-content .case-study-card h3,
.elementor-element-escasecards .case-study-card .elementor-heading-title {
  max-width: 620px !important;
  margin: 0 auto 34px !important;
  color: #071229 !important;
  font-size: clamp(38px, 4vw, 60px) !important;
  line-height: 1.08 !important;
}

.page-case-studies .case-study-card p,
.early-page-case-studies .case-study-card p,
.page-case-studies .interior-content .case-study-card p,
.elementor-element-escasecards .case-study-card p {
  max-width: 620px !important;
  margin: 0 auto 52px !important;
  color: #1f2937 !important;
  font-size: clamp(21px, 2vw, 31px) !important;
  line-height: 1.36 !important;
}

.page-case-studies .case-study-card .details-button,
.early-page-case-studies .case-study-card .details-button,
.page-case-studies .interior-content .case-study-card .details-button,
.elementor-element-escasecards .case-study-card .elementor-button {
  min-width: 260px !important;
  min-height: 68px !important;
  margin-top: auto !important;
  font-size: 24px !important;
}

@media (max-width: 860px) {
  .page-case-studies .case-study-grid,
  .early-page-case-studies .case-study-grid,
  .page-case-studies .interior-content > .case-study-grid,
  .elementor-element-escasecards > .elementor-container {
    grid-template-columns: 1fr !important;
  }
}

.page-case-studies .case-study-grid,
.early-page-case-studies .case-study-grid,
.page-case-studies .interior-content > .case-study-grid,
.elementor-element-escasecards > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(520px, 1fr)) !important;
  gap: clamp(48px, 5vw, 72px) !important;
  max-width: 1560px !important;
  margin: 72px auto 36px !important;
  align-items: stretch !important;
}

.page-case-studies .case-study-card,
.early-page-case-studies .case-study-card,
.page-case-studies .interior-content .case-study-card,
.elementor-element-escasecards .case-study-card {
  display: flex !important;
  min-height: 520px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 86px 84px 68px !important;
  border: 1px solid rgba(19, 182, 177, 0.42) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 10%, rgba(35, 211, 215, 0.18), rgba(255, 255, 255, 0) 34%),
    rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 28px 76px rgba(5, 34, 54, 0.16) !important;
  text-align: center !important;
}

.elementor-element-escasecards .case-study-card > .elementor-widget-wrap {
  display: flex !important;
  min-height: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-case-studies .case-study-card h3,
.early-page-case-studies .case-study-card h3,
.page-case-studies .interior-content .case-study-card h3,
.elementor-element-escasecards .case-study-card .elementor-heading-title {
  max-width: 760px !important;
  margin: 0 auto 38px !important;
  color: #071229 !important;
  font-size: clamp(42px, 4.2vw, 68px) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
}

.page-case-studies .case-study-card p,
.early-page-case-studies .case-study-card p,
.page-case-studies .interior-content .case-study-card p,
.elementor-element-escasecards .case-study-card p {
  max-width: 760px !important;
  margin: 0 auto 64px !important;
  color: #1f2937 !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.35 !important;
}

.page-case-studies .case-study-card .details-button,
.early-page-case-studies .case-study-card .details-button,
.page-case-studies .interior-content .case-study-card .details-button,
.elementor-element-escasecards .case-study-card .elementor-button {
  min-width: 360px !important;
  min-height: 78px !important;
  margin-top: auto !important;
  font-size: 28px !important;
}

@media (max-width: 1100px) {
  .page-case-studies .case-study-grid,
  .early-page-case-studies .case-study-grid,
  .page-case-studies .interior-content > .case-study-grid,
  .elementor-element-escasecards > .elementor-container {
    grid-template-columns: 1fr !important;
  }

  .page-case-studies .case-study-card h3,
  .early-page-case-studies .case-study-card h3,
  .page-case-studies .interior-content .case-study-card h3,
  .elementor-element-escasecards .case-study-card .elementor-heading-title {
    white-space: normal !important;
  }
}

.page-case-studies .case-study-grid,
.early-page-case-studies .case-study-grid,
.page-case-studies .interior-content > .case-study-grid,
.elementor-element-escasecards > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
  gap: 60px !important;
  width: min(1260px, calc(100% - 48px)) !important;
  max-width: 1260px !important;
  margin: 64px auto 36px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.page-case-studies .case-study-card,
.early-page-case-studies .case-study-card,
.page-case-studies .interior-content .case-study-card,
.elementor-element-escasecards .case-study-card {
  display: flex !important;
  min-height: 440px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 68px 58px 54px !important;
  border: 1px solid rgba(19, 182, 177, 0.42) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 10%, rgba(35, 211, 215, 0.16), rgba(255, 255, 255, 0) 34%),
    rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 24px 62px rgba(5, 34, 54, 0.14) !important;
  text-align: center !important;
}

.page-case-studies .case-study-card h3,
.early-page-case-studies .case-study-card h3,
.page-case-studies .interior-content .case-study-card h3,
.elementor-element-escasecards .case-study-card .elementor-heading-title {
  order: 1 !important;
  max-width: 620px !important;
  margin: 0 auto 32px !important;
  font-size: clamp(38px, 3.2vw, 54px) !important;
  white-space: nowrap !important;
}

.page-case-studies .case-study-card p,
.early-page-case-studies .case-study-card p,
.page-case-studies .interior-content .case-study-card p,
.elementor-element-escasecards .case-study-card p {
  order: 2 !important;
  max-width: 560px !important;
  margin: 0 auto 48px !important;
  font-size: clamp(22px, 1.8vw, 28px) !important;
}

.page-case-studies .case-study-card .details-button,
.early-page-case-studies .case-study-card .details-button,
.page-case-studies .interior-content .case-study-card .details-button,
.elementor-element-escasecards .case-study-card .elementor-button {
  order: 3 !important;
  min-width: 300px !important;
  min-height: 68px !important;
  font-size: 24px !important;
}

.elementor-element-escasecards .case-study-card .elementor-widget-heading {
  order: 1 !important;
}

.elementor-element-escasecards .case-study-card .elementor-widget-text-editor {
  order: 2 !important;
}

.elementor-element-escasecards .case-study-card .elementor-widget-button {
  order: 3 !important;
  margin-top: auto !important;
}

@media (max-width: 1100px) {
  .page-case-studies .case-study-grid,
  .early-page-case-studies .case-study-grid,
  .page-case-studies .interior-content > .case-study-grid,
  .elementor-element-escasecards > .elementor-container {
    grid-template-columns: 1fr !important;
    max-width: 640px !important;
  }

  .page-case-studies .case-study-card h3,
  .early-page-case-studies .case-study-card h3,
  .page-case-studies .interior-content .case-study-card h3,
  .elementor-element-escasecards .case-study-card .elementor-heading-title {
    white-space: normal !important;
  }
}
