/* Roberts Web Studio
   Consolidated section styles. Responsive and interaction rules stay with each section.
   Rule order within each section preserves the original cascade. */

/* =========================================================
   GLOBAL
   ========================================================= */

:root {
  --navy: #061c38;
  --navy-deep: #04162d;
  --blue: #0d66ff;
  --cream: #f6f3eb;
  --ink: #071c3a;
  --muted: #516079;
  --line: #d8dce4;
  --yellow: #f0f36d;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --rws-edge: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(100% - 76px, 1180px);
  margin: 0 auto;
}

.section-dark {
  overflow: hidden;
  color: var(--white);
}

.primary-btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  background: linear-gradient(
    180deg,
    #1f76ff,
    #0b63f6
  );
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(13, 102, 255, 0.23);
  transition: transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-btn {
  min-height: 52px;
  padding: 0 24px;
  margin-bottom: 5px;
  font-size: 18px;
}

.primary-btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(13, 102, 255, 0.30);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.eyebrow.blue {
  color: #3768b7;
}

.packages .eyebrow,
.testimonials .eyebrow {
  color: #8fb0e4;
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 48px, 720px);
  }

}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 38px, 520px);
  }

  .primary-btn {
    min-height: 49px;
    padding: 0 18px;
    font-size: 16px;
  }

}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 30px);
  }

}

@media (max-width: 1100px) {
  :root {
    --rws-edge: 28px;
  }

}

@media (max-width: 640px) {
  :root {
    --rws-edge: 20px;
  }

}

@media (min-width: 901px) {
  :root {
    --rws-header-height: 86px;
    --rws-background-height: clamp(740px, 54vw, 1100px);
    --rws-top-background: radial-gradient(
        ellipse 30% 28% at 74% 20%,
        rgba(24, 100, 255, 0.44) 0%,
        rgba(15, 78, 211, 0.22) 42%,
        transparent 86%
      ),

      
      radial-gradient(
        ellipse 17% 40% at 44% 53%,
        rgba(17, 91, 236, 0.30) 0%,
        rgba(12, 66, 177, 0.15) 45%,
        transparent 86%
      ),

      
      radial-gradient(
        ellipse 16% 32% at 93% 34%,
        rgba(18, 105, 255, 0.47) 0%,
        rgba(13, 78, 205, 0.22) 42%,
        rgba(9, 45, 115, 0.05) 70%,
        transparent 90%
      ),

      
      radial-gradient(
        ellipse 30% 31% at 75% 62%,
        rgba(13, 102, 255, 0.25) 0%,
        rgba(12, 80, 218, 0.13) 45%,
        transparent 88%
      ),

      
      radial-gradient(
        ellipse 46% 23% at 77% 74%,
        rgba(13, 102, 255, 0.40) 0%,
        rgba(13, 92, 238, 0.28) 28%,
        rgba(10, 65, 177, 0.13) 58%,
        rgba(8, 40, 100, 0.04) 82%,
        transparent 100%
      ),

      
      radial-gradient(
        ellipse 38% 56% at 73% 36%,
        rgba(18, 73, 172, 0.20),
        transparent 86%
      ),

      linear-gradient(
        180deg,
        #06192e 0%,
        #061a31 60%,
        #06192f 100%
      );
  }

}

@media (min-width: 901px) and (max-width: 1300px) {
  :root {
    --rws-background-height: clamp(550px, 57vw, 740px);
  }

}

/* =========================================================
   LANDSCAPING OFFER
   ========================================================= */

/* Banner */

.rws-offer-banner[hidden] {
  display: none;
}

.rws-offer-banner {
  position: relative;
  z-index: 31;
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
}

.rws-offer-banner-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  width: 100%;
  min-height: 46px;
  padding: 11px 20px;

  border: 0;
  background: transparent;
  color: inherit;

  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;

  cursor: pointer;
}

.rws-offer-banner-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 14px;
}

.rws-offer-banner-copy strong {
  font-weight: 700;
}

.rws-offer-banner-copy > span {
  color: #eef4ff;
}

.rws-offer-banner-link {
  flex-shrink: 0;
  font-weight: 700;
}

.rws-offer-banner-link > span {
  margin-left: 5px;
}

.rws-offer-banner-button:hover .rws-offer-banner-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rws-offer-banner-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -5px;
}


/* Background scroll lock */

html.rws-offer-is-open {
  overflow: hidden;
}

html.rws-offer-is-open body {
  padding-right: var(--rws-offer-scrollbar, 0px);
}


/* Popup container */

.rws-offer-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);

  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.3);

  overflow: auto;
  overscroll-behavior: contain;
}

.rws-offer-dialog::backdrop {
  background: rgba(4, 22, 45, 0.76);
}

.rws-offer-content {
  position: relative;
  padding: 40px;
}


/* Close button */

.rws-offer-close {
  position: absolute;
  top: 14px;
  right: 14px;

  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: transparent;
  color: var(--ink);

  cursor: pointer;
}

.rws-offer-close:hover {
  background: #e9e8e2;
}


/* Heading and introduction */

.rws-offer-eyebrow {
  margin: 0 30px 15px 0;

  color: #1558c7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
}

.rws-offer-availability {
  display: inline-block;
  padding: 6px 11px;

  border: 1px solid #c4d6f5;
  border-radius: 999px;

  background: #e9effb;
  color: #154998;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.rws-offer-dialog h2 {
  margin: 20px 0 16px;

  font-family: var(--serif);
  font-size: clamp(30px, 4.8vw, 43px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.rws-offer-intro {
  margin: 0;

  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}


/* Included benefits */

.rws-offer-benefits {
  display: grid;
  gap: 12px;

  margin: 23px 0;
  padding: 0;

  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.rws-offer-benefits li {
  position: relative;
  padding-left: 25px;
}

.rws-offer-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;

  color: #1558c7;
  font-weight: 700;
}


/* Pricing explanation */

.rws-offer-quote {
  padding: 17px 19px;
  border-left: 3px solid var(--blue);
  background: var(--white);
}

.rws-offer-quote strong {
  font-size: 14px;
  line-height: 1.5;
}

.rws-offer-quote p {
  margin: 5px 0 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


/* Enquiry button and availability note */

.rws-offer-enquire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  width: 100%;
  min-height: 50px;
  margin-top: 25px;
  padding: 13px 19px;

  border: 0;
  border-radius: 7px;

  background: var(--blue);
  color: var(--white);

  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;

  cursor: pointer;
}

.rws-offer-enquire:hover {
  background: #0956dc;
}

.rws-offer-close:focus-visible,
.rws-offer-enquire:focus-visible {
  outline: 3px solid #1558c7;
  outline-offset: 4px;
}

.rws-offer-footnote {
  margin: 13px 0 0;

  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}


/* Mobile */

@media (max-width: 600px) {
  .rws-offer-banner-button {
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    font-size: 11px;
  }

  .rws-offer-banner-copy {
    flex-direction: column;
    gap: 1px;
  }

  .rws-offer-banner-link > span {
    margin-left: 2px;
  }

  .rws-offer-content {
    padding: 30px 23px 25px;
  }

  .rws-offer-eyebrow {
    font-size: 9px;
  }

  .rws-offer-intro {
    font-size: 14px;
  }

  .rws-offer-benefits {
    font-size: 13px;
  }
}

/* =========================================================
   HEADER AND NAVIGATION
   ========================================================= */

.site-header {
  position: relative;
  z-index: 30;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--rws-edge);
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 45px;
  padding: 0 20px;
}

.menu-btn {
  width: 38px;
  height: 38px;
  display: none;
  place-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-btn span {
  width: 25px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: 96px;
  right: 18px;
  z-index: 50;
  width: min(310px, calc(100vw - 36px));
  padding: 14px;
  display: grid;
  gap: 8px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.2s ease,
    transform 0.2s ease;
}

.mobile-panel.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-panel a {
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-panel a:hover {
  background: #f3f6fa;
}

@media (max-width: 1300px) {
  .desktop-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

}

@media (max-width: 800px) {
  .site-header {
    height: 76px;
  }

  .brand {
    gap: 9px;
    font-size: 20px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .mobile-panel {
    top: 86px;
  }

}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

}

@media (max-width: 360px) {
  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-icon {
    width: 27px;
    height: 27px;
  }

}

@media (min-width: 901px) {
  .site-header {
    background-color: #06192e;
    background-image: var(--rws-top-background);
    background-size: 100% var(--rws-background-height);
    background-origin: border-box;
    background-repeat: no-repeat;
    height: var(--rws-header-height);
    background-position: center top;
    border-bottom: 1px solid rgba(184, 204, 235, 0.16);
  }

}

@media (max-width: 900px) {
  .site-header {
    background: #06192e;
  }

}

/* =========================================================
   HERO AND PORTFOLIO
   ========================================================= */

.featured-label {
  left: 0;
  bottom: 0;
}

.project-type {
  font-weight: 700;
}

@media (max-width: 640px) {
  .featured-label {
    padding-top: 13px;
    padding-right: 60px;
  }

  .project-type {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .featured-label {
    letter-spacing: 0.17em;
  }

  .featured-label span {
    display: inline;
  }

}

@media (max-width: 360px) {
  .featured-label {
    left: 8px;
    right: 8px;
    bottom: 0;
    grid-template-columns: auto 1fr;
    letter-spacing: 0.12em;
  }

  .featured-label .project-type {
    white-space: nowrap;
  }

  .featured-label .project-live {
    grid-column: 1 / -1;
    width: max-content;
  }

}

.hero.rws-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 0;
  color: var(--white);
  background: radial-gradient(
      ellipse 56% 88% at 77% 36%,
      rgba(27, 103, 234, 0.38) 0%,
      rgba(15, 71, 156, 0.22) 38%,
      rgba(8, 39, 83, 0.08) 62%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 35% 45% at 51% 80%,
      rgba(12, 65, 137, 0.16),
      transparent 75%
    ),
    linear-gradient(
      180deg,
      #06172b 0%,
      #061b34 62%,
      #061a31 100%
    );
}

.rws-hero .hero-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--rws-edge) - var(--rws-edge));
  max-width: none;
  margin-inline: auto;
}

.rws-hero .hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(26px, 2.6vw, 52px);
}

.rws-hero .hero-copy {
  min-width: 0;
  max-width: none;
  padding: 0;
}

.rws-hero .eyebrow {
  margin: 0 0 14px;
  color: #8fb8f4;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.rws-hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.045em;
  white-space: nowrap;
  font-size: clamp(46px, 5.2vw, 100px);
}

.rws-hero h1 span {
  display: inline-block;
  color: var(--yellow);
  white-space: nowrap;
}

.rws-hero .hero-lead {
  max-width: 560px;
  margin: 22px 0 32px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 1.85vw, 30px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #f4f6fa;
}

.rws-hero .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.rws-hero .primary-btn {
  min-height: 56px;
  margin: 0;
  padding: 0 26px;
  border-radius: 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(180deg, #237bff, #0d63fa);
  box-shadow: 0 10px 28px rgba(13, 102, 255, 0.22);
}

.rws-hero .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.rws-hero .hero-showcase {
  position: relative;
  isolation: isolate;
  min-width: 0;
  max-width: none;
  padding: 0;
}

.rws-hero .portfolio-devices {
  position: relative;
  padding-right: clamp(46px, 4.8vw, 92px);
  transform-origin: center;
  transition: transform 0.25s ease;  
}

.rws-hero .desktop-device {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 27px 9px 9px;
  border: 1px solid rgba(179, 201, 237, 0.55);
  border-radius: 14px;
  background: linear-gradient(180deg, #354f73, #1a2c47);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(31, 109, 239, 0.1);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.rws-hero .browser-bar {
  position: absolute;
  top: 9px;
  left: 13px;
  display: flex;
  gap: 6px;
}

.rws-hero .dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rws-hero .dot-red {
  background: #ef7676;
}

.rws-hero .dot-yellow {
  background: #f5d56a;
}

.rws-hero .dot-green {
  background: #5eca89;
}

.rws-hero .screen {
  position: relative;
  overflow: hidden;
  background: #f6f3eb;
}

.rws-hero .screen-desktop {
  aspect-ratio: 1.65 / 1;
  border-radius: 5px;
}

.rws-hero .screen-desktop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.055);
  transform-origin: center top;
}

.rws-hero .phone-device {
  position: absolute;
  top: auto;
  right: 0;
  bottom: -18px;
  left: auto;
  z-index: 3;
  width: clamp(122px, 10.8vw, 208px);
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 31px;
  background: #111722;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rws-hero .phone-notch {
  position: absolute;
  z-index: 5;
  top: 3px;
  left: 50%;
  width: 42%;
  max-width: 64px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #080d14;
}

.rws-hero .screen-mobile {
  width: 100%;
  aspect-ratio: 1088 / 2048;
  border-radius: 25px;
  background: #f3f1ea;
}

.rws-hero .screen-mobile::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: #f3f1ea;
}

.rws-hero .screen-mobile img {
  position: absolute;
  top: 10px;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

.rws-hero .featured-label .project-type {
  color: #d7e4ff;
  letter-spacing: 0.12em;
}

.rws-hero .featured-label .project-type::after {
  content: " /";
}

.rws-hero .featured-label .project-name {
  color: #ffffff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.rws-hero .featured-label .project-live {
  margin-left: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rws-hero .featured-label .project-live span {
  color: inherit;
  letter-spacing: 0;
}

.rws-hero .featured-work:hover .desktop-device {
  transform: none;
}

.rws-hero .featured-work:hover .phone-device {
  transform: none;
}

.rws-hero .hero-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 28px 0;
  border-top: 1px solid rgba(174, 200, 237, 0.36);
}

.rws-hero .hero-detail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  min-height: 74px;
  padding: 9px 24px;
  border: 0;
}

.rws-hero .hero-detail + .hero-detail {
  border-left: 1px solid rgba(174, 200, 237, 0.36);
}

.rws-hero .hero-detail-number {
  padding-top: 3px;
  color: #78a9ff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}

.rws-hero .hero-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rws-hero .hero-detail-copy strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.rws-hero .hero-detail-copy > span {
  color: #edf2fb;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}

.rws-hero a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 6px;
}

@media (min-width: 901px) {
  .hero.rws-hero {
    background-color: #06192e;
    background-image: var(--rws-top-background);
    background-size: 100% var(--rws-background-height);
    background-origin: border-box;
    background-repeat: no-repeat;
    background-position: center calc(0px - var(--rws-header-height));
  }

  .rws-hero .portfolio-devices::before {
    content: none;
    display: none;
  }
}

@media (max-width: 1100px) {
  .rws-hero .hero-stage {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 24px;
  }

  .rws-hero .hero-detail {
    gap: 14px;
    padding-inline: 16px;
  }

  .rws-hero .hero-detail-copy > span {
    font-size: 13px;
  }

}

@media (max-width: 900px) {
  .hero.rws-hero {
    padding-top: 40px;
    background: #06192e;
  }

  .rws-hero .hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .rws-hero .hero-copy {
    max-width: 680px;
  }

  .rws-hero .hero-showcase {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .rws-hero .phone-device {
    width: clamp(122px, 19vw, 166px);
  }

  .rws-hero .hero-details {
    margin-top: 34px;
  }

  .rws-hero .hero-detail-copy strong {
    font-size: 19px;
  }

}

@media (max-width: 640px) {
  .hero.rws-hero {
    padding-top: 32px;
  }

  .rws-hero .hero-stage {
    gap: 36px;
  }

  .rws-hero h1 {
    line-height: 1.02;
  }

  .rws-hero .hero-lead {
    margin: 18px 0 26px;
    font-size: 21px;
  }

  .rws-hero .hero-actions {
    gap: 18px;
  }

  .rws-hero .primary-btn {
    min-height: 50px;
    padding-inline: 20px;
    font-size: 18px;
  }

  .rws-hero .text-link {
    font-size: 14px;
  }

  .rws-hero .portfolio-devices {
    padding-right: 32px;
  }

  .rws-hero .desktop-device {
    padding: 20px 5px 5px;
    border-radius: 10px;
  }

  .rws-hero .browser-bar {
    top: 6px;
    left: 10px;
    gap: 4px;
  }

  .rws-hero .dot {
    width: 6px;
    height: 6px;
  }

  .rws-hero .phone-device {
    bottom: -10px;
    width: clamp(78px, 23vw, 130px);
    padding: 4px;
    border-radius: 22px;
  }

  .rws-hero .phone-notch {
    height: 9px;
  }

  .rws-hero .screen-mobile {
    border-radius: 18px;
  }

  .rws-hero .hero-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 28px;
    padding: 12px 0 18px;
  }

  .rws-hero .hero-detail {
    justify-content: flex-start;
    gap: 18px;
    min-height: 0;
    padding: 17px 0;
  }

  .rws-hero .hero-detail + .hero-detail {
    border-left: 0;
    border-top: 1px solid rgba(174, 200, 237, 0.2);
  }

  .rws-hero .hero-detail-copy {
    gap: 5px;
  }

  .rws-hero .hero-detail-copy strong {
    font-size: 21px;
  }

  .rws-hero .hero-detail-copy > span {
    font-size: 14px;
  }

}

.rws-hero .featured-work {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--white);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .rws-hero .featured-work:hover .portfolio-devices {
    transform: translateY(-6px) scale(1.015);
  }

  .rws-hero .featured-work:hover .desktop-device {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4),
      0 0 38px rgba(28, 104, 237, 0.22);
  }

}

@media (prefers-reduced-motion: reduce) {
  .rws-hero .portfolio-devices {
    transition: none;
  }

  .rws-hero .desktop-device {
    transition: none;
  }

  .rws-hero .featured-work:hover .portfolio-devices {
    transform: none;
  }

}

@media (min-width: 901px) {
  .rws-hero .desktop-device {
    background: linear-gradient(
        180deg,
        #354f76 0%,
        #263b59 48%,
        #192b45 100%
      );
    border-color: rgba(167, 193, 232, 0.48);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14),
      0 14px 34px rgba(13, 102, 255, 0.22);
  }

}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .rws-hero .featured-work:hover .desktop-device {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22),
      0 18px 42px rgba(13, 102, 255, 0.28);
  }

}

.rws-hero .screen-desktop .portfolio-next {
  position: absolute;
  top: 0;
  left: 0;
}

.rws-hero .portfolio-next {
  pointer-events: none;
}

.rws-hero .featured-label {
  position: static;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  max-width: calc(100% - clamp(122px, 10.8vw, 208px));
  margin: 19px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  transition: opacity 0.2s ease;
}

.rws-hero .featured-label.is-changing {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rws-hero .featured-label {
    transition: none;
  }

}

@media (max-width: 640px) {
  .rws-hero .featured-label {
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
  }

  .rws-hero .featured-label .project-type {
    font-size: 10px;
    display: none;
  }

  .rws-hero .featured-label .project-name {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .rws-hero .featured-label .project-live {
    margin-left: 0;
    flex-shrink: 0;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

}

@media (max-width: 900px) {
  .rws-hero .portfolio-devices {
    position: relative;
    isolation: isolate;
  }

  .rws-hero .portfolio-devices::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    inset: -6% -3% -9% -5%;
    background: radial-gradient(
        ellipse 55% 34% at 64% 12%,
        rgba(24, 100, 255, 0.44) 0%,
        rgba(15, 78, 211, 0.22) 44%,
        transparent 90%
      ),

      
      radial-gradient(
        ellipse 28% 54% at 94% 40%,
        rgba(18, 105, 255, 0.47) 0%,
        rgba(13, 78, 205, 0.23) 44%,
        transparent 92%
      ),

      
      radial-gradient(
        ellipse 25% 46% at 10% 58%,
        rgba(17, 91, 236, 0.27) 0%,
        rgba(12, 66, 177, 0.13) 46%,
        transparent 92%
      ),

      
      radial-gradient(
        ellipse 68% 30% at 65% 87%,
        rgba(13, 102, 255, 0.40) 0%,
        rgba(13, 92, 238, 0.25) 34%,
        rgba(10, 65, 177, 0.10) 66%,
        transparent 100%
      ),

      
      radial-gradient(
        ellipse 65% 65% at 65% 48%,
        rgba(18, 73, 172, 0.18) 0%,
        transparent 88%
      );
    filter: blur(clamp(10px, 1.8vw, 16px));
    pointer-events: none;
  }

}

.rws-hero .hero-review {
  display: none;
}

@media (min-width: 641px) and (max-width: 900px) {
  .rws-hero .hero-stage {
    grid-template-columns: minmax(360px, 1.3fr) minmax(0, 0.7fr);
    gap: 38px 24px;
    align-items: start;
  }

  .rws-hero .hero-review {
    display: block;
    margin: 200px 0 0;
    padding-left: 22px;
    border-left: 1px solid rgba(143, 184, 244, 0.35);
  }

  .rws-hero .hero-review blockquote {
    margin: 0;
    color: #edf3ff;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.45;
  }

  .rws-hero .hero-review figcaption {
    margin-top: 16px;
    color: #a7bddd;
    font-size: 12px;
    line-height: 1.5;
  }

  .rws-hero .hero-showcase {
    grid-column: 1 / -1;
  }

}

@media (max-width: 648px) {
  .rws-hero .hero-review {
    display: none;
  }

  .rws-hero .hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 759px) {
  .rws-hero .hero-stage {
    column-gap: 24px;
  }

  .rws-hero .hero-review {
    padding-left: 16px;
  }

  .rws-hero .hero-review blockquote {
    font-size: 19px;
  }

}

.rws-hero .hero-review-stars {
  margin-bottom: 12px;
  color: #f2b63b;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.rws-hero .hero-lead-break {
  display: none;
}

@media (max-width: 900px) {
  .rws-hero .hero-lead {
    width: 100%;
    max-width: 360px;
  }

}

@media (min-width: 641px) and (max-width: 900px) {
  .rws-hero .hero-lead {
    font-size: 22px;
    line-height: 1.32;
  }

  .rws-hero .hero-lead-break {
    display: inline;
  }

}

@media (max-width: 900px) {
  .rws-hero h1 {
    font-size: clamp(48px, calc(34.4px + 3.4vw), 65px);
  }
}

@media (max-width: 400px) {
  .rws-hero h1 {
    white-space: normal;
  }

  .rws-hero h1 span {
    white-space: normal;
    max-width: 100%;
  }

}

@media (max-width: 778px) {
  .rws-hero .hero-details {
    display: none;
  }

  .hero.rws-hero {
    padding-bottom: 28px;
  }

}

@media (min-width: 641px) and (max-width: 1040px) {
  .rws-hero .featured-label {
    width: 100%;
    max-width: none;
    margin-top: 34px;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px;
  }

  .rws-hero .featured-label > span {
    white-space: nowrap;
  }

  .rws-hero .project-live {
    flex-shrink: 0;
  }

}

@media (min-width: 641px) and (max-width: 900px) {
  .rws-hero .featured-label {
    margin-top: 24px;
  }

}

@media (max-width: 640px) {
  .rws-hero .eyebrow {
    margin-bottom: 12px;
    letter-spacing: 0.16em;
    font-size: 12px;
  }

}

/* =========================================================
   SERVICES
   ========================================================= */

.rws-services .eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.services.rws-services {
  position: relative;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
}

.services.rws-services::before {
  content: none;
  display: none;
}

.services.rws-services::after {
  content: none;
  display: none;
}

.rws-services .services-panel {
  position: relative;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f6f3eb;
}

.rws-services .services-inner {
  width: calc(100% - var(--rws-edge) - var(--rws-edge));
  max-width: none;
  margin-inline: auto;
  padding: 42px 0 60px;
}

.rws-services .services-heading {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.rws-services h2 {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(37px, 3.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #06172f;
}

.rws-services .service-list {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 42px auto 0;
  border-top: 1px solid var(--line);
}

.rws-services .service-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 105px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.rws-services .service-row:hover {
  background: rgba(255, 255, 255, 0.45);
}

.rws-services .service-icon {
  width: 46px;
  height: 46px;
  margin: 0;
  color: var(--blue);
}

.rws-services .service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rws-services .service-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.rws-services .service-copy strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rws-services .service-copy > span {
  color: #485871;
  font-size: 16px;
  line-height: 1.5;
}

.rws-services .service-arrow {
  position: static;
  color: var(--blue);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.22s ease;
}

.rws-services a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

@media (max-width: 640px) {
  .rws-services .services-inner {
    padding: 38px 0 46px;
  }

  .rws-services h2 {
    max-width: 520px;
    margin-inline: auto;
  }

  .rws-services .service-list {
    margin-top: 32px;
  }

  .rws-services .service-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 13px;
    padding-block: 22px;
  }

  .rws-services .service-icon {
    grid-column: 1;
    grid-row: 2;
    width: 34px;
    height: 34px;
  }

  .rws-services .service-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .rws-services .service-copy strong {
    font-size: 21px;
  }

  .rws-services .service-copy > span {
    font-size: 14px;
  }

  .rws-services .service-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    font-size: 26px;
  }

}


/* =========================================================
   PACKAGES
   Heading, package rows, Website Care and responsive styles
   ========================================================= */

.packages.rws-packages {
  --pkg-white: #f5f8ff;
  --pkg-muted: #b9cbe3;
  --pkg-lime: #f0f36d;
  --pkg-line: rgba(151, 185, 232, 0.24);
  overflow: hidden;

  position: relative;
  isolation: isolate;

  padding: clamp(48px, 5vw, 84px) 0 42px;
  border-top: 1px solid rgba(80, 142, 255, 0.45);
  
  background:
    /* Concentrated upper-right light */
    radial-gradient(
      ellipse 30% 28% at 100% 3%,
      rgba(13, 102, 255, 0.38),
      transparent 82%
    ),
  
    /* Softer light drifting towards the centre */
    radial-gradient(
      ellipse 42% 22% at 78% 24%,
      rgba(17, 91, 236, 0.16),
      transparent 85%
    ),
  
    /* Blue beneath the middle package */
    radial-gradient(
      ellipse 58% 14% at 55% 49%,
      rgba(13, 102, 255, 0.15),
      transparent 88%
    ),
  
    /* Subtle light towards the lower-left */
    radial-gradient(
      ellipse 28% 26% at 8% 68%,
      rgba(17, 91, 236, 0.1),
      transparent 86%
    ),
  
    /* Gentle diagonal sheen */
    linear-gradient(
      135deg,
      transparent 32%,
      rgba(31, 111, 255, 0.035) 46%,
      transparent 58%,
      rgba(13, 102, 255, 0.045) 70%,
      transparent 84%
    ),
  
    /* Same navy family as the hero */
    linear-gradient(
      115deg,
      #06192e,
      #061a31 60%,
      #06192f
    );
  
  color: var(--pkg-white);
  font-family: var(--sans, Arial, sans-serif);
}

.rws-packages .pkg-inner {
  width: calc(
    100% - var(--rws-edge, 48px) - var(--rws-edge, 48px)
  );
  max-width: none;
  margin-inline: auto;
}

/* Heading */

.rws-packages .pkg-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 48px;

  margin-bottom: 36px;
}

.rws-packages .pkg-eyebrow {
  margin: 0 0 16px;

  color: #79adff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.19em;
}

.rws-packages .pkg-heading h2 {
  max-width: none;
  margin: 0;

  color: var(--pkg-white);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(37px, 3.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rws-packages .pkg-heading h2 span {
  color: var(--pkg-lime);
}

.rws-packages .pkg-intro {
  max-width: 470px;
  margin: 0 0 6px;
  padding: 0 0 0 32px;

  border-left: 1px solid var(--pkg-line);

  color: #e1ebfb;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

/* Package rows */

.rws-packages .pkg-list {
  border-top: 1px solid var(--pkg-line);
}

.rws-packages .pkg-row {
  display: grid;
  grid-template-columns:
    100px
    minmax(0, 1.35fr)
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: center;
  gap: clamp(20px, 2vw, 36px);

  padding: 32px 0;
  border-bottom: 1px solid var(--pkg-line);
}

.rws-packages .pkg-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid var(--pkg-line);

  color: #438fff;
}

.rws-packages .pkg-marker > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rws-packages .pkg-marker svg {
  display: block;
  flex-shrink: 0;

  width: 42px;
  height: 48px;

  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rws-packages .pkg-copy {
  min-width: 0;
}

.rws-packages .pkg-copy h3 {
  margin: 0 0 9px;

  color: var(--pkg-white);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.rws-packages .pkg-copy > p:not(.pkg-recommendation) {
  max-width: 470px;
  margin: 0;

  color: var(--pkg-muted);
  font-size: 14px;
  line-height: 1.65;
}

.rws-packages .pkg-example {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(143, 184, 244, 0.35);

  color: #8fb8f4;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.rws-packages .pkg-example:hover {
  color: #ffffff;
}

.rws-packages .pkg-features {
  display: grid;
  gap: 10px;

  min-width: 0;
  margin: 0;
  padding: 0;

  list-style: none;
}

.rws-packages .pkg-features li {
  position: relative;
  padding-left: 25px;

  color: #e7effc;
  font-size: 13px;
  line-height: 1.5;
}

.rws-packages .pkg-features li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  color: #438fff;
  font-size: 16px;
  font-weight: 700;
}

.rws-packages .pkg-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--pkg-line);
}

.rws-packages .pkg-price {
  flex-shrink: 0;
  margin: 0;
}

.rws-packages .pkg-price > span {
  display: block;
  margin-bottom: 5px;

  color: #d2e0f5;
  font-size: 12px;
  line-height: 1.4;
}

.rws-packages .pkg-price strong {
  display: block;

  color: var(--pkg-white);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(32px, 2.7vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.rws-packages .pkg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 48px;
  padding: 12px 20px;

  border: 1px solid #9fb7d7;
  border-radius: 999px;

  background: transparent;
  color: #ffffff;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.rws-packages .pkg-button > span {
  flex-shrink: 0;
}

.rws-packages .pkg-button:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Featured Business Website */

.rws-packages .pkg-row-featured {
  position: relative;
  isolation: isolate;

  margin: 8px 0;
  padding: 30px 20px;

  border: 1px solid #087cff;
  border-radius: 11px;

  background:
    radial-gradient(
      ellipse 65% 150% at 55% -35%,
      rgba(13, 102, 255, 0.22),
      transparent 82%
    ),
    rgba(5, 28, 55, 0.78);
  
  box-shadow:
    inset 0 1px 0 rgba(113, 177, 255, 0.2),
    0 0 2px rgba(13, 102, 255, 0.55),
    0 0 20px rgba(13, 102, 255, 0.12);
}

/* Blue light spilling onto the surrounding background */
.rws-packages .pkg-row-featured::before {
  content: "";
  position: absolute;
  inset: -22px -12px;
  z-index: -1;

  border-radius: 24px;

  background:
    radial-gradient(
      ellipse 65% 50% at 50% 100%,
      rgba(0, 105, 255, 0.24),
      transparent 85%
    ),
    radial-gradient(
      ellipse 65% 45% at 50% 0%,
      rgba(0, 105, 255, 0.14),
      transparent 85%
    );

  filter: blur(16px);
  pointer-events: none;
}

.rws-packages .pkg-recommendation {
  margin: 0 0 10px;

  color: var(--pkg-lime);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.rws-packages .pkg-row-featured .pkg-price strong {
  color: var(--pkg-lime);
}

.rws-packages .pkg-row-featured .pkg-button {
  border-color: #0d66ff;
  background: #0d66ff;
}

.rws-packages .pkg-row-featured .pkg-button:hover {
  border-color: #287cff;
  background: #287cff;
}

/* Website Care — stays navy */

.rws-packages .pkg-care {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;

  width: 100%;
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 28px;

  border: 1px solid var(--pkg-line);
  border-top: 2px solid #347ff0;
  border-radius: 9px;

  background: rgba(26, 52, 84, 0.6);
}

.rws-packages .pkg-care-icon {
  padding-right: 20px;
  border-right: 1px solid var(--pkg-line);

  color: #8fb8f4;
}

.rws-packages .pkg-care-icon svg {
  display: block;
  width: 44px;
  height: 44px;

  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rws-packages .pkg-care .pkg-eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}

.rws-packages .pkg-care-copy h3 {
  margin: 0 0 8px;

  color: #ffffff;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(22px, 1.6vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rws-packages .pkg-care-copy > p:last-child {
  max-width: 660px;
  margin: 0;

  color: var(--pkg-muted);
  font-size: 13px;
  line-height: 1.65;
}

.rws-packages .pkg-care-price {
  padding-left: 28px;
  border-left: 1px solid var(--pkg-line);
}

.rws-packages .pkg-care-price strong {
  color: var(--pkg-lime);
  white-space: nowrap;
}

.rws-packages .pkg-care-price small {
  font-family: var(--sans, Arial, sans-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #d2e0f5;
}

.rws-packages .pkg-care-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 9px 0;
  border-bottom: 1px solid #799bca;

  color: #e1ebfb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* Pricing information and other projects */

.rws-packages .pkg-details {
  margin-top: 18px;
  border-bottom: 1px solid var(--pkg-line);
}

.rws-packages .pkg-details summary {
  padding: 15px 0;

  color: #c8d8ef;
  font-size: 12px;
  line-height: 1.6;

  cursor: pointer;
}

.rws-packages .pkg-details-content {
  max-width: 1000px;
  padding: 0 0 14px;

  color: var(--pkg-muted);
  font-size: 13px;
  line-height: 1.75;
}

.rws-packages .pkg-details-content p {
  margin: 0 0 14px;
}

.rws-packages .pkg-other {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 24px;
  padding-top: 32px;
}

.rws-packages .pkg-other p {
  margin: 0;

  color: var(--pkg-muted);
  font-size: 12px;
  line-height: 1.8;
}

.rws-packages .pkg-other strong {
  display: block;
  margin-bottom: 3px;

  color: #ffffff;
  font-size: 13px;
}

.rws-packages .pkg-other a {
  display: block;
  width: fit-content;
  margin-top: 7px;

  color: #8fb8f4;
  font-weight: 600;
}

.rws-packages .pkg-other a:hover,
.rws-packages .pkg-care-link:hover {
  color: #ffffff;
}

/* Keyboard focus */

.rws-packages a:focus-visible,
.rws-packages summary:focus-visible {
  outline: 2px solid var(--pkg-lime);
  outline-offset: 5px;
}

/* Smaller desktop */

@media (max-width: 1300px) {
  .rws-packages .pkg-row {
    grid-template-columns:
      76px
      minmax(0, 1.25fr)
      minmax(0, 0.9fr)
      minmax(0, 0.7fr);

    gap: 24px;
  }

  .rws-packages .pkg-marker {
    gap: 10px;
    padding-right: 12px;
  }

  .rws-packages .pkg-marker svg {
    width: 32px;
    height: 40px;
  }

  .rws-packages .pkg-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    padding-left: 20px;
  }

  .rws-packages .pkg-button {
    width: 100%;
    padding-inline: 14px;
  }

  .rws-packages .pkg-care {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 20px;
  }

  .rws-packages .pkg-care-copy {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .rws-packages .pkg-care-price {
    grid-column: 3;
    grid-row: 1;
  }

  .rws-packages .pkg-care-link {
    grid-column: 3;
    grid-row: 2;

    justify-self: start;
    margin-left: 28px;
  }

  .rws-packages .pkg-care-icon {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

/* Tablet */

@media (max-width: 1000px) {
  .rws-packages .pkg-heading {
    gap: 28px;
  }

  .rws-packages .pkg-intro {
    padding-left: 22px;
    font-size: 16px;
  }

  .rws-packages .pkg-row {
    grid-template-columns: 60px minmax(0, 1fr) 190px;
    gap: 22px;
  }

  .rws-packages .pkg-marker {
    grid-column: 1;
    grid-row: 1 / 3;

    flex-direction: column;
    justify-content: center;
    gap: 12px;

    padding-right: 16px;
  }

  .rws-packages .pkg-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .rws-packages .pkg-features {
    gap: 7px;
  }

  .rws-packages .pkg-action {
    grid-column: 3;
    grid-row: 1 / 3;

    align-self: stretch;
    justify-content: center;
  }

  .rws-packages .pkg-copy h3 {
    font-size: 26px;
  }
}

/* Narrow tablet */

@media (max-width: 760px) {
  .rws-packages .pkg-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .rws-packages .pkg-intro {
    padding-left: 0;
    border-left: 0;
  }

  .rws-packages .pkg-care {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .rws-packages .pkg-care-icon {
    grid-column: 1;
    grid-row: 1;

    align-self: start;
    padding-right: 0;
    border-right: 0;
  }

  .rws-packages .pkg-care-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .rws-packages .pkg-care-price {
    grid-column: 2;
    grid-row: 2;

    padding-left: 0;
    border-left: 0;
  }

  .rws-packages .pkg-care-link {
    grid-column: 2;
    grid-row: 3;

    margin-left: 0;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .rws-packages .pkg-inner {
    width: calc(100% - 40px);
  }

  .rws-packages .pkg-heading {
    margin-bottom: 28px;
  }

  .rws-packages .pkg-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;

    padding: 28px 0;
  }

  .rws-packages .pkg-marker {
    grid-column: 1;
    grid-row: 1;

    align-self: start;
    gap: 9px;

    padding: 3px 0 0;
    border-right: 0;
  }

  .rws-packages .pkg-marker svg {
    width: 28px;
    height: 34px;
  }

  .rws-packages .pkg-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .rws-packages .pkg-copy h3 {
    font-size: 24px;
  }

  .rws-packages .pkg-action {
    grid-column: 2;
    grid-row: 3;

    align-items: flex-start;
    gap: 18px;

    padding: 0;
    border-left: 0;
  }

  .rws-packages .pkg-price strong {
    font-size: 38px;
  }

  .rws-packages .pkg-button {
    width: auto;
    max-width: 100%;
    padding-inline: 18px;
  }

  .rws-packages .pkg-row-featured {
    padding: 26px 16px;
  }

  .rws-packages .pkg-care {
    gap: 16px;
    padding: 22px 18px;
  }

  .rws-packages .pkg-care-icon svg {
    width: 36px;
    height: 36px;
  }

  .rws-packages .pkg-care-copy h3 {
    font-size: 23px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .rws-packages .pkg-button {
    transition: none;
  }
}


/* =========================================================
   PACKAGE EXPANDABLE FEATURES
   ========================================================= */

.rws-packages .pkg-inclusions {
  min-width: 0;
}

.rws-packages .pkg-more {
  margin-top: 12px;
}

.rws-packages .pkg-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;

  border: 1px solid rgba(143, 184, 244, 0.4);
  border-radius: 8px;

  background: rgba(13, 102, 255, 0.08);
  color: #b8d3ff;

  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;

  list-style: none;
  cursor: pointer;
}

.rws-packages .pkg-more > summary::-webkit-details-marker {
  display: none;
}

.rws-packages .pkg-more > summary:hover {
  border-color: #79adff;
  background: rgba(13, 102, 255, 0.16);
  color: #ffffff;
}

.rws-packages .pkg-more-symbol {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

.rws-packages .pkg-more-symbol::before {
  content: "+";
}

/* Switch the button label when expanded. */
.rws-packages .pkg-more-open,
.rws-packages .pkg-more[open] .pkg-more-closed {
  display: none;
}

.rws-packages .pkg-more[open] .pkg-more-open {
  display: inline;
}

.rws-packages .pkg-more[open] .pkg-more-symbol::before {
  content: "−";
}

.rws-packages .pkg-features-extra {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--pkg-line);
}

/* Keep features in the correct column on tablet and mobile. */
@media (max-width: 1000px) {
  .rws-packages .pkg-inclusions {
    grid-column: 2;
    grid-row: 2;
  }
}


/* =========================================================
   WEBSITE IMPROVEMENTS & CUSTOM PROJECTS
   ========================================================= */

.rws-packages .pkg-project-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  padding: clamp(24px, 2.5vw, 40px);

  border: 1px solid var(--pkg-line);
  border-radius: 12px;

  background: rgba(26, 52, 84, 0.35);
}

.rws-packages .pkg-custom-card {
  border-color: rgba(67, 143, 255, 0.5);

  background:
    radial-gradient(
      ellipse at top right,
      rgba(13, 102, 255, 0.13),
      transparent 65%
    ),
    rgba(26, 52, 84, 0.35);
}

.rws-packages .pkg-other .pkg-project-eyebrow {
  margin: 0 0 14px;

  color: #79adff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

.rws-packages .pkg-project-card h3 {
  margin: 0 0 14px;

  color: var(--pkg-white);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rws-packages .pkg-other .pkg-project-intro {
  margin: 0;

  color: var(--pkg-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Website improvement points */
.rws-packages .pkg-project-points {
  display: grid;
  gap: 16px;

  margin: 26px 0;
  padding: 0;

  list-style: none;
}

.rws-packages .pkg-project-points li {
  position: relative;
  padding-left: 26px;

  color: #e7effc;
  font-size: 15px;
  line-height: 1.65;
}

.rws-packages .pkg-project-points li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  color: #438fff;
  font-weight: 700;
}

.rws-packages .pkg-other .pkg-project-price {
  margin: 0 0 28px;

  color: var(--pkg-muted);
  font-size: 14px;
  line-height: 1.6;
}

.rws-packages .pkg-project-price > span {
  display: block;
  margin-top: 6px;

  color: var(--pkg-lime);
  font-family: var(--serif, Georgia, serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

/* Custom project examples */
.rws-packages .pkg-custom-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;

  margin: 28px 0;
  padding: 0;

  list-style: none;
}

.rws-packages .pkg-custom-examples > li {
  min-width: 0;
  padding-top: 18px;

  border-top: 1px solid var(--pkg-line);
}

.rws-packages .pkg-custom-examples h4 {
  margin: 0 0 8px;

  color: #e7effc;
  font-family: var(--sans, Arial, sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.rws-packages .pkg-other .pkg-custom-examples p {
  margin: 0;

  color: var(--pkg-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Invitation to discuss repetitive tasks */
.rws-packages .pkg-other .pkg-project-prompt {
  margin: 0 0 16px;
  padding-top: 22px;

  border-top: 1px solid var(--pkg-line);

  color: #e1ebfb;
  font-size: 16px;
  line-height: 1.75;
}

.rws-packages .pkg-other .pkg-project-note {
  margin: 0 0 24px;

  color: var(--pkg-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Contact buttons */
.rws-packages .pkg-other .pkg-project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  box-sizing: border-box;

  margin-top: auto;
  padding: 12px 18px;

  border: 1px solid #79adff;
  border-radius: 999px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.rws-packages .pkg-project-link > span {
  flex-shrink: 0;
}

.rws-packages .pkg-other .pkg-project-link:hover {
  background: rgba(13, 102, 255, 0.16);
  border-color: #ffffff;
}

/* Stack the two main cards on smaller screens */
@media (max-width: 1100px) {
  .rws-packages .pkg-other {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Stack the individual examples on mobile */
@media (max-width: 600px) {
  .rws-packages .pkg-custom-examples {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .rws-packages .pkg-project-card {
    padding: 24px 20px;
  }

  .rws-packages .pkg-other .pkg-project-link {
    width: 100%;
  }
}


/* =========================================================
   EXPANDABLE EXTRA SERVICES
   ========================================================= */

.rws-packages .pkg-additional-services {
  margin-top: 24px;
}

.rws-packages .pkg-additional-services > summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  box-sizing: border-box;

  margin-inline: auto;
  padding: 16px 24px;

  border: 1px solid rgba(121, 173, 255, 0.45);
  border-radius: 10px;

  background: rgba(13, 102, 255, 0.08);
  color: #e7effc;

  text-align: center;
  list-style: none;
  cursor: pointer;
}

.rws-packages .pkg-additional-services > summary::-webkit-details-marker {
  display: none;
}

.rws-packages .pkg-additional-services > summary:hover {
  border-color: #79adff;
  background: rgba(13, 102, 255, 0.16);
}

.rws-packages .pkg-additional-services > summary:focus-visible {
  outline: 2px solid var(--pkg-lime);
  outline-offset: 5px;
}

.rws-packages .pkg-services-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.rws-packages .pkg-services-caption {
  color: var(--pkg-muted);
  font-size: 14px;
  line-height: 1.6;
}

.rws-packages .pkg-services-label svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;

  color: #79adff;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Rotate the arrow when expanded */
.rws-packages .pkg-additional-services[open] .pkg-services-label svg {
  transform: rotate(180deg);
}

/* Change the label when expanded */
.rws-packages .pkg-services-open,
.rws-packages .pkg-additional-services[open] .pkg-services-closed {
  display: none;
}

.rws-packages .pkg-additional-services[open] .pkg-services-open {
  display: inline;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process.rws-process {
  --process-navy: var(--navy, #071a32);
  --process-cream: var(--cream, #f7f4ec);
  --process-blue: #1558c7;
  --process-muted: #53667c;
  --process-line: #cbd8ea;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  border-top: 3px solid #0d66ff;

  background: var(--process-cream);
  color: var(--process-navy);
  font-family: var(--sans, Arial, sans-serif);
}

.rws-process *,
.rws-process *::before,
.rws-process *::after {
  box-sizing: border-box;
}

.rws-process .process-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;

  width: calc(
    100% - var(--rws-edge, 48px) - var(--rws-edge, 48px)
  );
  max-width: none;
  margin-inline: auto;
  padding: clamp(48px, 5vw, 80px) 0 40px;
}

/* Heading */
.rws-process .process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 48px;

  max-width: none;
  margin: 0;
}

.rws-process .process-eyebrow {
  margin: 0 0 18px;

  color: var(--process-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.19em;
}

.rws-process h2 {
  margin: 0;

  color: var(--process-navy);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(37px, 3.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rws-process h2 span {
  color: var(--process-blue);
}

.rws-process .process-intro {
  max-width: 500px;
  margin: 0 0 2px;
  padding-left: 26px;

  border-left: 1px solid var(--process-line);

  color: var(--process-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

/* Horizontal desktop timeline */
.rws-process .process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;

  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;

  list-style: none;
}

.rws-process .process-step {
  position: relative;
  min-width: 0;
  padding: 0;
}

/* Line connecting the numbered circles */
.rws-process .process-step:not(:last-child)::before {
  content: "";

  position: absolute;
  top: 24px;
  left: 24px;
  right: -52px;

  height: 1px;
  background: #93b5e7;
}

.rws-process .process-number {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  margin-bottom: 24px;

  border: 1px solid #93b5e7;
  border-radius: 50%;

  background: var(--process-cream);
  color: var(--process-blue);

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.rws-process .process-step:last-child .process-number {
  border-color: #0d66ff;
  background: #0d66ff;
  color: #ffffff;
}

.rws-process .process-copy {
  min-width: 0;
  max-width: none;
}

.rws-process .process-copy h3 {
  min-height: 2.4em;
  margin: 0 0 14px;

  color: var(--process-navy);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rws-process .process-copy p {
  max-width: none;
  margin: 0;

  color: var(--process-muted);
  font-size: clamp(15px, 1.125vw, 18px);
  line-height: 1.8;
}

/* Personal-service note */
.rws-process .process-personal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;

  margin: 0;
  padding-top: 24px;

  border-top: 1px solid var(--process-line);

  font-size: 14px;
  line-height: 1.75;
}

.rws-process .process-personal strong {
  color: var(--process-navy);
  font-weight: 600;
}

.rws-process .process-personal span {
  color: var(--process-muted);
}

/* Smaller screens:
   heading on the left, vertical timeline on the right */
@media (max-width: 1100px) {
  .rws-process .process-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 36px;
  }

  .rws-process .process-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .rws-process .process-intro {
    max-width: none;
    padding-left: 0;
    border-left: 0;
    font-size: 16px;
  }

  .rws-process .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .rws-process .process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 22px;

    padding-bottom: 28px;
  }

  .rws-process .process-step + .process-step {
    padding-top: 28px;
  }

  .rws-process .process-step:last-child {
    padding-bottom: 0;
  }

  /* Turn the connecting line vertically */
  .rws-process .process-step:not(:last-child)::before {
    top: 24px;
    bottom: -52px;
    left: 23px;
    right: auto;

    width: 1px;
    height: auto;
  }

  .rws-process .process-step + .process-step::before {
    top: 52px;
  }

  .rws-process .process-number {
    margin: 0;
  }

  .rws-process .process-copy {
    padding-top: 7px;
  }

  .rws-process .process-step:not(:last-child) .process-copy::after {
    content: "";

    position: absolute;
    left: 70px;
    right: 0;
    bottom: 0;

    height: 1px;
    background: #d6dfe8;
  }

  .rws-process .process-copy h3 {
    min-height: 0;
    margin-bottom: 10px;
  }

  .rws-process .process-title-break {
    display: none;
  }

  .rws-process .process-personal {
    grid-column: 1 / -1;
  }
}

/* Stack the heading above the timeline */
@media (max-width: 760px) {
  .rws-process .process-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile spacing */
@media (max-width: 600px) {
  .rws-process .process-inner {
    width: calc(100% - 40px);
    padding: 44px 0 32px;
  }

  .rws-process .process-step {
    gap: 18px;
  }

  .rws-process .process-step:not(:last-child) .process-copy::after {
    left: 66px;
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(38px, 4.3vw, 52px);
  line-height: 1.04;
}

.testimonials {
  position: relative;
  background: radial-gradient(
      circle at 82% 28%,
      rgba(29, 100, 220, 0.16),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      var(--navy-deep),
      var(--navy)
    );
  color: var(--white);
}

.testimonials-inner {
  padding: 72px 0 76px;
}

.testimonials-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.testimonials-intro {
  max-width: 650px;
  margin: 20px 0 0;
  color: #cfd7e3;
  font-size: 18px;
  line-height: 1.55;
}

.testimonial-card {
  position: relative;
  max-width: 930px;
  min-height: 0;
  padding: 38px 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(7, 28, 58, 0.10);
}

.testimonial-source {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  font-size: 13px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.testimonial-stars {
  color: #f4b400;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.testimonial-mark {
  position: absolute;
  color: #0b2347;
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: 1;
  opacity: 0.22;
  pointer-events: none;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink);
}

.testimonial-person {
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d9e0ea;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-meta strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.testimonial-link:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .testimonials-inner {
    padding: 58px 0 62px;
  }

  .testimonials-heading {
    margin-bottom: 34px;
  }

  .testimonials-intro {
    font-size: 16px;
  }

  .testimonial-card {
    padding: 32px 30px 24px;
  }

  .testimonial-card blockquote {
    font-size: 22px;
  }

  .testimonial-mark {
    font-size: 92px;
  }
}

@media (max-width: 800px) {
  .testimonials h2 {
    font-size: clamp(34px, 5.5vw, 38px);
  }
}

@media (max-width: 620px) {
  .testimonials h2 {
    font-size: clamp(32px, 6.5vw, 35px);
  }
}

@media (max-width: 560px) {
  .testimonials h2 {
    font-size: clamp(30px, 7.5vw, 33px);
  }
}

@media (max-width: 430px) {
  .testimonials h2 {
    font-size: 30px;
  }
}

@media (max-width: 360px) {
  .testimonials h2 {
    font-size: 28px;
  }
}


/* Widen the existing testimonial area */
.testimonials .testimonials-inner {
  width: calc(
    100% - var(--rws-edge, 48px) - var(--rws-edge, 48px)
  );
  max-width: none;
  margin-inline: auto;
}

/* Smaller right-hand card, with matching bottom edges */
.testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
}

.testimonials .testimonial-card {
  min-width: 0;
  max-width: none;
}

.testimonials .testimonial-card blockquote {
  max-width: none;
}

/* Make the copied card smaller */
.testimonials .testimonial-card-small {
  padding: 26px;
}

.testimonials .testimonial-card-small .testimonial-person {
  flex-wrap: wrap;
  gap: 12px;
}

.testimonials .testimonial-card.testimonial-card-small .testimonial-source {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 4px 8px;
}

.testimonials .testimonial-card-small .testimonial-quote-slot {
  grid-column: 2;
  grid-row: 1;
  width: 72px;
  height: 44px;
}

.testimonials .testimonial-card-small .testimonial-reviews {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  gap: 12px 16px;
}

/* Hide the second card on smaller screens */
@media (max-width: 1200px) {
  .testimonials .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials .testimonial-card-small {
    display: none;
  }
}

@media (max-width: 600px) {
  .testimonials .testimonials-inner {
    width: calc(100% - 40px);
  }
}

.testimonials .testimonial-card:not(.testimonial-card-small) {
  max-width: 930px;
}

.testimonials .testimonial-card:not(.testimonial-card-small) blockquote {
  max-width: 760px;
}

@media (min-width: 1201px) {
  .testimonials .testimonials-grid {
    grid-template-columns:
      minmax(0, min(930px, 62%))
      minmax(0, 1fr);

    align-items: end;
    gap: 28px;
  }
}

.testimonials h2 .testimonial-heading-highlight {
  color: #f0f36d;
}

.testimonials .testimonial-card .testimonial-source {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0;
}

.testimonials .testimonial-quote-slot {
  position: relative;
  flex: 0 0 72px;
  height: 44px;
}

.testimonials .testimonial-quote-slot .testimonial-mark {
  position: absolute;
  top: -16px;
  right: 0;
}

.testimonials .testimonial-reviews {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.testimonials .testimonial-reviews > a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.testimonials .testimonial-reviews > a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .testimonials-inner {
    padding: 48px 0 52px;
  }

  .testimonials-heading {
    margin-bottom: 28px;
  }

  .testimonials-intro {
    margin-top: 16px;
    font-size: 15px;
  }

  .testimonial-card {
    padding: 26px 22px 22px;
    border-radius: 14px;
  }

  .testimonial-stars {
    font-size: 16px;
  }

  .testimonials .testimonial-card .testimonial-source {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
    gap: 4px 8px;
    margin-bottom: 20px;
  }
  
  .testimonials .testimonial-quote-slot {
    grid-column: 2;
    grid-row: 1;
    width: 32px;
    height: 24px;
  }
  
  .testimonials .testimonial-reviews {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    gap: 12px 16px;
  }

  .testimonial-card blockquote {
    font-size: 19px;
    line-height: 1.5;
  }
  
  .testimonial-mark {
    font-size: 72px;
  }

  .testimonial-person {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .testimonial-link {
    font-size: 14px;
  }
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(38px, 4.3vw, 52px);
  line-height: 1.04;
}

#contact h2 .contact-heading-highlight {
  color: #9fc4ff;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 280px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--blue);
}

.contact-cta {
  position: relative;
  background: radial-gradient(
      circle at 78% 55%,
      rgba(45, 111, 224, 0.10),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--navy) 0%,
      #102b57 100%
    );
  padding: 48px 0 44px;
  border-top: 0;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: center;
  gap: 40px;
}

.contact-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.contact-cta .contact-eyebrow {
  margin: 0 0 12px;
  color: #8fb0e4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22em;
}

.contact-cta .contact-intro {
  max-width: 720px;
  margin: 14px 0 22px;
  color: #d5ddea;
  font-size: 18px;
  line-height: 1.5;
}

.hand-note {
  position: relative;
  width: 12.5em;
  height: 9.375em;
  justify-self: end;
  font-size: 24px;
  color: rgba(155, 167, 185, 0.65);
  pointer-events: none;
}

.hand-note-plant {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 5.625em;
  height: 9.167em;
  overflow: visible;
}

.hand-note .note-text {
  position: absolute;
  left: 5.42em;
  top: 2.625em;
  display: block;
  width: 7em;
  margin: 0;
  color: rgba(245, 246, 248, 0.96);
  font-family: "Bad Script", cursive;
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.32;
  letter-spacing: -0.025em;
  text-align: left;
  transform: rotate(-6deg);
  transform-origin: left top;
}

.hand-note .note-text > span {
  display: block;
  white-space: nowrap;
}

.hand-note .note-underline {
  display: block;
  width: 3.7em;
  height: 0.625em;
  margin: 0.45em 0 0 1em;
  overflow: visible;
  fill: #e8f178;
}

.contact-copy .primary-btn {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-cta::before {
    width: 180px;
  }

  .contact-cta {
    padding: 46px 0 42px;
  }

  .contact-inner {
    display: block;
  }

  .contact-copy {
    max-width: 720px;
  }

  .hand-note {
    display: none;
  }

  .contact-cta .contact-intro {
    margin: 14px 0 22px;
    font-size: 16px;
  }

  .contact-copy .primary-btn {
    margin-top: 0;
  }

}

@media (max-width: 560px) {
  .contact-cta::before {
    width: 100px;
  }

  .contact-cta {
    padding: 42px 0 40px;
    background: radial-gradient(
        circle at 90% 48%,
        rgba(45, 111, 224, 0.12),
        transparent 36%
      ),
      linear-gradient(
        180deg,
        var(--navy) 0%,
        #102b57 100%
      );
  }

  .contact-cta .contact-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .contact-cta .contact-intro {
    margin: 14px 0 22px;
    font-size: 15px;
  }

  .contact-copy .primary-btn {
    min-height: 50px;
    padding: 0 16px;
    gap: 7px;
    font-size: 14px;
    white-space: nowrap;
  }

}

@media (max-width: 360px) {
  .contact-cta {
    padding: 38px 0 36px;
  }

  .contact-copy .primary-btn {
    min-height: 48px;
    padding: 0 13px;
    font-size: 13px;
  }

}

@media (max-width: 800px) {
  .contact-cta h2 {
    font-size: clamp(34px, 5.5vw, 38px);
  }

}

@media (max-width: 620px) {
  .contact-cta h2 {
    font-size: clamp(32px, 6.5vw, 35px);
  }

}

@media (max-width: 560px) {
  .contact-cta h2 {
    font-size: clamp(30px, 7.5vw, 33px);
  }

}

@media (max-width: 430px) {
  .contact-cta h2 {
    font-size: 30px;
  }

}

@media (max-width: 360px) {
  .contact-cta h2 {
    font-size: 28px;
  }

}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-section {
  margin-top: 36px;
  background: transparent;
}

.contact-form {
  max-width: 900px;
}

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

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #dce4ef;
  font-size: 13px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field input {
  height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 145px;
  padding: 14px 15px;
  line-height: 1.5;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8291a7;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-form-submit {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease,
    opacity 0.2s ease;
}

.contact-form-privacy {
  margin: 0;
  color: #8f9eb3;
  font-size: 12px;
  line-height: 1.45;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: #b8c7da;
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-status.is-success {
  color: #d7e7cf;
}

.contact-form-status.is-error {
  color: #ffb5b5;
}

.contact-form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

@media (max-width: 900px) {
  .contact-form-section {
    margin-top: 32px;
  }

}

@media (max-width: 560px) {
  .contact-form-section {
    margin-top: 28px;
  }

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

  .form-field {
    margin-bottom: 16px;
  }

  .form-field input {
    height: 50px;
  }

  .form-field textarea {
    min-height: 135px;
  }

  .contact-form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

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

}


/* Electric-blue contact form fields */
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  border: 1px solid rgba(77, 145, 255, 0.7);
  background-color: rgba(21, 43, 79, 0.8);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 14px rgba(13, 102, 255, 0.1);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* Slightly brighter on hover */
#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact textarea:hover {
  border-color: #4d91ff;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(13, 102, 255, 0.15);
}

/* Stronger glow when selected */
#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact textarea:focus {
  border-color: #79adff;
  background-color: #16345b;

  box-shadow:
    0 0 0 3px rgba(13, 102, 255, 0.18),
    0 0 22px rgba(13, 102, 255, 0.22);
}

/* Clear keyboard focus */
#contact input[type="text"]:focus-visible,
#contact input[type="email"]:focus-visible,
#contact textarea:focus-visible {
  outline: 2px solid #9fc4ff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  #contact input[type="text"],
  #contact input[type="email"],
  #contact textarea {
    transition: none;
  }
}


/* Divider between the call button and form */
#contact .contact-form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 8px 0 26px;
  color: #9fc4ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

#contact .contact-form-divider::before,
#contact .contact-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(121, 173, 255, 0.35);
}

#contact .contact-form-divider span {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  #contact .contact-form-divider {
    gap: 12px;
    margin-bottom: 22px;
    font-size: 13px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand {
  width: max-content;
}

.footer-inner {
  padding: 38px 0 22px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.footer-tag {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  text-align: right;
}

.footer-tag p {
  margin: 0;
  color: #8fafdc;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.20em;
}

.footer-tag > span {
  display: block;
  width: 28px;
  height: 3px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: var(--yellow);
}

.footer-utilities {
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-links,
.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-contact-links a,
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d5deeb;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease,
    transform 0.2s ease;
}

.footer-contact-links a:hover,
.footer-social-links a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.footer-link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #74a6ff;
}

.footer-review-icon {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

@media (max-width: 900px) {
  .footer-utilities {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .footer-contact-links,
  .footer-social-links {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

.hosting-footer {
  margin-top: 24px;
  min-height: 64px;
  padding: 12px 16px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.hosting-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 12px;
}

.hosting-footer strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.hosting-footer p {
  margin: 0;
  color: #91a1b8;
  font-size: 12px;
  line-height: 1.45;
}

.hosting-link {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hosting-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: #778aa5;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .footer-main {
    gap: 30px;
  }

}

@media (max-width: 560px) {
  .footer-inner {
    padding: 32px 0 22px;
  }

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

  .footer-tag {
    justify-content: flex-start;
    text-align: left;
  }

  .hosting-footer {
    margin-top: 22px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hosting-copy {
    display: block;
  }

  .hosting-footer p {
    margin-top: 4px;
  }

  .hosting-link {
    width: 100%;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 17px;
  }

}

/* =========================================================
   KEYBOARD FOCUS
   Keep shared focus rules after form defaults to preserve their priority.
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}



/* Scroll progress between process numbers */
.rws-process.process-scroll-ready .process-step:not(:last-child)::before {
  background: linear-gradient(
    to right,
    var(--process-blue) 0%,
    var(--process-blue) var(--step-progress, 0%),
    var(--process-line) var(--step-progress, 0%),
    var(--process-line) 100%
  );
}

/* Numbers waiting to be reached */
.rws-process.process-scroll-ready .process-step .process-number {
  border-color: var(--process-line);
  background: var(--process-cream);
  color: var(--process-muted);
  box-shadow: none;
}

/* Numbers already reached */
.rws-process.process-scroll-ready .process-step.is-reached .process-number {
  border-color: var(--process-blue);
  background: var(--process-blue);
  color: #fff;
}

.rws-process.process-scroll-ready .process-step.is-current .process-number {
  box-shadow: 0 0 0 6px rgb(21 88 199 / 12%);
}

/* Follow the existing vertical layout */
@media (max-width: 1100px) {
  .rws-process.process-scroll-ready .process-step:not(:last-child)::before {
    background: linear-gradient(
      to bottom,
      var(--process-blue) 0%,
      var(--process-blue) var(--step-progress, 0%),
      var(--process-line) var(--step-progress, 0%),
      var(--process-line) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .rws-process .process-number {
    transition: none;
  }
}

/* =========================================================
   FLOATING WEBSITE HELP
   ========================================================= */

/* Visibility */

.rws-chat-launcher[hidden],
.rws-chat-panel[hidden] {
  display: none;
}


/* Floating launcher */

.rws-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 91;

  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;
  color: var(--white);

  cursor: pointer;
}

.rws-chat-launcher-icon {
  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  background: var(--blue);
  box-shadow: 0 8px 28px rgba(4, 22, 45, 0.25);

  animation: rws-chat-bounce 6s ease-in-out infinite;
  transition: background 0.2s ease;
}

.rws-chat-launcher-icon svg {
  display: block;
}

.rws-chat-launcher[aria-expanded="true"] .rws-chat-launcher-icon {
  background: var(--navy);
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  .rws-chat-launcher:hover .rws-chat-launcher-icon {
    background: #0956dc;
  }
}


/* Launcher label */

.rws-chat-launcher-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;

  padding: 11px 15px;

  border: 1px solid var(--line);
  border-radius: 10px;

  background: var(--white);
  color: var(--ink);

  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;

  box-shadow: 0 5px 20px rgba(4, 22, 45, 0.1);

  transform: translateY(-50%);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.rws-chat-launcher[aria-expanded="true"] .rws-chat-launcher-label {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* Chat panel */

.rws-chat-panel {
  position: fixed;
  right: 24px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 90;

  display: flex;
  flex-direction: column;

  width: 390px;
  max-width: calc(100vw - 48px);

  height: 600px;
  max-height: calc(
    100vh - 120px - env(safe-area-inset-bottom, 0px)
  );
  max-height: calc(
    100dvh - 120px - env(safe-area-inset-bottom, 0px)
  );

  margin: 0;
  padding: 0;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);

  box-shadow: 0 18px 60px rgba(4, 22, 45, 0.22);

  overflow: hidden;
}

.rws-chat-panel:not([hidden]) {
  animation: rws-chat-panel-in 0.2s ease-out both;
}


/* Panel heading */

.rws-chat-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 20px;

  background: var(--navy);
  color: var(--white);
}

.rws-chat-brand {
  margin: 0 0 5px;

  color: #b9cbe3;
  font-size: 11px;
  line-height: 1.5;
}

.rws-chat-header h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rws-chat-subtitle {
  margin: 6px 0 0;

  color: #b9cbe3;
  font-size: 11px;
  line-height: 1.5;
}


/* Close button */

.rws-chat-close {
  display: grid;
  flex-shrink: 0;
  place-items: center;

  width: 38px;
  height: 38px;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: transparent;
  color: var(--white);

  cursor: pointer;
}

.rws-chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* Scrollable conversation */

.rws-chat-body {
  flex: 1;
  min-height: 0;
  padding: 20px;

  overflow-y: auto;
  overscroll-behavior: contain;
}

.rws-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* Message bubbles */

.rws-chat-message {
  max-width: 90%;
  padding: 12px 15px;

  border: 1px solid var(--line);
  border-radius: 14px;

  font-size: 14px;
  line-height: 1.7;

  overflow-wrap: anywhere;
}

.rws-chat-message p {
  margin: 0;
}

.rws-chat-message-author {
  display: block;
  margin-bottom: 5px;

  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.rws-chat-message--answer {
  align-self: flex-start;
  border-bottom-left-radius: 4px;

  background: var(--white);
  color: var(--ink);
}

.rws-chat-message--visitor {
  align-self: flex-end;

  border-color: var(--blue);
  border-bottom-right-radius: 4px;

  background: var(--blue);
  color: var(--white);
}

.rws-chat-message--visitor .rws-chat-message-author {
  color: var(--white);
}

.rws-chat-answer-link {
  display: inline-block;
  margin-top: 10px;

  color: #1558c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Typing indicator */

.rws-chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;

  width: fit-content;
  min-height: 44px;
  padding-inline: 17px;
}

.rws-chat-typing span {
  display: block;

  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: #687b96;

  animation: rws-chat-typing-dot 1.2s ease-in-out infinite;
}

.rws-chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.rws-chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}


/* Question composer */

.rws-chat-composer {
  flex-shrink: 0;
  min-height: 0;
  max-height: 42%;
  padding: 15px 18px 18px;

  border-top: 1px solid var(--line);

  background: var(--white);

  overflow-y: auto;
  overscroll-behavior: contain;
}

.rws-chat-prompt {
  margin: 0 0 10px;

  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.rws-chat-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rws-chat-question {
  max-width: 100%;
  min-height: 36px;
  padding: 8px 12px;

  border: 1px solid #c4d2e5;
  border-radius: 16px;

  background: #f5f8ff;
  color: var(--ink);

  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.rws-chat-question:hover:not(:disabled) {
  border-color: #1558c7;
  background: #e8efff;
}

.rws-chat-question:disabled {
  opacity: 0.55;
  cursor: wait;
}


/* Screen-reader status */

.rws-chat-status {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  border: 0;

  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}


/* Keyboard focus */

.rws-chat-launcher:focus-visible,
.rws-chat-question:focus-visible,
.rws-chat-answer-link:focus-visible {
  outline: 3px solid #1558c7;
  outline-offset: 4px;
}

.rws-chat-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.rws-chat-header h2:focus {
  outline: none;
}


/* Animations */

@keyframes rws-chat-bounce {
  0%,
  72%,
  100% {
    transform: translateY(0);
  }

  78% {
    transform: translateY(-8px);
  }

  82% {
    transform: translateY(0);
  }

  86% {
    transform: translateY(-4px);
  }

  90% {
    transform: translateY(0);
  }
}

@keyframes rws-chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rws-chat-typing-dot {
  0%,
  60%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}


/* Mobile */

@media (max-width: 600px) {
  .rws-chat-launcher {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));

    width: 54px;
    height: 54px;
  }

  .rws-chat-launcher-label {
    padding: 9px 12px;
    font-size: 12px;
  }

  .rws-chat-panel {
    right: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));

    width: calc(100vw - 32px);
    max-width: 390px;

    max-height: calc(
      100vh - 108px - env(safe-area-inset-bottom, 0px)
    );
    max-height: calc(
      100dvh - 108px - env(safe-area-inset-bottom, 0px)
    );
  }

  .rws-chat-header {
    padding: 16px;
  }

  .rws-chat-body {
    padding: 16px;
  }

  .rws-chat-composer {
    padding: 13px 14px 15px;
  }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .rws-chat-launcher-icon,
  .rws-chat-launcher-label,
  .rws-chat-panel:not([hidden]),
  .rws-chat-typing span,
  .rws-chat-question {
    animation: none;
    transition: none;
  }
}