/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  /* Fill the rest of the viewport on load: 100vh minus the fixed header above it
     (34px topbar + 74px main nav). Content is vertically centred within that. */
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* Soft colour glows behind the card row: the cards below are glass, and
       glass only reads when there is something to blur. Sized in px (not %) so
       they fade out well inside the box and never show a clipped edge. */
    radial-gradient(ellipse 420px 320px at 12% 62%, rgba(245, 126, 32, .34), transparent 70%),
    radial-gradient(ellipse 460px 340px at 52% 88%, rgba(229, 72, 77, .24), transparent 70%),
    radial-gradient(ellipse 440px 340px at 92% 55%, rgba(47, 158, 220, .30), transparent 70%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12) 0, transparent 60%),
    linear-gradient(120deg, #2c1240 0%, #171a2e 45%, #0c2f37 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .12;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%; /* .hero is now a flex container (for vertical centring) — without an
                  explicit width this flex item would shrink to its content instead
                  of filling/centring like a normal block .container would. */
  padding: 64px 0 56px;
  text-align: center;
}

.hero__title {
  margin: 0 0 14px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}
.hero__title-accent {
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tablet and desktop only: force "European Infrastructure." onto its own line
   after the accent phrase. Mobile keeps its own natural wrap (already reads
   fine without a forced break there). */
.hero__title-break { display: none; }
@media (min-width: 601px) {
  .hero__title-break { display: inline; }
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 88px;
  margin-bottom: 40px;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 340px;
  background: #fff;
  color: #1b1b1f;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 48px 26px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

/* Not-yet-launched services (cPanel Business Hosting, VPS Hosting, Domains):
   plain <div> now, not a link — hovering reveals a "Launching Soon" overlay
   instead of navigating anywhere. */
.hero-card--soon { cursor: default; }
.hero-card__soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--brand-orange);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.hero-card--soon:hover .hero-card__soon { opacity: 1; }
/* VPS card: the hover overlay carries a sentence, not a two-word tag. */
.hero-card__soon--contact { padding: 0 20px; font-size: 18px; line-height: 1.3; text-align: center; }

/* Floating pill centred on the card's top edge, half in / half out — replaces the
   earlier corner-ribbon treatment. */
.hero-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--brand-orange);
  border: 1.5px solid var(--brand-orange);
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 13px;
  text-align: center;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  white-space: nowrap;
}

.hero-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  margin-bottom: 4px;
}

/* Icon graphic itself: same masked-external-SVG technique as the cpanel-hosting
   page's .cph-feature__icon (see its comment) — painted via CSS `background-color`
   through a `mask`, so recolouring only ever means changing `color` here, not
   editing each SVG file. Each card sets its own icon file via the --hero-icon
   custom property inline on the element. */
.hero-card__icon-img {
  display: block;
  width: 34px;
  height: 34px;
  background-color: currentColor;
  -webkit-mask: var(--hero-icon) center / contain no-repeat;
  mask: var(--hero-icon) center / contain no-repeat;
}

.hero-card__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
  color: rgb(40, 39, 39);
}

.hero-card__desc {
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  color: rgb(40, 39, 39);
}

/* ===== Hero cards: glassmorphism =====
   Available now (the cPanel Hosting link) is light frosted glass: still the
   brightest thing on the page, so it stays the obvious call to action. The
   three "Launching Soon" cards are dark glass, so the glass itself reads as
   "available now" vs "coming soon". Both blur the colour glows in .hero__bg. */
.hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8));
  border-color: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(0, 0, 0, .25);
}
.hero-card--soon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04)),
    rgba(12, 14, 28, .4);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px rgba(0, 0, 0, .25);
}
.hero-card--soon .hero-card__title { color: #fff; }
.hero-card--soon .hero-card__desc { color: rgba(255, 255, 255, .86); }
.hero-card--soon:hover { border-color: rgba(255, 255, 255, .5); }
/* The "Launching Soon" overlay matches the dark glass instead of a white slab. */
.hero-card--soon .hero-card__soon {
  background: rgba(20, 22, 40, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (max-width: 600px) {
  .hero-card {
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
  }
}
/* The visitor asked for less transparency: opaque versions of the same colours. */
@media (prefers-reduced-transparency: reduce) {
  .hero-card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-card--soon { background: #1a1c30; }
}

/* "Powered by" partner logo strip — stretches to the same width as .hero__cards
   above it (both are full-width children of .hero__inner). */
.hero__strip {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 28px;
}

/* Fixed "window" that only ever shows 4 logo slots; the track inside slides past it.
   js/main.js sets --logo-slot = this element's width ÷ 4 on load/resize. */
.hero__logos-viewport {
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.hero__logos-viewport.is-dragging { cursor: grabbing; }

.hero__logos {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  will-change: transform;
}
.hero__logos li {
  flex: 0 0 auto;
  width: var(--logo-slot, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logos img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 85%;
  opacity: .75;
  filter: brightness(0) invert(1); /* normalise all partner logos to solid white */
  transition: opacity .15s;
  -webkit-user-drag: none;
  pointer-events: none; /* clicks/drags go to the viewport, not individual images */
}

@media (max-width: 600px) {
  .hero__inner { padding: 48px 16px 40px; } /* 16px side gutter (the shorthand had zeroed it, so cards touched the screen edge) */
  .hero__cards { grid-template-columns: 1fr; margin-top: 48px; } /* was 88px — tighter gap under the title */
}

/* Tablet only: same zeroed side padding as above hits this width band too —
   the 4-card row runs edge to edge. Restore the standard gutter. */
@media (min-width: 601px) and (max-width: 1210px) {
  .hero__inner { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* Tablet only: auto-fit's 230px minimum is wider than a quarter of this band's
   available width, so the 4th card drops to its own row. Force one row of 4
   and shrink the card padding/type to fit it. */
@media (min-width: 601px) and (max-width: 1210px) {
  .hero__cards { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-card { min-height: 0; padding: 24px 14px; gap: 10px; }
  .hero-card__icon-img { width: 26px; height: 26px; }
  .hero-card__title { font-size: 16px; line-height: 20px; }
  .hero-card__desc { font-size: 12px; line-height: 17px; }
  .hero-card__badge { font-size: 10px; padding: 5px 10px; }
}

/* ===== Hero: Server & DevOps banner =====
   One full-width card under the four product cards, in .hero__inner right
   after the .hero__cards grid (so it has the cards row's exact width). The
   grid's 40px bottom margin is pulled back by 18px so the gap to the cards is
   the same 22px as the gap between the cards. Same dark glass, border, radius
   and hover as .hero-card--soon, copied here rather than reusing .hero-card,
   because the tablet rules above shrink .hero-card's padding and type for
   four-up. */
.hero-banner {
  position: relative;
  margin-top: -18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04)),
    rgba(12, 14, 28, .4);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hero-banner:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px rgba(0, 0, 0, .35);
}
.hero-banner__main { display: flex; align-items: center; gap: 24px; text-align: left; }
.hero-banner__icon { flex-shrink: 0; display: flex; color: var(--brand-orange); }
.hero-banner__title {
  margin: 0 0 8px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}
.hero-banner__desc {
  margin: 0;
  max-width: 640px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  line-height: 23px;
  color: rgba(255, 255, 255, .86);
}
.hero-banner__btn { flex-shrink: 0; width: auto; white-space: nowrap; }
.hero-banner__btn span { margin-left: 8px; } /* .btn is inline-flex, which drops the space before the arrow */
.hero-banner:hover .hero-banner__btn { background: var(--brand-orange); color: #fff; }
@media (max-width: 900px) {
  .hero-banner { flex-direction: column; text-align: center; padding: 40px 24px 28px; gap: 22px; }
  .hero-banner__main { flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 600px) {
  .hero-banner { -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-banner { background: #1a1c30; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ===== "What Makes Us Different" ===== */
.features {
  background: #f7f7f9;
  padding: 88px 0;
}

.features__title {
  margin: 0 0 20px;
  text-align: center;
  font-family: "Cairo", "Cairo Fallback", var(--font-body);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(40, 39, 39);
}

.features__underline {
  width: 150px;
  height: 4px;
  margin: 0 auto 64px;
  border-radius: 0;
  background: var(--brand-orange);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 56px;
}

.feature__icon {
  display: inline-flex;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

/* Same masked-external-SVG technique as .hero-card__icon-img (see its comment) —
   background-color painted through a mask, so each card's icon file is just an
   asset swap via the --why-icon custom property, no colour baked into the file. */
.feature__icon-img {
  display: block;
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: var(--why-icon) center / contain no-repeat;
  mask: var(--why-icon) center / contain no-repeat;
}

.feature__title {
  margin: 0 0 10px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: rgb(40, 39, 39);
}
.feature__title-accent {
  display: block;
  font-weight: 900;
}

.feature__desc {
  margin: 0;
  max-width: 320px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(122, 122, 122);
}

.features__reviews {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 76px;
  padding-bottom: 12px;
}
.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px; /* same rounded-corner as .plan-card .btn--outline */
  background: #fff;
  border: 1px solid #e3e3e8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(76, 73, 96);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .09);
  border-color: #d4d4db;
}
.review-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.review-btn__arrow {
  color: var(--brand-orange);
  font-weight: 700;
  transition: transform .15s;
}
.review-btn:hover .review-btn__arrow { transform: translateX(3px); }

@media (max-width: 860px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .feature__desc { max-width: none; }
  .features__grid { text-align: center; }
  .feature__icon { display: flex; justify-content: center; }
  .features__reviews { flex-direction: column; align-items: stretch; }
  .review-btn { justify-content: center; }
}


/* ===== Plans ===== */
.plans-locations {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f7 35%, #e2e2e8 100%);
}

.plans {
  padding: 88px 0 48px;
}

.plans__inner {
  text-align: center;
}

.plans__title {
  margin: 0 0 10px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: clamp(22px, 3vw, 33px);
  font-weight: 600;
  line-height: 1;
  color: rgb(40, 39, 39);
}
.plans__title strong { font-weight: 900; }
.plans__title-accent { font-weight: 600; }

.plans__subtitle {
  margin: 18px 0 32px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 14px;
  color: rgb(122, 122, 122);
}

.plans__note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 56px;
  padding: 18px 30px;
  border: 1px solid #e3e3e8;
  border-radius: 14px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: rgb(122, 122, 122);
  background: #fff;
}

/* A single bright bar of light travels continuously around the card's border,
   instead of the whole border blinking/pulsing on and off. This is drawn as an SVG
   rect stroke (not a conic-gradient) specifically because conic-gradient's angle is
   measured from the box's *center* — on a wide, short pill like this one, equal
   angle steps cover very uneven physical distances near the corners, which made the
   comet visually stretch/tear into two pieces as it crossed them. An SVG stroke
   with pathLength="200" walks the *actual* rounded-rect perimeter at constant
   speed, so the bar stays one continuous piece all the way around, on any box size. */


.plans__note-icon { display: flex; color: var(--brand-orange); flex-shrink: 0; }
.plans__note-icon svg { width: 34px; height: 34px; }

.plans__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 26px;
  text-align: left;
}

.plan-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 40px 30px 46px;
  border: 1px solid #c9c9d2;
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.plan-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}

/* A diagonal corner ribbon (not a centered banner) — sits across the top-right
   corner at 45deg, overhanging both edges slightly so the card's own
   `overflow: hidden` clips it flush with the rounded corner, the classic
   "Sale"/"Most Popular" ribbon treatment. */
.plan-card__badge {
  position: absolute;
  top: 22px;
  right: -38px;
  width: 150px;
  padding: 6px 0;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: rgb(255, 255, 255);
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}

.plan-card__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  background-color: var(--brand-orange);
  mask: var(--plan-icon) center / contain no-repeat;
  -webkit-mask: var(--plan-icon) center / contain no-repeat;
}

.plan-card__title {
  margin: 0 0 10px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
  color: rgb(40, 39, 39);
}

.plan-card__desc {
  margin: 0 0 26px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 23px;
  color: rgb(153, 153, 153);
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.plan-card__features li {
  position: relative;
  padding-left: 24px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 23px;
  color: rgb(153, 153, 153);
}
.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(245, 126, 32, .12);
}
.plan-card__features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--brand-orange);
  border-bottom: 1.6px solid var(--brand-orange);
  transform: rotate(-45deg);
}

.plan-card__price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  margin: 16px 0 26px;
}
.plan-card__price-label {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 14px;
  letter-spacing: .08em;
  color: rgb(122, 122, 122);
}
.plan-card__price-value {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: var(--brand-orange);
}
.plan-card__price-period {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: rgb(136, 136, 136);
  margin-left: 2px;
}
.plan-card__price--soon {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgb(122, 122, 122);
}
/* "billed as LKR X/year" line — the annual-equivalent total that backs the
   per-month figure above it. Populated by renderPrices() via [data-billed].
   The cPanel Business Hosting card carries an EMPTY copy of this element
   (aria-hidden, no [data-billed]) purely as a spacer, so its description /
   features / button line up row-for-row with the cPanel Hosting card's —
   hence the min-height, which reserves the line whether or not it has text. */
.plan-card__billed {
  min-height: 14px;
  margin: -18px 0 24px; /* -18 pulls it up close under .plan-card__price's 26px bottom */
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 14px;
  color: rgb(122, 122, 122);
}

.plan-card .btn--outline {
  width: auto;
  align-self: center;
  padding: 12px 32px;
  margin-top: auto;
  border-radius: 8px; /* rounded-corner button (overrides the base .btn pill) */
}


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

@media (max-width: 560px) {
  .plans { padding: 64px 0 36px; }
}


/* ===== Locations ===== */
.locations {
  padding: 48px 0 88px;
  text-align: center;
}

.locations__map {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.locations__map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Pin coordinates are hand-placed to sit over London, UK on this specific map image. */
.locations__pin {
  position: absolute;
  left: 46.5%;
  top: 37%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
}
.locations__pin-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 5px rgba(245, 126, 32, .18);
}
.locations__pin-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-orange);
  animation: locations-pulse 2s ease-out infinite;
}
@keyframes locations-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .locations__pin-pulse { animation: none; opacity: 0; }
}



/* Hover/focus card: hidden by default, revealed when the pin is hovered or
   focused (keyboard users can tab to it, since .locations__pin has tabindex="0"). */
.locations__pin { display: block; cursor: pointer; }
.locations__pin:focus { outline: none; }
.locations__pin:focus .locations__pin-dot { box-shadow: 0 0 0 5px rgba(245, 126, 32, .32); }

.locations__card {
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  width: 260px;
  text-align: left;
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 5;
}
.locations__pin:hover .locations__card,
.locations__pin:focus .locations__card,
.locations__pin:focus-within .locations__card {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.locations__card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  color: rgb(40, 39, 39);
}
.locations__card-flag {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
}
.locations__card p {
  margin: 0 0 10px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(40, 39, 39);
}
.locations__card p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .locations__card {
    left: 50%;
    top: calc(100% + 16px);
    transform: translateX(-50%) translateY(-6px);
    width: min(280px, 80vw);
  }
  .locations__pin:hover .locations__card,
  .locations__pin:focus .locations__card,
  .locations__pin:focus-within .locations__card {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 560px) {
  .locations { padding: 36px 0 64px; }
}


/* ===== Cloud infrastructure ===== */
.cloud {
  padding: 88px 0;
  /* Airy "sky" wash instead of the reference's stock cloud photo — same reasoning as
     the Secret Sauce section: no stock image sourced without known licensing. */
  background: linear-gradient(180deg, #ffffff 0%, #eef3f8 55%, #e7eef6 100%);
}

/* Sizing/proportions here are deliberate: a large, light-weight
   heading over a wide underline, then roomy cards with big icons and titles.
   Deliberately larger than the site's other card sections — don't normalise. */
.cloud__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1;
  color: rgb(40, 39, 39);
}

.cloud__underline {
  width: 150px;
  height: 4px;
  margin: 18px 0 46px;
  border-radius: 0;
  background: var(--brand-orange);
}

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

.cloud-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 32px;
  border: 1px solid rgba(245, 126, 32, .38);
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cloud-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 16px 34px rgba(50, 61, 65, .1);
  transform: translateY(-3px);
}

.cloud-card__icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand-orange);
}
/* Same masked-external-SVG technique as .hero-card__icon-img (see its comment). */
.cloud-card__icon-img {
  display: block;
  width: 32px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask: var(--cloud-icon) center / contain no-repeat;
  mask: var(--cloud-icon) center / contain no-repeat;
}

.cloud-card__title {
  margin: 0 0 16px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgb(40, 39, 39);
}
.cloud-card__title strong { font-weight: 900; }

.cloud-card__desc {
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(122, 122, 122);
}

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

@media (max-width: 560px) {
  .cloud { padding: 64px 0; }
  .cloud-card { padding: 24px 22px; gap: 16px; }
  .cloud-card__title { font-size: 18px; }
  .cloud-card__icon-img { width: 28px; height: 28px; }
  .cloud__underline { width: 140px; margin: 18px auto 46px; }
  /* Centre the section: heading, underline, and each card's icon stacked above its text. */
  .cloud { text-align: center; }
  .cloud-card { flex-direction: column; align-items: center; }
}
