:root {
  --bg: #f5fbff;
  --surface: #ffffff;
  --surface-strong: #eaf7ff;
  --text: #102233;
  --muted: #607285;
  --primary: #0099d8;
  --primary-dark: #006ea6;
  --accent: #19c6a3;
  --accent-dark: #0a957b;
  --line: rgba(16, 34, 51, 0.1);
  --shadow: 0 18px 45px rgba(0, 78, 122, 0.14);
  --radius: 8px;
  --container: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  scroll-margin-top: calc(var(--header-height) + 18px);
  padding: 92px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: rgba(245, 251, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 58, 92, 0.08);
}

.navbar {
  width: min(var(--container), calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #21394d;
}

.nav-menu a:not(.btn) {
  position: relative;
  padding: 8px 0;
}

.nav-menu a:not(.btn)::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--primary);
  content: "";
  transition: width 0.2s ease;
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 88, 130, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 78px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 22%, rgba(25, 198, 163, 0.2), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(0, 153, 216, 0.24), transparent 28%),
    linear-gradient(135deg, #f7fcff 0%, #eefaff 52%, #f4fff9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 153, 216, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(0, 153, 216, 0.2);
  color: var(--primary-dark);
}

.btn-small {
  min-height: 42px;
  padding: 11px 16px;
}

.hero-panel {
  min-height: 470px;
  position: relative;
}

.panel-card,
.metric-card,
.tech-list {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-main {
  width: min(100%, 420px);
  padding: 32px;
}

.panel-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 153, 216, 0.16), rgba(25, 198, 163, 0.18));
  color: var(--primary-dark);
}

.panel-icon svg,
.service-card svg,
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.panel-main strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1.1;
}

.panel-main span,
.metric-card span,
.tech-list span {
  color: var(--muted);
}

.metric-card {
  width: 190px;
  padding: 24px;
  position: absolute;
  right: 0;
  top: 52px;
}

.metric-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 3.2rem;
  line-height: 1;
}

.tech-list {
  width: min(100%, 390px);
  padding: 20px;
  position: absolute;
  left: 42px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-list span {
  padding: 10px 12px;
  background: rgba(0, 153, 216, 0.08);
  border-radius: var(--radius);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.about p,
.contact p,
.demo-box p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.services-catalog,
.service-category-group {
  display: grid;
  gap: 28px;
}

.services-catalog {
  gap: 64px;
}

.catalog-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-heading .eyebrow {
  margin-bottom: 4px;
}

.catalog-heading h3 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 78, 122, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 153, 216, 0.35);
  box-shadow: var(--shadow);
}

.service-card svg {
  margin-bottom: 22px;
  color: var(--primary);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card-top {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-category {
  padding: 7px 10px;
  display: inline-flex;
  background: rgba(25, 198, 163, 0.12);
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-price {
  color: var(--primary-dark);
  font-size: 0.98rem;
  text-align: right;
  white-space: nowrap;
}

.service-offer-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 153, 216, 0.08), rgba(25, 198, 163, 0.08)),
    var(--surface);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.service-offer-card:hover .service-card-image img {
  transform: scale(1.025);
}

.service-card-body {
  min-height: 290px;
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-offer-card p {
  margin-bottom: 22px;
}

.service-link {
  width: 100%;
  margin-top: auto;
}

.solutions {
  background: linear-gradient(180deg, rgba(234, 247, 255, 0.72), rgba(245, 251, 255, 0));
}

.solution-stack {
  display: grid;
  gap: 18px;
}

.solution-item {
  padding: 30px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 78, 122, 0.08);
}

.solution-item span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 900;
}

.solution-item p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.demo-box {
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(0, 153, 216, 0.12), rgba(25, 198, 163, 0.12)),
    var(--surface);
  border: 1px solid rgba(0, 153, 216, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-box div {
  max-width: 720px;
}

.demo-box p {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 58px;
}

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 153, 216, 0.08), transparent 28rem),
    var(--background);
}

.about-layout {
  display: grid;
  gap: clamp(42px, 7vw, 88px);
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(0, 153, 216, 0.14);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(0, 78, 122, 0.1);
}

.about-company {
  background: rgba(255, 255, 255, 0.86);
}

.about-founder {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  background: linear-gradient(145deg, #ffffff, #eef9fc);
}

.about-content h2 {
  margin-bottom: 18px;
  text-wrap: balance;
}

.about-content > p:not(.eyebrow):not(.about-role) {
  margin: 0 0 15px;
}

.about-role {
  margin: -5px 0 22px;
  color: var(--primary-dark);
  font-weight: 750;
  line-height: 1.55;
}

.about-points {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  list-style: none;
}

.about-points li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-weight: 650;
  line-height: 1.5;
}

.about-points li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid rgba(25, 198, 163, 0.3);
  border-radius: 50%;
  background: var(--accent);
}

.about-actions {
  margin-top: 30px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  min-height: 50px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(0, 153, 216, 0.24);
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.15;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 110, 166, 0.13);
}

.social-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: var(--primary);
}

.social-link small {
  margin-bottom: 2px;
  display: block;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 650;
}

.external-mark {
  color: var(--primary);
  font-size: 1.05rem;
}

.about-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 20px;
}

.about-brand-visual {
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #ffffff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #071d36 8%, #006a8f 62%, #16b89c);
  background-size: 32px 32px, 32px 32px, auto;
}

.about-brand-visual::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 18%;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(85, 240, 210, 0.2);
  filter: blur(2px);
}

.about-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
}

.about-orbit-one {
  width: 310px;
  height: 310px;
}

.about-orbit-two {
  width: 420px;
  height: 420px;
}

.about-logo-wrap {
  width: min(245px, 55%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 65px rgba(0, 18, 38, 0.28);
}

.about-logo-wrap img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.about-visual-tag {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.about-visual-tag span {
  color: #74f1d8;
}

.about-portrait {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 78, 122, 0.18);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(4, 22, 42, 0.88));
  pointer-events: none;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.about-portrait figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #ffffff;
}

.about-portrait figcaption strong,
.about-portrait figcaption span {
  display: block;
}

.about-portrait figcaption strong {
  margin-bottom: 4px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.about-portrait figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.contact {
  background: #102233;
  color: #ffffff;
}

.contact .eyebrow {
  color: #74f1d8;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card {
  padding: 28px;
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-style: normal;
}

.contact-card a,
.contact-card p {
  margin: 0;
  padding: 16px;
  display: block;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  color: #ffffff;
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: #74f1d8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-page {
  overflow: hidden;
}

.service-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 78px);
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.service-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.5vw, 4.35rem);
}

.back-link {
  margin-bottom: 22px;
  display: inline-flex;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
}

.breadcrumb {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--primary-dark);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.service-short {
  width: fit-content;
  margin: 24px 0 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 153, 216, 0.16);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 800;
}

.service-summary {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.service-summary img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.price-box {
  margin-top: 16px;
  padding: 22px;
  background: #102233;
  border-radius: var(--radius);
  color: #ffffff;
}

.price-box span,
.service-meta-grid span,
.service-detail-card dt {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-box strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1;
}

.service-meta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-meta-grid div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.service-content {
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

.service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 42px;
}

.service-main {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 78, 122, 0.08);
}

.service-main h2 {
  margin-top: 36px;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
}

.service-main h2:first-child {
  margin-top: 0;
}

.service-main p {
  color: var(--muted);
  font-size: 1.05rem;
}

.related-services {
  margin-top: 40px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.related-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-service-link {
  padding: 11px 14px;
  background: var(--surface-strong);
  border: 1px solid rgba(0, 153, 216, 0.16);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 800;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-service-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.check-list,
.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: rgba(25, 198, 163, 0.14);
  border-radius: 50%;
  color: var(--accent-dark);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-list li::before {
  background: rgba(0, 153, 216, 0.12);
  color: var(--primary-dark);
  content: "•";
}

.service-detail-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 28px;
  background: #102233;
  border-radius: var(--radius);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.service-detail-card h2 {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.service-detail-card dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-detail-card dl div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.service-detail-card dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.service-note {
  margin: 22px 0;
  padding: 16px;
  background: rgba(25, 198, 163, 0.1);
  border: 1px solid rgba(116, 241, 216, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
}

.service-detail-card .btn {
  width: 100%;
}

.site-footer {
  padding: 28px 0;
  background: #0b1824;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  background: #22c55e;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 42px rgba(34, 197, 94, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    max-height: calc(100vh - var(--header-height) - 28px);
    padding: 18px;
    display: grid;
    gap: 6px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-menu .btn {
    margin-top: 6px;
  }

  .hero-grid,
  .contact-grid,
  .service-hero-grid,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .about-block,
  .about-founder {
    grid-template-columns: 1fr;
  }

  .about-company .about-visual {
    order: 2;
  }

  .about-visual {
    min-height: 390px;
  }

  .about-portrait {
    width: min(100%, 640px);
    aspect-ratio: 4 / 3;
    justify-self: center;
  }

  .hero-panel {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .metric-card,
  .tech-list {
    width: 100%;
    position: static;
  }

  .panel-main {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-detail-card {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .navbar {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 48px);
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-actions,
  .hero-actions .btn,
  .demo-box .btn {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .solution-item,
  .demo-box,
  .contact-card,
  .service-main,
  .service-detail-card {
    padding: 22px;
  }

  .service-offer-card {
    padding: 0;
  }

  .service-card-body {
    min-height: 0;
    padding: 22px;
  }

  .service-hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .service-card-top,
  .service-meta-grid {
    grid-template-columns: 1fr;
  }

  .service-card-top {
    display: grid;
  }

  .service-price {
    text-align: left;
  }

  .solution-item {
    grid-template-columns: 1fr;
  }

  .tech-list {
    grid-template-columns: 1fr;
  }

  .about-block {
    padding: 22px;
    border-radius: 18px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-actions,
  .about-actions .btn,
  .about-actions .social-link {
    width: 100%;
  }

  .about-actions .social-link {
    justify-content: flex-start;
  }

  .about-actions .external-mark {
    margin-left: auto;
  }

  .about-visual {
    min-height: 320px;
  }

  .about-orbit-one {
    width: 240px;
    height: 240px;
  }

  .about-orbit-two {
    width: 320px;
    height: 320px;
  }

  .about-portrait {
    aspect-ratio: 1 / 1;
  }

  .about-portrait img {
    object-position: 72% center;
  }

  .about-portrait figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Portada institucional con fotografía de Sinuhé */
.hero {
  min-height: min(780px, 100vh);
  padding: var(--header-height) 0 0;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background-color: #04162a;
  background-image: url("assets/img/hero-sinuhe-punilla-digital.webp");
  background-image: image-set(
    url("assets/img/hero-sinuhe-punilla-digital.webp") type("image/webp"),
    url("assets/img/hero-sinuhe-punilla-digital.png") type("image/png")
  );
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(4, 22, 42, 0.98) 0%, rgba(4, 22, 42, 0.94) 30%, rgba(4, 22, 42, 0.72) 48%, rgba(4, 22, 42, 0.22) 72%, rgba(4, 22, 42, 0.06) 100%);
}

.hero-content {
  width: min(var(--container), calc(100% - 40px));
  padding-block: clamp(5rem, 10vw, 8rem);
}

.hero-content > * {
  max-width: 680px;
}

.hero .hero-eyebrow {
  color: #42e3d0;
}

.hero h1 {
  max-width: 12ch;
  color: #ffffff;
  text-wrap: balance;
}

.hero .hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-signature {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-whatsapp {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.42);
}

.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  min-width: 0;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: var(--primary);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 1.08rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.capabilities {
  background: linear-gradient(180deg, #ffffff, var(--bg));
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 153, 216, 0.38);
  box-shadow: 0 16px 34px rgba(0, 78, 122, 0.1);
}

.capability-number {
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.capability-card h3 {
  font-size: 1.35rem;
}

.capability-card p {
  color: var(--muted);
}

.capability-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary-dark);
  font-weight: 850;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 720px;
    background-position: 50% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(4, 22, 42, 0.98) 0%, rgba(4, 22, 42, 0.9) 42%, rgba(4, 22, 42, 0.48) 68%, rgba(4, 22, 42, 0.12) 100%);
  }

  .hero-content > * {
    max-width: 560px;
  }

  .trust-item {
    padding-inline: 22px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 680px;
    padding-top: var(--header-height);
    align-items: flex-end;
    background-position: 68% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(4, 22, 42, 0.12) 0%, rgba(4, 22, 42, 0.4) 34%, rgba(4, 22, 42, 0.92) 65%, rgba(4, 22, 42, 1) 100%);
  }

  .hero-content {
    width: min(100% - 28px, var(--container));
    padding-block: 16rem 3rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .hero .hero-text {
    font-size: 1rem;
  }

  .trust-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 24px 8px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .capability-card {
    min-height: 240px;
  }
}

/* Oferta comercial: hosting, dominio y facilidades de pago */
.catalog-hosting-badge,
.hosting-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #075e52;
  background: rgba(25, 198, 163, 0.13);
  border: 1px solid rgba(10, 149, 123, 0.22);
  border-radius: 999px;
  font-weight: 800;
}

.catalog-hosting-badge {
  margin: -2px 0 2px;
  padding: 6px 10px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.hosting-badge {
  margin: 0 24px 18px;
  padding: 9px 13px;
  font-size: 0.82rem;
}

.catalog-hosting-badge::before,
.hosting-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(25, 198, 163, 0.14);
}

.payment-options {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(25, 198, 163, 0.2), transparent 24rem),
    radial-gradient(circle at 92% 82%, rgba(0, 153, 216, 0.19), transparent 26rem),
    #071c32;
  overflow: hidden;
}

.payment-options .eyebrow {
  color: #74f1d8;
}

.payment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 38px;
}

.payment-heading h2 {
  max-width: 690px;
  color: #ffffff;
}

.payment-heading h2 span {
  color: #74f1d8;
}

.payment-heading p,
.payment-card p,
.payment-footer p,
.payment-highlight span {
  color: rgba(255, 255, 255, 0.74);
}

.payment-heading > div:first-child > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.payment-highlight {
  padding: 22px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(116, 241, 216, 0.27);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.payment-highlight strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.payment-highlight span {
  line-height: 1.55;
}

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

.payment-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 40px rgba(0, 8, 20, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.payment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 241, 216, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.payment-card svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  fill: #74f1d8;
  border-radius: 14px;
  background: rgba(25, 198, 163, 0.13);
}

.payment-card > div > strong {
  display: block;
  margin-bottom: 7px;
  color: #74f1d8;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1;
}

.payment-card h3 {
  margin-bottom: 9px;
  color: #ffffff;
}

.payment-card p {
  margin: 0;
}

.payment-footer {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.payment-footer p {
  max-width: 700px;
  margin: 0;
  font-size: 0.9rem;
}

.payment-footer .btn {
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .payment-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 680px) {
  .hosting-badge {
    margin-inline: 18px;
  }

  .payment-card {
    grid-template-columns: 1fr;
  }

  .payment-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-footer .btn {
    width: 100%;
  }
}