:root {
  --ink: #102033;
  --muted: #64748b;
  --paper: #f4f8fc;
  --panel: #ffffff;
  --line: #dbe7f3;
  --blue: #0b66c3;
  --blue-dark: #073d7a;
  --blue-soft: #e8f2ff;
  --cyan: #13a6d6;
  --orange: #f28c28;
  --shadow: 0 18px 48px rgba(15, 55, 99, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 620px),
    var(--paper);
  font-family: "Manrope", "Avenir Next", sans-serif;
}

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

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 5vw, 70px);
  color: #dbeafe;
  background: #071f3d;
  font-size: 0.84rem;
  font-weight: 800;
}

.top-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.top-bar a {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 292px;
}

.brand-logo {
  display: block;
  width: min(292px, 43vw);
  height: 58px;
  object-fit: contain;
  object-position: center;
  border-radius: 3px;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1;
}

.brand small,
.site-footer span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.main-nav a {
  padding: 10px 12px;
  color: #32465d;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-call,
.btn,
.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.header-call,
.btn-primary,
.product-action {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(11, 102, 195, 0.22);
}

.btn-secondary {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid #bfdbfe;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero {
  position: relative;
  min-height: 530px;
  display: grid;
  align-items: center;
  padding: 88px clamp(18px, 5vw, 70px) 42px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 43, 84, 0.86), rgba(7, 60, 122, 0.58) 52%, rgba(7, 60, 122, 0.22)),
    linear-gradient(180deg, transparent 0, rgba(244, 248, 252, 0.18) 100%);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 44%;
}

.hero-content {
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee7ff;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.06rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

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

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 34px;
  display: grid;
  gap: 4px;
  width: min(440px, calc(100% - 36px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel small {
  color: var(--muted);
}

.hero-panel strong {
  color: var(--blue-dark);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.brand-chips span {
  padding: 6px 9px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 22px clamp(18px, 5vw, 70px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.section,
.process-band {
  padding: 74px clamp(18px, 5vw, 70px);
}

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

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

.service-card,
.product-card,
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 55, 99, 0.07);
}

.service-card {
  min-height: 224px;
  padding: 22px;
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 7px;
  font-weight: 800;
}

.service-card p,
.contact-copy p,
.catalog-note {
  color: var(--muted);
  line-height: 1.6;
}

.catalog-section {
  background: #f7fbff;
}

.catalog-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.catalog-count {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  font-weight: 800;
}

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

.product-card {
  display: flex;
  min-height: 450px;
  overflow: hidden;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: grid;
  height: 270px;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 96%;
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(15, 55, 99, 0.14));
}

.discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 8px;
  color: #fff;
  background: var(--orange);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-meta span {
  padding: 5px 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
}

.price-row {
  display: grid;
  gap: 2px;
  margin-top: auto;
  margin-bottom: 12px;
}

.price-row del {
  color: #94a3b8;
  font-size: 0.9rem;
}

.price-row strong {
  color: var(--blue-dark);
  font-size: 1.45rem;
  line-height: 1;
}

.product-action {
  width: 100%;
}

.catalog-note {
  margin: 22px 0 0;
}

.process-band {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), #0b5aa6);
}

.process-band .eyebrow {
  color: #9ee7ff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.process-steps div {
  display: grid;
  gap: 16px;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.process-steps strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1;
}

.process-steps span {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.contact-copy p {
  max-width: 620px;
  font-size: 1.03rem;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-lines a,
.contact-lines span {
  width: fit-content;
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-lines span {
  max-width: 520px;
  line-height: 1.45;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #32465d;
  font-size: 0.9rem;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbddeb;
  border-radius: 7px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: #fff;
  background: #071f3d;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: #9ee7ff;
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(15, 55, 99, 0.22);
}

.float-whatsapp {
  background: #19a862;
}

@media (max-width: 1220px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .service-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .top-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(220px, 58vw);
    height: 48px;
  }

  .header-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 570px;
    padding: 92px 18px 138px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(7, 43, 84, 0.86), rgba(7, 60, 122, 0.54));
  }

  .hero-panel {
    right: 18px;
    bottom: 22px;
  }

  .trust-strip,
  .service-grid,
  .process-steps,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .section,
  .process-band {
    padding: 48px 18px;
  }

  .catalog-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .catalog-count {
    padding: 8px 12px;
  }

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

  .product-visual {
    height: 285px;
  }

  .product-visual img {
    width: 96%;
    height: 265px;
  }

  .site-footer {
    display: grid;
    padding-bottom: 86px;
  }

  .floating-actions {
    left: auto;
    right: 12px;
    bottom: 12px;
  }

.floating-actions a {
    flex: none;
  }
}

.admin-page {
  background: #f4f8fc;
}

.admin-locked .top-bar,
.admin-locked .site-header,
.admin-locked .admin-shell {
  display: none;
}

.admin-unlocked .admin-auth {
  display: none;
}

.admin-auth {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(19, 166, 214, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.admin-auth-card {
  display: grid;
  width: min(420px, 100%);
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.admin-auth-card img {
  width: min(260px, 100%);
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.admin-auth-card h1 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.7rem;
  line-height: 1.15;
}

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

.admin-auth-card label {
  display: grid;
  gap: 7px;
  color: #32465d;
  font-weight: 800;
}

.admin-auth-error {
  min-height: 20px;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-logout {
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-shell {
  padding: 18px clamp(18px, 5vw, 70px) 64px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 55, 99, 0.07);
}

.admin-hero h1 {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.admin-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.35;
}

.admin-summary {
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 12px 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.admin-summary strong {
  font-size: 1.35rem;
}

.admin-summary span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-form,
.admin-products {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 55, 99, 0.07);
}

.admin-form {
  position: sticky;
  top: 96px;
  display: grid;
  max-height: min(620px, calc(100vh - 290px));
  gap: 11px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
}

.admin-form h2 {
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.35rem;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: #32465d;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-form-head,
.admin-toolbar,
.admin-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-preview {
  display: grid;
  min-height: 92px;
  place-items: center;
  background: #fff;
  border: 1px dashed #bfdbfe;
  border-radius: 8px;
}

.admin-preview img {
  max-width: 92%;
  max-height: 86px;
  object-fit: contain;
}

.admin-form-actions {
  position: sticky;
  bottom: -16px;
  z-index: 2;
  margin: 2px -16px -16px;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), #fff 34%);
  border-top: 1px solid var(--line);
}

.admin-form-actions .btn {
  width: 100%;
}

.admin-products {
  padding: 18px;
}

.admin-settings {
  margin-bottom: 16px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-settings form {
  display: grid;
  gap: 12px;
}

.admin-settings h2 {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.2rem;
}

.admin-settings p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-settings label {
  display: grid;
  gap: 6px;
  color: #32465d;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-settings-actions span {
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-toolbar {
  margin-bottom: 16px;
}

.admin-toolbar input {
  max-width: 340px;
}

.admin-toolbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-secondary,
.admin-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-secondary {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
}

.admin-danger {
  color: #fff;
  background: #dc2626;
  border: 1px solid #dc2626;
}

.file-button input {
  display: none;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.admin-product-card span,
.admin-product-card small {
  color: var(--muted);
  font-weight: 800;
}

.admin-product-card h3 {
  margin: 5px 0 7px;
}

.admin-product-card p {
  margin: 0;
}

.admin-product-card strong {
  color: var(--blue-dark);
  font-size: 1.12rem;
}

@media (max-width: 1050px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-form {
    max-height: none;
    overflow: visible;
    position: static;
  }
}

@media (max-width: 720px) {
  .admin-shell {
    padding: 28px 16px 56px;
  }

  .admin-hero,
  .admin-toolbar,
  .admin-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-summary,
  .admin-toolbar input {
    width: 100%;
    max-width: none;
  }

  .admin-toolbar div {
    justify-content: flex-start;
  }

  .admin-form-grid,
  .admin-product-card {
    grid-template-columns: 1fr;
  }

  .admin-product-card img {
    width: 100%;
    height: 170px;
  }

  .admin-card-actions {
    justify-content: flex-start;
  }
}
