:root {
  --bg: #0b1020;
  --bg-soft: #121a31;
  --card: #121933;
  --text: #e8ecff;
  --muted: #a9b3d9;
  --primary: #000E9C;
  --line: #22305f;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 10% 0%, #1a2b59 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.5;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  background: #000E9C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  width: min(1777px, 100%);
  padding-left: 50px;
  padding-right: 50px;
}

.topbar-wrap {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.topbar-wrap p {
  margin: 0;
  color: #c7d4ff;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-links a {
  color: #dce5ff;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #e4ebff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-sep {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #b7c6ff;
}

.site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: none;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

#site-header .site-header {
  display: block !important;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #000000;
}

.desktop-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

#site-header .desktop-nav,
#site-header .actions,
#site-header .nav-wrap {
  visibility: visible;
  opacity: 1;
}

.desktop-nav a {
  color: #000E9C;
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.desktop-nav a.active {
  color: #000E9C;
  border-bottom-color: var(--primary);
}

.actions {
  display: flex;
  gap: 0.8rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #ffffff;
}

.btn-ghost:hover {
  background: #f8fafc;
}

.btn-block {
  width: 100%;
}

.home-carousel {
  background: #ffffff;
}

.home-carousel.section {
  padding: 0;
}

.home-carousel .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(1, 6, 18, 0.45);
}

.carousel-track {
  position: relative;
  min-height: 520px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2.8rem;
  background-image: linear-gradient(180deg, rgba(2, 8, 22, 0.14) 0%, rgba(2, 8, 22, 0.72) 100%), linear-gradient(125deg, #0f1d42 0%, #1b3f86 48%, #2973ec 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.75s ease, transform 0.75s ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

/* O slide tenta carregar em /assets/banners e /banner para funcionar em diferentes estruturas de deploy. */
.banner-hosting {
  background-image:
    linear-gradient(180deg, rgba(2, 8, 22, 0.14) 0%, rgba(2, 8, 22, 0.72) 100%),
    url("/assets/banners/banner-hosting.jpg"),
    url("banners/banner-hosting.jpg"),
    url("/banner/banner-hosting.jpg"),
    linear-gradient(125deg, #0f1d42 0%, #1b3f86 48%, #2973ec 100%);
}

.banner-email {
  background-image:
    linear-gradient(180deg, rgba(2, 8, 22, 0.14) 0%, rgba(2, 8, 22, 0.72) 100%),
    url("/assets/banners/banner-email.jpg"),
    url("banners/banner-email.jpg"),
    url("/banner/banner-email.jpg"),
    linear-gradient(125deg, #1e2b52 0%, #25507e 44%, #2ea7a0 100%);
}

.banner-domain {
  background-image:
    linear-gradient(180deg, rgba(2, 8, 22, 0.14) 0%, rgba(2, 8, 22, 0.72) 100%),
    url("/assets/banners/banner-domain.jpg"),
    url("banners/banner-domain.jpg"),
    url("/banner/banner-domain.jpg"),
    linear-gradient(125deg, #281f4e 0%, #2d4f96 44%, #4f7bff 100%);
}

.banner-cloud {
  background-image:
    linear-gradient(180deg, rgba(2, 8, 22, 0.14) 0%, rgba(2, 8, 22, 0.72) 100%),
    url("/assets/banners/banner-cloud.jpg"),
    url("banners/banner-cloud.jpg"),
    url("/banner/banner-cloud.jpg"),
    linear-gradient(125deg, #102438 0%, #205476 46%, #398fc6 100%);
}

.carousel-content {
  position: relative;
  max-width: 720px;
  margin-bottom: 4.75rem;
}

.carousel-kicker {
  display: inline-block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #deebff;
}

.carousel-slide h2 {
  margin: 0.55rem 0 0.7rem;
  color: #ffffff;
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.carousel-slide p {
  margin: 0;
  max-width: 58ch;
  font-size: 1.06rem;
  color: #e2eaff;
}

.carousel-slide .btn {
  margin-top: 1.3rem;
}

.carousel-slide .btn-primary {
  background: #ffffff;
  color: #000E9C;
  border-color: #ffffff;
}

.carousel-slide .btn-primary:hover {
  background: #eef3ff;
  color: #000E9C;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.45rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  background: #ffffff;
  transform: scale(1.1);
}

.carousel-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.domain-search {
  padding: 6px 0 52px;
  background: #ffffff;
}

.domain-search .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.domain-search-wrap {
  width: 100%;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0 2.1rem;
}

.domain-search-title {
  margin: 0 0 1.5rem;
  text-align: center;
  color: #0f2a69;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.domain-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.domain-search-input {
  flex: 1;
  height: 54px;
  border-radius: 10px;
  border: 1px solid #88c8e3;
  padding: 0 1rem;
  font-size: 1.05rem;
  color: #113067;
  background: #f9fcff;
}

.domain-search-input::placeholder {
  color: #4f5fa2;
  font-style: italic;
}

.domain-search-input:focus-visible {
  outline: 2px solid #1f56d5;
  outline-offset: 1px;
}

.domain-search-btn {
  height: 54px;
  min-width: 132px;
  border-radius: 10px;
}

.domain-search-links {
  margin: 1rem 0 1.6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.domain-search-links a {
  color: #ffffff;
  font-weight: 700;
}

.domain-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.domain-price-card {
  border: 1px solid #d7e1f3;
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.domain-ext {
  margin: 0;
  color: #0e2c6f;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.domain-old {
  margin: 0.3rem 0 0;
  color: #6a79a8;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.domain-value {
  margin: 0.2rem 0 0;
  color: #1453d8;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.domain-tax {
  margin: 0.1rem 0 0;
  color: #2c4f96;
  font-size: 0.95rem;
}

.domain-final {
  margin: 0.28rem 0 0;
  color: #35508b;
  font-size: 0.88rem;
}

.domain-buy-btn {
  margin-top: 0.85rem;
  min-width: 118px;
  border-radius: 10px;
}

.partners-showcase {
  background: #e7e7ea;
  padding: 44px 0 56px;
}

.partners-showcase .container {
  width: min(1780px, 96%);
}

.partners-title {
  margin: 0;
  text-align: center;
  color: #0f2a69;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.partners-carousel {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.partners-arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8ca0cb;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.partners-arrow:hover {
  color: #5f75a7;
}

.partners-viewport {
  overflow: hidden;
}

.partners-track {
  position: relative;
  min-height: 178px;
}

.partners-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  pointer-events: none;
}

.partners-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.partner-card {
  background: #ffffff;
  border: 1px solid #e3e6ee;
  border-radius: 10px;
  min-height: 96px;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.partner-logo {
  display: block;
  opacity: 0;
  visibility: hidden;
  max-width: 88%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card.has-logo .partner-logo {
  opacity: 1;
  visibility: visible;
}

.partner-card.has-logo .partner-wordmark {
  display: none;
}

.partner-card[data-logo-alt="Mariana Mano"] .partner-logo {
  max-width: 94%;
  max-height: 66px;
}

.partner-card[data-logo-alt="Plesk"] .partner-logo {
  max-width: 100%;
  max-height: 156px;
}

.partner-card[data-logo-alt="Plesk"] {
  min-height: 156px;
  padding: 0.25rem;
}

.partner-card[data-logo-alt="Gostar Algarismos"] .partner-logo {
  max-width: 98%;
  max-height: 260px;
}

.partner-card[data-logo-alt="Monteiro Ferreira"] .partner-logo {
  max-width: 98%;
  max-height: 260px;
}

.partner-wordmark {
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #111827;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  text-transform: uppercase;
}

.partner-auchan { color: #dc241f; text-transform: none; }
.partner-macopharma { color: #1e3a8a; text-transform: none; font-weight: 700; }
.partner-socgen { color: #111827; font-size: clamp(1rem, 1.5vw, 1.45rem); }
.partner-lv { color: #111111; font-family: Georgia, serif; font-weight: 700; text-transform: none; }
.partner-irontec { color: #4b5563; text-transform: none; font-weight: 700; }
.partner-sopra { color: #271d5b; text-transform: none; font-weight: 700; }
.partner-capgemini { color: #0070e0; text-transform: none; font-weight: 700; }
.partner-edf { color: #ff6600; }
.partner-accor { color: #164187; }
.partner-fnac { color: #111111; }
.partner-pwc { color: #cc5a2f; text-transform: none; }
.partner-axa { color: #0a3ab2; }
.partner-meo { color: #00a4e4; text-transform: none; font-weight: 800; }

.partners-progress {
  width: min(280px, 45%);
  height: 4px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: #b8bcc2;
  overflow: hidden;
}

.partners-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #8e949d;
  transform-origin: left center;
  transform: scaleX(0);
}

.infra-showcase.section {
  padding: 0;
  background: #ffffff;
}

.infra-canvas {
  position: relative;
  width: 100%;
  min-height: 540px;
  padding: 54px 6% 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-image:
    linear-gradient(115deg, rgba(7, 30, 96, 0.6) 0%, rgba(13, 55, 146, 0.38) 46%, rgba(22, 102, 214, 0.2) 100%),
    url("img/data-center-covilha-meo-empresas.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0a2f8c;
}

.infra-canvas::before {
  content: none;
  pointer-events: none;
}

.infra-panel {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  background: rgba(248, 251, 255, 0.96);
  border: 1px solid rgba(29, 69, 152, 0.25);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(4, 13, 42, 0.35);
  padding: 2rem 2rem 1.6rem;
}

.infra-kicker {
  margin: 0;
  color: #1250c6;
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
}

.infra-panel h2 {
  margin: 0.35rem 0 1.2rem;
  color: #0d2a6f;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12;
}

.infra-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.infra-metrics li {
  position: relative;
  margin: 0;
  padding-left: 2rem;
  color: #1a3c84;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.4;
}

.infra-metrics li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1250c6;
  font-size: 1.55rem;
  line-height: 1;
}

.infra-metrics strong {
  color: #114cc5;
}

.testimonials.section {
  padding: 58px 0 72px;
  background: #f4f7fd;
}

.testimonials-title {
  margin: 0;
  text-align: center;
  color: #0f2a69;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem);
}

.testimonials-sub {
  margin: 0.8rem auto 0;
  max-width: 74ch;
  text-align: center;
  color: #3a4f86;
  font-size: 1.03rem;
}

.testimonials-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #dbe5f7;
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: 0 12px 30px rgba(11, 26, 73, 0.08);
}

.testimonial-rating {
  margin: 0;
  color: #f0b429;
  letter-spacing: 0.11em;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  margin: 0.7rem 0 0;
  color: #1f376f;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

.testimonial-author {
  margin: 0.95rem 0 0;
  color: #0f2a69;
  font-weight: 700;
}

.testimonial-role {
  margin: 0.15rem 0 0;
  color: #5670a8;
  font-size: 0.92rem;
}

.hero {
  padding: 84px 0 40px;
}

.page-hero {
  padding: 64px 0 30px;
}

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #b9c6f8;
}

.breadcrumbs span {
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.86rem;
  color: #c5d0ff;
  background: rgba(91, 124, 255, 0.16);
  border: 1px solid rgba(123, 149, 255, 0.4);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.8rem 0 1rem;
}

.lead {
  color: var(--muted);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.trust-line {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: #bdd0ff;
  font-size: 0.92rem;
}

.hero-card,
.feature-card,
.pricing-card,
.faq-list details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.hero-card {
  padding: 1.25rem;
}

.hero-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #b8c5ff;
}

.plan-name {
  font-size: 1.2rem;
  margin: 0.25rem 0;
}

.price {
  font-size: 2rem;
  margin: 0.3rem 0 0.9rem;
  font-weight: 800;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

ul {
  padding-left: 1.1rem;
}

li {
  margin: 0.35rem 0;
  color: #d9e0ff;
}

.section {
  padding: 70px 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.mini-card h3 {
  margin-top: 0;
}

.mini-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1.25rem;
}

.section-sub {
  color: var(--muted);
  margin-top: -0.4rem;
  margin-bottom: 1.2rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1rem;
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pricing-card {
  padding: 1rem;
  position: relative;
}

.tier {
  color: #c1ccff;
  font-weight: 600;
  margin: 0;
}

.featured {
  border-color: rgba(123, 149, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(123, 149, 255, 0.25) inset;
}

.badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #91a8ff;
  color: #111a33;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  background: #000E9C;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding: 3rem 0 1.4rem;
  color: #ffffff;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 1rem 1rem;
  z-index: 70;
}

.search-overlay.open {
  display: flex;
}

.search-modal {
  width: min(760px, 100%);
  border-radius: 16px;
  background: #0f1831;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.search-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: #e8ecff;
  padding: 0 0.9rem;
  font-size: 1rem;
}

.search-input::placeholder {
  color: #9fb0e2;
}

.search-close {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8ecff;
  font-size: 1.15rem;
  cursor: pointer;
}

.search-results {
  max-height: 50vh;
  overflow: auto;
  padding: 0.6rem;
}

.search-item {
  display: block;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
}

.search-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.search-item small {
  display: block;
  color: #9fb0e2;
  margin-top: 0.2rem;
}

.search-empty {
  color: #9fb0e2;
  padding: 0.7rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-col h4 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: #ffffff;
}

.footer-col a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-brand {
  text-align: right;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: inline-block;
}

.footer-brand p {
  margin: 0.9rem 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
  margin-left: auto;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .features-grid,
  .pricing-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    height: auto;
    padding: 0.85rem 0;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .desktop-nav {
    display: flex;
    width: 100%;
    order: 3;
    gap: 0.8rem;
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
  }

  .topbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-brand p {
    margin-left: 0;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .actions .btn-ghost {
    display: none;
  }

  .home-carousel .container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .carousel-track {
    min-height: 430px;
  }

  .carousel-slide {
    padding: 1.8rem;
  }

  .carousel-content {
    margin-bottom: 3rem;
  }

  .carousel-dots {
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
  }

  .domain-search {
    padding: 0 0 44px;
  }

  .domain-search .container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .domain-search-wrap {
    padding: 0 1.45rem;
  }

  .domain-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-showcase {
    padding: 36px 0 46px;
  }

  .infra-canvas {
    min-height: 460px;
    padding: 34px 4% 34px;
  }

  .infra-panel {
    width: min(680px, 100%);
    padding: 1.55rem 1.45rem 1.35rem;
  }

  .testimonials.section {
    padding: 44px 0 56px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-slide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .partners-track {
    min-height: 276px;
  }
}

@media (max-width: 620px) {
  .infra-canvas {
    min-height: 420px;
    justify-content: center;
    padding: 26px 1rem 24px;
  }

  .infra-panel {
    width: 100%;
    padding: 1.3rem 1rem 1.15rem;
    border-radius: 10px;
  }

  .infra-kicker {
    font-size: 1.4rem;
  }

  .infra-panel h2 {
    font-size: 1.95rem;
  }

  .infra-metrics li {
    font-size: 1rem;
    padding-left: 1.75rem;
  }

  .infra-metrics li::before {
    font-size: 1.35rem;
  }

  .testimonials.section {
    padding: 38px 0 46px;
  }

  .testimonials-sub {
    font-size: 0.96rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    margin-top: 1.2rem;
  }

  .carousel-content {
    margin-bottom: 2.1rem;
  }

  .carousel-track {
    min-height: 440px;
  }

  .carousel-slide h2 {
    font-size: 1.55rem;
  }

  .carousel-slide p {
    font-size: 0.95rem;
  }

  .carousel-slide .btn {
    width: 100%;
  }

  .domain-pricing-grid {
    grid-template-columns: 1fr;
  }

  .partners-carousel {
    grid-template-columns: 1fr;
  }

  .partners-arrow {
    display: none;
  }

  .partners-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-track {
    min-height: 384px;
  }

  .partners-progress {
    width: min(220px, 60%);
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}
