:root {
  --ink: #071335;
  --ink-2: #0a2472;
  --blue: #096ef1;
  --blue-2: #12b9ee;
  --cyan: #6ee7f7;
  --soft: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(7, 19, 53, 0.12);
  --muted: #66728f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 19, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 185, 238, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(9, 110, 241, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 48%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
}

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

.page-shell {
  overflow: hidden;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(7, 19, 53, 0.08);
  display: flex;
  gap: 24px;
  height: 78px;
  justify-content: space-between;
  left: 24px;
  padding: 0 20px;
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 30;
}

.brand {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(7, 19, 53, 0.08);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  flex: 0 0 248px;
  height: 58px;
  overflow: hidden;
  padding: 0 14px;
}

.brand img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 218px;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav a,
.header-cta {
  border-radius: 999px;
  color: #33415f;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 14px;
}

.nav a:hover {
  background: #edf5ff;
  color: var(--blue);
}

.header-cta {
  background: linear-gradient(135deg, var(--ink-2), var(--blue), var(--blue-2));
  box-shadow: 0 16px 34px rgba(9, 110, 241, 0.24);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  padding: 150px 32px 78px;
  position: relative;
}

#networkCanvas,
.hero-glass {
  inset: 0;
  position: absolute;
}

#networkCanvas {
  height: 100%;
  width: 100%;
}

.hero-glass {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.56) 46%, rgba(255, 255, 255, 0.18) 100%),
    radial-gradient(circle at 68% 36%, rgba(18, 185, 238, 0.22), transparent 34%);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 230px);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(46px, 6.8vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 26px;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.8vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  margin-bottom: 10px;
}

.hero-copy {
  color: #52607d;
  font-size: clamp(18px, 2vw, 23px);
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
}

.button.primary {
  background: linear-gradient(135deg, var(--ink-2), var(--blue), var(--blue-2));
  box-shadow: 0 18px 42px rgba(9, 110, 241, 0.26);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(7, 19, 53, 0.07);
  color: var(--ink);
}

.button.danger {
  background: rgba(232, 41, 41, 0.1);
  border: 1px solid rgba(232, 41, 41, 0.22);
  box-shadow: none;
  color: #b42318;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #40506f;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.hero-showcase {
  min-height: 560px;
  perspective: 1200px;
  position: relative;
}

.browser-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 24px;
  transform: rotateY(-12deg) rotateX(8deg);
  transform-style: preserve-3d;
  width: min(100%, 560px);
}

.browser-top {
  align-items: center;
  background: rgba(246, 250, 255, 0.86);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  height: 58px;
  padding: 0 18px;
}

.browser-top span {
  border-radius: 999px;
  display: block;
  height: 10px;
  width: 10px;
}

.browser-top span:nth-child(1) { background: #ff6873; }
.browser-top span:nth-child(2) { background: #ffbf3f; }
.browser-top span:nth-child(3) { background: #35d399; }

.browser-top small {
  background: #eaf3ff;
  border-radius: 999px;
  color: #657391;
  font-weight: 800;
  margin-left: 12px;
  padding: 8px 14px;
}

.browser-body {
  background:
    linear-gradient(145deg, rgba(7, 19, 53, 0.95), rgba(9, 48, 138, 0.92)),
    radial-gradient(circle at top right, rgba(18, 185, 238, 0.45), transparent 40%);
  min-height: 420px;
  padding: 28px;
  position: relative;
}

.logo-float {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  padding: 18px;
  width: 380px;
}

.logo-float img {
  display: block;
  width: 100%;
}

.metric-card {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--white);
  padding: 18px;
  position: absolute;
}

.metric-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.metric-card.main {
  bottom: 30px;
  left: 28px;
  max-width: 300px;
}

.metric-card.side {
  right: 30px;
  top: 162px;
  width: 138px;
}

.code-lines {
  bottom: 36px;
  display: grid;
  gap: 10px;
  position: absolute;
  right: 30px;
  width: 150px;
}

.code-lines i {
  background: rgba(110, 231, 247, 0.55);
  border-radius: 999px;
  display: block;
  height: 8px;
}

.code-lines i:nth-child(2) { width: 74%; }
.code-lines i:nth-child(3) { width: 88%; }
.code-lines i:nth-child(4) { width: 56%; }

.orbit {
  border: 1px solid rgba(9, 110, 241, 0.24);
  border-radius: 999px;
  position: absolute;
}

.orbit.one {
  height: 190px;
  right: -56px;
  top: 12px;
  width: 190px;
}

.orbit.two {
  bottom: 58px;
  height: 120px;
  left: 18px;
  width: 120px;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 94px 32px;
  scroll-margin-top: 118px;
}

.section-heading {
  max-width: 780px;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

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

.service-card,
.panel,
.contact-form,
.ceo-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(7, 19, 53, 0.08);
}

.service-card {
  min-height: 280px;
  padding: 24px;
  position: relative;
}

.service-card.featured {
  background: linear-gradient(145deg, var(--ink-2), var(--blue));
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .icon {
  color: var(--white);
}

.service-card p,
.panel p,
.ceo-card p,
.portfolio-section p,
.solutions-section p,
.contact-section p {
  color: var(--muted);
}

.icon {
  color: var(--blue);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 72px;
}

.dark-band {
  background:
    radial-gradient(circle at 14% 20%, rgba(18, 185, 238, 0.24), transparent 34%),
    linear-gradient(135deg, #06133f, #092d8c 56%, #099fe0);
  border-radius: 34px;
  box-shadow: var(--shadow);
  color: var(--white);
  max-width: 1160px;
  padding: 72px 34px;
}

.dark-band h2,
.dark-band .eyebrow {
  color: var(--white);
}

.dark-band .eyebrow::before {
  background: var(--cyan);
}

.feature-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-strip div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 22px;
}

.feature-strip strong {
  color: var(--cyan);
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-strip span {
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.portfolio-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,250,255,0.88));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  box-shadow: 0 18px 54px rgba(7, 19, 53, 0.1);
  color: var(--ink);
  display: grid;
  overflow: hidden;
  padding: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  box-shadow: 0 28px 72px rgba(7, 19, 53, 0.16);
  transform: translateY(-5px);
}

.portfolio-thumb {
  align-items: center;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 30% 20%, rgba(18,185,238,0.2), transparent 34%),
    linear-gradient(135deg, #f7fbff, #e7f1ff);
  border: 1px solid rgba(7, 19, 53, 0.08);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
}

.portfolio-thumb img {
  filter: drop-shadow(0 16px 30px rgba(7, 19, 53, 0.12));
  height: 100%;
  max-height: 210px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.portfolio-info {
  display: grid;
  gap: 6px;
  padding: 18px 8px 8px;
}

.portfolio-info strong {
  font-size: 20px;
}

.portfolio-info span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.solutions-section {
  padding-top: 36px;
}

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

.solutions-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 16px 46px rgba(7, 19, 53, 0.08);
  padding: 24px;
}

.solutions-grid span {
  align-items: center;
  background: rgba(9, 110, 241, 0.1);
  border: 1px solid rgba(9, 110, 241, 0.16);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 22px;
  padding: 7px 11px;
  text-transform: uppercase;
}

.process-section {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.86fr 1.14fr;
}

.panel {
  padding: 34px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(7, 19, 53, 0.07);
  display: flex;
  gap: 18px;
  padding: 20px;
}

.step span {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 14px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

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

.ceo-section {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 1.1fr 0.9fr;
}

.ceo-card {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 170px 1fr;
  padding: 30px;
}

.ceo-photo-shell {
  aspect-ratio: 1;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(9, 110, 241, 0.22);
  height: 170px;
  overflow: hidden;
  width: 170px;
}

.ceo-photo {
  background: linear-gradient(135deg, rgba(9, 110, 241, 0.12), rgba(18, 185, 238, 0.16));
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.ceo-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(9, 110, 241, 0.94), rgba(18, 185, 238, 0.9)),
    var(--blue);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(9, 110, 241, 0.22);
  color: var(--white);
  display: flex;
  font-size: 58px;
  font-weight: 900;
  height: 100%;
  justify-content: center;
  width: 100%;
}

blockquote {
  background: #071335;
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.24;
  margin: 0;
  padding: 34px;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-info a {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 900;
  padding: 11px 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  color: #50607e;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(9, 110, 241, 0.55);
  box-shadow: 0 0 0 4px rgba(9, 110, 241, 0.1);
}

textarea {
  resize: vertical;
}

.form-message {
  color: var(--blue);
  font-weight: 900;
  min-height: 22px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 28px 32px 40px;
}

.footer img {
  height: 46px;
  object-fit: contain;
  width: 230px;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 18px 48px rgba(37, 211, 102, 0.34);
  color: #062912;
  display: flex;
  font-weight: 900;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  position: fixed;
  right: 22px;
  z-index: 40;
}

.whatsapp-float img {
  border-radius: 999px;
  height: 28px;
  object-fit: cover;
  width: 28px;
}

.admin-body {
  min-height: 100vh;
}

.admin-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 22px;
}

.admin-login {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin: 64px auto;
  max-width: 460px;
  padding: 32px;
}

.admin-login img {
  display: block;
  height: auto;
  margin-bottom: 18px;
  width: 270px;
}

.admin-login h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.admin-login p {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.admin-back {
  color: var(--blue);
  display: inline-block;
  font-weight: 900;
  margin-top: 18px;
}

.admin-dashboard {
  display: grid;
  gap: 22px;
}

.admin-dashboard[hidden] {
  display: none;
}

.admin-topbar,
.admin-metrics div,
.quotes-table-wrap {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(7, 19, 53, 0.08);
}

.admin-topbar {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 220px 1fr auto;
  padding: 18px;
}

.admin-topbar img {
  width: 230px;
}

.admin-topbar div {
  display: grid;
}

.admin-topbar span {
  color: var(--muted);
  font-size: 14px;
}

.admin-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-metrics div {
  padding: 22px;
}

.admin-metrics span {
  color: var(--muted);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.admin-metrics strong {
  color: var(--ink);
  font-size: 30px;
}

.admin-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.admin-actions h2 {
  font-size: 34px;
  margin: 0;
}

.admin-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hint {
  color: var(--muted);
  font-weight: 800;
}

.quotes-table-wrap {
  overflow-x: auto;
  padding: 8px;
}

.quotes-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.quotes-table th {
  color: var(--muted);
  font-size: 12px;
  padding: 16px;
  text-align: left;
  text-transform: uppercase;
}

.quotes-table td {
  border-top: 1px solid var(--line);
  padding: 16px;
  vertical-align: top;
}

.quotes-table td strong {
  display: block;
}

.quotes-table td span {
  color: var(--muted);
  font-size: 13px;
}

.empty-admin {
  color: var(--muted);
  font-weight: 800;
  padding: 18px;
  text-align: center;
}

.portfolio-admin-form,
.settings-admin-form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(7, 19, 53, 0.08);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

.portfolio-admin-form button,
.settings-admin-form button {
  align-self: end;
}

.settings-admin-form {
  align-items: end;
  grid-template-columns: 130px repeat(4, minmax(0, 1fr));
}

.ceo-admin-preview {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 22px;
  color: var(--white);
  display: flex;
  font-size: 40px;
  font-weight: 900;
  justify-content: center;
  overflow: hidden;
  width: 112px;
}

.ceo-admin-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 330px;
}

.table-actions .button {
  font-size: 12px;
  min-height: 38px;
  padding: 0 12px;
}

.admin-portfolio-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-portfolio-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(7, 19, 53, 0.07);
  overflow: hidden;
}

.admin-portfolio-card img {
  aspect-ratio: 16 / 10;
  background: #f7fbff;
  display: block;
  object-fit: contain;
  padding: 16px;
  width: 100%;
}

.admin-portfolio-card div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-portfolio-card small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

  .hero-grid,
  .process-section,
  .ceo-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 480px;
  }

  .browser-card {
    left: 0;
    margin: 0 auto;
  }

  .service-grid,
  .feature-strip,
  .portfolio-grid,
  .solutions-grid,
  .admin-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-admin-form,
  .settings-admin-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    border-radius: 14px;
    height: 68px;
    left: 12px;
    padding: 0 12px;
    right: 12px;
    top: 10px;
  }

  .brand img {
    height: auto;
    width: 154px;
  }

  .brand {
    flex-basis: 176px;
    height: 50px;
    padding: 7px 10px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 118px 18px 52px;
  }

  .hero-grid,
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .section {
    padding: 72px 18px;
  }

  .service-grid,
  .feature-strip,
  .portfolio-grid,
  .solutions-grid,
  .portfolio-admin-form,
  .settings-admin-form,
  .admin-portfolio-grid,
  .ceo-card {
    grid-template-columns: 1fr;
  }

  .ceo-photo-shell {
    height: 150px;
    justify-self: center;
    width: 150px;
  }

  .hero-showcase {
    min-height: 410px;
  }

  .browser-card {
    transform: none;
  }

  .logo-float {
    width: 270px;
  }

  blockquote {
    font-size: 21px;
  }

  .whatsapp-float {
    bottom: 14px;
    min-height: 50px;
    right: 14px;
  }

  .whatsapp-float strong {
    display: none;
  }

  .admin-topbar,
  .admin-metrics,
  .admin-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-actions {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 8px;
  }

  .brand {
    flex-basis: 164px;
    min-width: 0;
  }

  .brand img {
    width: 146px;
  }

  h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid {
    gap: 28px;
    min-height: 0;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .button,
  .contact-form .button,
  .settings-admin-form .button,
  .portfolio-admin-form .button {
    width: 100%;
  }

  .trust-row span {
    font-size: 12px;
  }

  .hero-showcase {
    min-height: 300px;
  }

  .browser-card {
    border-radius: 22px;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
  }

  .browser-body {
    min-height: 260px;
  }

  .logo-float {
    left: 18px;
    top: 42px;
    width: 230px;
  }

  .metric-card.main {
    bottom: 22px;
    left: 18px;
    right: 18px;
    width: auto;
  }

  .metric-card.side {
    right: 18px;
    top: 124px;
  }

  .section {
    padding-bottom: 58px;
    padding-top: 58px;
  }

  .service-card {
    min-height: auto;
  }

  .icon {
    margin-bottom: 34px;
  }

  .dark-band {
    border-radius: 24px;
    padding: 48px 20px;
  }

  .feature-strip div,
  .solutions-grid article,
  .step,
  .panel,
  .contact-form,
  .ceo-card {
    border-radius: 20px;
  }

  .ceo-card {
    padding: 22px;
    text-align: center;
  }

  .ceo-card .eyebrow {
    justify-content: center;
  }

  .ceo-card .eyebrow::before {
    display: none;
  }

  blockquote {
    border-radius: 22px;
    font-size: 20px;
    padding: 24px;
  }

  .contact-info a {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    display: grid;
    padding: 24px 18px 86px;
  }

  .footer img {
    width: 190px;
  }

  .admin-shell {
    padding: 18px 12px 42px;
  }

  .admin-login {
    margin: 24px auto;
    padding: 22px;
  }

  .admin-login img,
  .admin-topbar img {
    width: 190px;
  }

  .admin-topbar {
    grid-template-columns: 1fr;
  }

  .admin-actions h2 {
    font-size: 28px;
  }

  .table-actions {
    min-width: 260px;
  }
}
