/* ================================
   DelosWeb Custom Websites Page
================================ */

.dw-custom-page {
  --dw-navy: #000038;
  --dw-blue: #2d80b7;
  --dw-soft: #f7fbff;
  --dw-text: rgba(0, 0, 56, 0.72);
}

.dw-custom-section {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.dw-custom-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dw-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.dw-custom-subtitle::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--dw-blue);
  border-radius: 20px;
}

.dw-custom-title {
  color: var(--dw-navy);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.dw-custom-text {
  color: var(--dw-text);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.dw-custom-text strong {
  color: var(--dw-navy);
  font-weight: 700;
}

.dw-custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 100px;
  color: #fff;
  background: var(--dw-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  transition: all 300ms ease;
}

.dw-custom-btn:hover {
  color: #fff;
  background: var(--dw-navy);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 56, 0.18);
}

/* HERO */

.dw-custom-hero {
  background:
    radial-gradient(circle at 84% 12%, rgba(45, 128, 183, 0.16) 0%, rgba(45, 128, 183, 0) 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.dw-custom-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.dw-custom-hero .dw-custom-title {
  font-size: 42px;
}

.dw-custom-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.dw-custom-hero-note {
  max-width: 260px;
  color: rgba(0, 0, 56, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

.dw-custom-hero-note strong {
  display: block;
  color: var(--dw-navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.dw-custom-hero-visual {
  position: relative;
}

.dw-custom-main-image {
  position: relative;
  z-index: 2;
  border-radius: 34px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 56, 0.16);
  border: 1px solid rgba(0, 0, 56, 0.08);
}

.dw-custom-main-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.dw-custom-stamp-image {
  position: absolute;
  z-index: 4;
  left: -36px;
  bottom: 34px;
  width: 210px;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 56, 0.22);
  transform: rotate(-6deg);
}

.dw-custom-stamp-image img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.dw-custom-stamp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 100px;
  color: #fff;
  background: var(--dw-blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.dw-custom-floating-info {
  position: absolute;
  z-index: 5;
  right: -26px;
  top: 46px;
  width: 250px;
  padding: 24px;
  border-radius: 24px;
  background: var(--dw-navy);
  box-shadow: 0 20px 55px rgba(0, 0, 56, 0.24);
  animation: dwCustomFloat 4.5s ease-in-out infinite;
}

.dw-custom-floating-info span {
  display: block;
  color: var(--dw-blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 10px;
}

.dw-custom-floating-info h4 {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
}

.dw-custom-floating-info p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

@keyframes dwCustomFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* IMAGE + CARDS */

.dw-custom-split {
  background: #fff;
}

.dw-custom-split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 65px;
  align-items: center;
}

.dw-custom-image-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 56, 0.14);
}

.dw-custom-image-card img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
}

.dw-custom-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 56, 0) 45%, rgba(0, 0, 56, 0.74) 100%);
}

.dw-custom-image-caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 2;
}

.dw-custom-image-caption span {
  display: inline-flex;
  color: #fff;
  background: var(--dw-blue);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

.dw-custom-image-caption h3 {
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0;
}

.dw-custom-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.dw-custom-info-card {
  padding: 30px;
  border-radius: 24px;
  background: var(--dw-soft);
  border: 1px solid rgba(0, 0, 56, 0.08);
  transition: all 300ms ease;
}

.dw-custom-info-card:hover {
  background: #fff;
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(0, 0, 56, 0.11);
}

.dw-custom-info-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--dw-blue);
  background: rgba(45, 128, 183, 0.12);
  font-size: 22px;
  margin-bottom: 20px;
}

.dw-custom-info-card h4 {
  color: var(--dw-navy);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 10px;
}

.dw-custom-info-card p {
  color: rgba(0, 0, 56, 0.68);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* MAKES SENSE */

.dw-custom-sense {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.dw-custom-center {
  max-width: 840px;
  margin: 0 auto 56px;
  text-align: center;
}

.dw-custom-center .dw-custom-subtitle {
  justify-content: center;
}

.dw-custom-center .dw-custom-subtitle::before {
  display: none;
}

.dw-custom-sense-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.dw-custom-sense-card {
  min-height: 250px;
  padding: 30px 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 56, 0.08);
  box-shadow: 0 14px 45px rgba(0, 0, 56, 0.06);
  transition: all 300ms ease;
}

.dw-custom-sense-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0, 0, 56, 0.12);
}

.dw-custom-sense-card span {
  display: block;
  color: rgba(45, 128, 183, 0.2);
  font-size: 50px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
}

.dw-custom-sense-card h4 {
  color: var(--dw-navy);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}

.dw-custom-sense-card p {
  color: rgba(0, 0, 56, 0.66);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* DARK TRUST SECTION */

.dw-custom-dark {
  background:
    radial-gradient(circle at 18% 18%, rgba(45, 128, 183, 0.18) 0%, rgba(45, 128, 183, 0) 36%),
    linear-gradient(135deg, #000038 0%, #031b66 100%);
}

.dw-custom-dark-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.dw-custom-dark .dw-custom-subtitle,
.dw-custom-dark .dw-custom-title {
  color: #fff;
}

.dw-custom-dark .dw-custom-subtitle::before {
  background: #fff;
}

.dw-custom-dark .dw-custom-text {
  color: rgba(255, 255, 255, 0.75);
}

.dw-custom-dark-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.dw-custom-dark-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.dw-custom-decision-list {
  display: grid;
  gap: 18px;
}

.dw-custom-decision-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 300ms ease;
}

.dw-custom-decision-item:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(7px);
}

.dw-custom-decision-number {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff;
  background: var(--dw-blue);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.dw-custom-decision-item h4 {
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 6px;
}

.dw-custom-decision-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* READY VS CUSTOM */

.dw-custom-compare {
  background: #fff;
}

.dw-custom-compare-box {
  border-radius: 34px;
  background: var(--dw-soft);
  border: 1px solid rgba(0, 0, 56, 0.08);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 56, 0.08);
}

.dw-custom-compare-head,
.dw-custom-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dw-custom-compare-head div {
  padding: 30px 34px;
  color: #fff;
  background: var(--dw-navy);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
}

.dw-custom-compare-head div:last-child {
  background: var(--dw-blue);
}

.dw-custom-compare-cell {
  padding: 26px 34px;
  color: rgba(0, 0, 56, 0.72);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 56, 0.08);
}

.dw-custom-compare-row:last-child .dw-custom-compare-cell {
  border-bottom: 0;
}

.dw-custom-compare-cell:last-child {
  background: var(--dw-soft);
}

.dw-custom-compare-cell strong {
  display: block;
  color: var(--dw-navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* INCLUDE + FAQ */

.dw-custom-include {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.dw-custom-include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dw-custom-include-card {
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 56, 0.08);
  box-shadow: 0 14px 45px rgba(0, 0, 56, 0.06);
  transition: all 300ms ease;
}

.dw-custom-include-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(0, 0, 56, 0.12);
}

.dw-custom-include-card i {
  color: var(--dw-blue);
  font-size: 22px;
  margin-bottom: 18px;
}

.dw-custom-include-card h4 {
  color: var(--dw-navy);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 10px;
}

.dw-custom-include-card p {
  color: rgba(0, 0, 56, 0.66);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.dw-custom-faq {
  background: #fff;
  padding-bottom: 115px;
}

.dw-custom-faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.dw-custom-faq-panel {
  position: sticky;
  top: 120px;
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(45, 128, 183, 0.2) 0%, rgba(45, 128, 183, 0) 34%),
    var(--dw-navy);
}

.dw-custom-faq-panel h3 {
  color: #fff;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}

.dw-custom-faq-panel p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.dw-custom-faq-list {
  display: grid;
  gap: 16px;
}

.dw-custom-faq-item {
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--dw-soft);
  border: 1px solid rgba(0, 0, 56, 0.08);
}

.dw-custom-faq-item h4 {
  color: var(--dw-navy);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 10px;
}

.dw-custom-faq-item p {
  color: rgba(0, 0, 56, 0.68);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .dw-custom-title {
    font-size: 44px;
  }

  .dw-custom-hero .dw-custom-title {
    font-size: 42px;
  }

  .dw-custom-sense-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dw-custom-include-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .dw-custom-section {
    padding: 85px 0;
  }

  .dw-custom-hero-grid,
  .dw-custom-split-grid,
  .dw-custom-dark-grid,
  .dw-custom-faq-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .dw-custom-floating-info {
    right: 24px;
  }

  .dw-custom-stamp-image {
    left: 24px;
  }

  .dw-custom-faq-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .dw-custom-section {
    padding: 70px 0;
  }

  .dw-custom-title,
  .dw-custom-hero .dw-custom-title {
    font-size: 34px;
    letter-spacing: -.5px;
  }

  .dw-custom-text {
    font-size: 16px;
  }

  .dw-custom-btn {
    width: 100%;
  }

  .dw-custom-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .dw-custom-floating-info,
  .dw-custom-stamp-image {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
    transform: none;
  }

  .dw-custom-card-grid,
  .dw-custom-sense-grid,
  .dw-custom-include-grid {
    grid-template-columns: 1fr;
  }

  .dw-custom-image-card img,
  .dw-custom-dark-image img {
    min-height: 360px;
  }

  .dw-custom-compare-head,
  .dw-custom-compare-row {
    grid-template-columns: 1fr;
  }

  .dw-custom-faq-panel {
    padding: 32px 24px;
  }

  .dw-custom-faq-panel h3 {
    font-size: 30px;
  }
}

/* ================================
   Ready-to-Go VS Custom Upgraded
================================ */

.dw-custom-compare-upgraded {
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 128, 183, 0.10) 0%, rgba(45, 128, 183, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.dw-custom-before-after-wrap {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: stretch;
}

.dw-custom-before-after-visual {
  position: relative;
  min-height: 650px;
}

.dw-custom-ba-card {
  position: absolute;
  width: 78%;
  border-radius: 30px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 28px 75px rgba(0, 0, 56, 0.14);
  border: 1px solid rgba(0, 0, 56, 0.08);
  overflow: hidden;
  transition: all 350ms ease;
}

.dw-custom-ba-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 35px 90px rgba(0, 0, 56, 0.2);
}

.dw-custom-ba-before {
  left: 0;
  top: 0;
  z-index: 2;
  transform: rotate(-4deg);
}

.dw-custom-ba-after {
  right: 0;
  bottom: 0;
  z-index: 3;
  transform: rotate(4deg);
}

.dw-custom-ba-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.dw-custom-ba-label {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 3;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 100px;
  color: #ffffff;
  background: #000038;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  box-shadow: 0 10px 25px rgba(0, 0, 56, 0.18);
}

.dw-custom-ba-after .dw-custom-ba-label {
  background: #2d80b7;
}

.dw-custom-ba-content {
  padding: 22px 18px 14px;
}

.dw-custom-ba-content h3 {
  color: #000038;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
}

.dw-custom-ba-content p {
  color: rgba(0, 0, 56, 0.68);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.dw-custom-ba-divider {
  position: absolute;
  z-index: 5;
  left: 75%;
  top: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 7px solid #f7fbff;
  box-shadow: 0 20px 55px rgba(0, 0, 56, 0.18);
}

.dw-custom-ba-divider span {
  width: 83px;
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #000038 0%, #2d80b7 100%);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .8px;
}

.dw-custom-compare-box-upgraded {
  height: 100%;
  align-self: stretch;
}

/* responsive */
@media (max-width: 991px) {
  .dw-custom-before-after-wrap {
    grid-template-columns: 1fr;
  }

  .dw-custom-before-after-visual {
    min-height: 620px;
  }
}

@media (max-width: 767px) {
  .dw-custom-before-after-visual {
    min-height: auto;
    display: grid;
    gap: 22px;
  }

  .dw-custom-ba-card {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .dw-custom-ba-card img {
    height: 250px;
  }

  .dw-custom-ba-divider {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -4px auto;
  }
}

/* Fix footer CTA button click */
.dw-footer-contact-cta {
  position: relative;
  z-index: 5;
}

.dw-footer-contact-cta-actions {
  position: relative;
  z-index: 10;
}

.dw-footer-contact-btn {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

/* Prevent decorative footer character from blocking clicks */
.dw-contact-footer-toon,
.ks-cta-shape-2.dw-contact-footer-toon,
.ks-cta-shape-2.dw-contact-footer-toon img {
  pointer-events: none;
}