:root {
  --ink: #132033;
  --muted: #607086;
  --line: #dce5ef;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --accent: #167a7f;
  --accent-strong: #0f5f63;
  --gold: #d99a26;
  --table-head: #ffffff;
  --table-row: #ffffff;
  --table-border: #dce5ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  zoom: 60%;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 70px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.site-brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 700;
}

.header-action,
.primary-link,
.secondary-link,
.plan-card a,
.lead-form button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-action,
.primary-link,
.plan-card a,
.lead-form button {
  background: var(--accent);
  color: #ffffff;
  padding: 0 18px;
  border: 0;
}

.secondary-link {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  padding: 0 18px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #132033;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: fill;
  object-position: center center;
  background: #132033;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 20, 34, 0.22), rgba(10, 20, 34, 0.08), rgba(10, 20, 34, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 70px) 72px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 8px;
  color: #53c1a6;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: #d9e7ef;
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section {
  padding: 72px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.services-grid article,
.plan-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.services-grid article {
  min-height: 220px;
  padding: 20px;
}

.services-grid svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.services-grid h3,
.plan-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.services-grid p,
.plan-card p,
.cta-band p {
  color: var(--muted);
  line-height: 1.55;
}

.plans-section {
  background: var(--bg);
}

.domain-section {
  background: var(--bg);
}

.domain-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(300px, 460px);
  gap: 28px;
  align-items: start;
}

.domain-tool {
  display: grid;
  gap: 14px;
  max-width: 100%;
}

.domain-lead-slot {
  min-height: 420px;
}

.domain-lead-slot .lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.domain-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.domain-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.domain-search input,
.lead-form input,
.lead-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.domain-search button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.domain-result {
  color: var(--muted);
  font-weight: 800;
}

.domain-result.available {
  color: #167a4a;
}

.domain-result.unavailable {
  color: #b63737;
}

.domain-price-toggle {
  width: fit-content;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.domain-price-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: auto;
}

.domain-price-table table {
  width: 100%;
  border-collapse: collapse;
}

.domain-price-table th,
.domain-price-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.domain-price-table th {
  background: var(--table-head);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.domain-price-table td {
  background: var(--table-row);
}

.domain-price-table a {
  color: var(--accent);
  font-weight: 900;
}

.domain-price-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.domain-price-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.domain-price-plus {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 900;
  line-height: 1;
}

.domain-price-detail {
  padding-left: 28px !important;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  min-height: 430px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--plan-color, var(--line));
}

.plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 18px 46px rgba(28, 42, 64, 0.14);
}

.plan-kicker {
  color: var(--plan-color, var(--accent));
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 1.45rem;
}

.plan-card strong {
  font-size: 2rem;
}

.package-price-lines {
  display: grid;
  gap: 3px;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 16px 0 22px;
  color: var(--muted);
}

.plan-card a {
  margin-top: auto;
  background: var(--plan-color, var(--accent));
}

.resale-section {
  background: #f6eef7;
}

.resale-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.resale-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: #128c7e;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(10, 20, 34, 0.22);
}

.whatsapp-widget.offline {
  background: #667487;
  pointer-events: none;
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
}

.whatsapp-copy {
  display: grid;
  gap: 1px;
}

.whatsapp-copy strong,
.whatsapp-copy small {
  line-height: 1.1;
}

.whatsapp-copy small {
  opacity: 0.86;
  font-weight: 800;
}

.whatsapp-status-dot {
  position: absolute;
  left: 38px;
  top: 10px;
  width: 11px;
  height: 11px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #25d366;
}

.whatsapp-widget.offline .whatsapp-status-dot {
  background: #cbd5e1;
}

.resale-head {
  min-height: 182px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 12px;
  background: var(--resale-color);
  color: #ffffff;
}

.resale-icon {
  height: 36px;
  display: inline-flex;
  align-items: end;
  gap: 6px;
}

.resale-icon i {
  width: 10px;
  border-radius: 999px;
  background: #f49bed;
}

.resale-icon i:nth-child(1),
.resale-icon i:nth-child(3) {
  height: 26px;
}

.resale-icon i:nth-child(2) {
  height: 36px;
}

.resale-card h3 {
  margin: 0;
  font-size: 1.65rem;
}

.resale-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.resale-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 30px 28px;
  list-style: none;
  color: #2f3148;
  font-weight: 600;
}

.resale-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
}

.resale-card li::before {
  content: "✓";
  color: var(--resale-color);
  font-weight: 900;
}

.resale-price {
  margin-top: auto;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  background: #fbf8fb;
}

.resale-price span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.resale-price strong {
  color: #080c2c;
  font-size: 2rem;
}

.resale-price small {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 800;
}

.resale-price a {
  min-height: 42px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--resale-color);
  color: #ffffff;
  font-weight: 900;
}

.xat-section {
  background: #fffdf7;
}

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

.xat-card {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ddec;
  border-radius: 22px;
  background: #ffffff;
}

.xat-card.popular {
  border-color: var(--xat-color);
}

.xat-badge {
  min-height: 42px;
  display: grid;
  place-items: center;
  background: var(--xat-color);
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
}

.xat-head {
  min-height: 182px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 12px;
  background: var(--xat-color);
  color: #ffffff;
}

.xat-card:not(.popular) .xat-head {
  min-height: 224px;
}

.xat-head h3 {
  margin: 0;
  font-size: 1.65rem;
}

.xat-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.xat-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 32px 28px;
  list-style: none;
  color: #2f3148;
  font-weight: 650;
}

.xat-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
}

.xat-card li::before {
  content: "✓";
  color: var(--xat-color);
  font-weight: 900;
}

.xat-price {
  margin-top: auto;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  background: #fbf8fb;
}

.xat-price span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.xat-price strong {
  color: #080c2c;
  font-size: 2rem;
}

.xat-price small {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 800;
}

.xat-price a {
  min-height: 52px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--xat-color);
  color: #ffffff;
  font-weight: 900;
}

.resale-section,
.xat-section {
  background: var(--bg);
}

.resale-card,
.xat-card {
  min-height: 430px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid var(--package-color, var(--line));
  border-radius: 0;
  background: #ffffff;
}

.resale-card {
  --package-color: var(--resale-color);
}

.xat-card {
  --package-color: var(--xat-color);
}

.resale-head,
.xat-head {
  min-height: 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  color: var(--ink);
}

.resale-icon {
  display: none;
}

.xat-badge,
.resale-card p,
.xat-head p {
  min-height: 0;
  margin: 0;
  display: block;
  background: transparent;
  color: var(--package-color);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resale-card p {
  order: -1;
}

.resale-card h3,
.xat-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.resale-card ul,
.xat-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
  padding-left: 20px;
  list-style: disc;
  color: var(--muted);
  font-weight: 500;
}

.resale-card li,
.xat-card li {
  display: list-item;
}

.resale-card li::before,
.xat-card li::before {
  content: none;
}

.resale-price,
.xat-price {
  margin-top: auto;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.resale-price span,
.xat-price span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.resale-price strong,
.xat-price strong {
  color: var(--ink);
  font-size: 2rem;
}

.resale-price small,
.xat-price small {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 800;
}

.resale-price a,
.xat-price a {
  min-height: 42px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--package-color);
  color: #ffffff;
  font-weight: 900;
}

.resale-card > a,
.xat-card > a {
  min-height: 42px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--package-color);
  color: #ffffff;
  font-weight: 900;
}

.resale-card > strong,
.xat-card > strong {
  color: var(--ink);
  font-size: 2rem;
}

.resale-card > span,
.xat-card > span {
  color: var(--package-color);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resale-card > p,
.xat-card > p {
  color: var(--muted);
}

.plan-card,
.resale-card,
.xat-card {
  background: var(--surface);
  color: var(--ink);
}

.plan-card h3,
.plan-card strong,
.resale-card h3,
.resale-card strong,
.xat-card h3,
.xat-card strong {
  color: var(--ink);
}

.plan-card p,
.plan-card ul,
.package-price-lines,
.resale-card p,
.resale-card ul,
.resale-price span,
.resale-price small,
.xat-card p,
.xat-card ul,
.xat-price span,
.xat-price small {
  color: var(--muted);
}

.plan-card .plan-kicker,
.resale-card > span,
.xat-card > span,
.xat-badge,
.resale-card .resale-head p,
.xat-card .xat-head p {
  color: var(--package-color, var(--plan-color, var(--accent)));
}

.plan-card a,
.resale-card a,
.xat-card a {
  color: #ffffff;
}

.site-header,
.domain-search,
.domain-price-table,
.domain-lead-slot .lead-form,
.lead-form {
  background: var(--surface);
  color: var(--ink);
}

.section,
.plans-section,
.resale-section,
.xat-section,
.domain-section {
  background: var(--bg);
}

.domain-price-table th {
  background: var(--table-head);
}

.domain-price-table td {
  background: var(--table-row);
}

.domain-price-table,
.domain-price-table th,
.domain-price-table td,
.domain-search,
.lead-form {
  border-color: var(--table-border, var(--line));
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 70px);
  background: var(--surface);
}

.lead-form {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.success {
  color: var(--accent-strong);
}

.form-message.error {
  color: #c2413d;
}

@media (max-width: 1180px) {
  .services-grid,
  .plans-grid,
  .resale-grid,
  .xat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .domain-lead-slot {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 14px;
  }

  .site-header nav {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    margin-bottom: 42px;
  }

  .services-grid,
  .plans-grid,
  .resale-grid,
  .xat-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }
}
