/* ProService Fish — Hostinger (HTML/CSS/JS/PHP) */
:root {
  --brand-200: #b0e2e9;
  --brand-600: #267892;
  --brand-700: #246378;
  --brand-800: #235263;
  --brand-900: #214555;
  --brand-950: #102830;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #fff;
  --emerald-600: #059669;
  --rose-600: #e11d48;
  --shadow: 0 4px 24px rgba(15, 40, 48, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --max: 72rem;
  --header-h: 3.5rem;
  --touch-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.5;
  overflow-x: clip;
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

a {
  color: var(--brand-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Menu backdrop (mobile / tablet < 900px) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@media (max-width: 899px) {
  body.nav-open .nav-backdrop {
    display: block;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem max(1rem, env(safe-area-inset-right))
    0.65rem max(1rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  position: relative;
  min-height: var(--header-h);
}
@media (min-width: 640px) {
  .header-inner {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 1rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(0.62rem, 1.8vw, 0.7rem);
  color: var(--brand-900);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}
.logo-text {
  line-height: 1.15;
  min-width: 0;
}
@media (max-width: 360px) {
  .logo-text {
    display: none;
  }
}
.logo-text span {
  color: var(--brand-600);
}
.logo-img {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.nav-main {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-main a {
  color: var(--slate-600);
  text-decoration: none;
}
.nav-main a:hover {
  color: var(--brand-800);
}

@media (min-width: 900px) {
  .nav-main {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--slate-100);
  border-radius: 999px;
  border: 1px solid var(--slate-200);
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 2.5rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.lang-pill:hover {
  background: var(--white);
  text-decoration: none;
}
.lang-pill.is-active {
  background: var(--brand-700);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-900);
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

body.nav-open .site-header {
  z-index: 100;
}

body.nav-open .nav-main {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  transform: none;
  padding: 0.5rem 0.75rem 1rem;
  margin-top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
  gap: 0;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.nav-open .nav-main a {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}
body.nav-open .nav-main a:hover {
  background: var(--slate-50);
}
body.nav-open .nav-main a:active {
  background: var(--slate-100);
}

.site-main {
  min-height: 50vh;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(20rem, 72dvh, 52rem);
  display: flex;
  align-items: center;
  background: var(--brand-950) center / cover no-repeat;
  background-image: linear-gradient(
      105deg,
      rgba(15, 40, 48, 0.9) 0%,
      rgba(15, 40, 48, 0.58) 48%,
      rgba(15, 40, 48, 0.36) 100%
    ),
    var(--hero-img);
}
@media (min-width: 768px) {
  .hero {
    min-height: min(78vh, 52rem);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4rem) max(1rem, env(safe-area-inset-left))
    clamp(2.5rem, 8vw, 4rem) max(1rem, env(safe-area-inset-right));
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.95);
  margin: 0 0 1rem;
}

.hero-title {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.45rem, 5vw + 0.35rem, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  text-wrap: balance;
}

.hero-sub {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16, 40, 48, 0.35);
}
.btn-primary:hover {
  background: #2a8fa5;
  color: var(--white);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid var(--slate-300, #cbd5e1);
  background: var(--white);
  color: var(--slate-800);
}
.btn-secondary:hover {
  border-color: var(--brand-600);
  color: var(--brand-800);
}

.btn-small {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  background: rgba(38, 120, 146, 0.1);
  color: var(--brand-800);
  border: 1px solid rgba(38, 120, 146, 0.25);
}
.btn-small:hover {
  background: rgba(38, 120, 146, 0.18);
}

.btn-wa {
  background: var(--emerald-600);
  color: var(--white);
}
.btn-wa:hover {
  background: #10b981;
  color: var(--white);
}

.hero-meta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 639px) {
  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-meta > div {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-meta > div:last-of-type {
    border-bottom: none;
  }
  .hero-credit {
    margin-top: 0.5rem;
    align-self: flex-start;
  }
}
@media (min-width: 640px) {
  .hero-meta {
    align-items: flex-end;
  }
}

@media (max-width: 639px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 22rem;
  }
}
.hero-meta strong {
  display: block;
  color: rgba(186, 230, 253, 0.95);
  margin-bottom: 0.2rem;
}
.hero-credit {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Features */
.features-wrap {
  position: relative;
  z-index: 5;
  margin-top: clamp(-2rem, -8vw, -3.5rem);
  padding: 0 max(1rem, env(safe-area-inset-left)) 1rem
    max(1rem, env(safe-area-inset-right));
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .features-wrap {
    margin-top: -3.5rem;
  }
}

.features {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}
.feature-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--brand-900);
}
.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* Catalog home */
.catalog-section {
  padding: clamp(2rem, 5vw, 3rem) max(1rem, env(safe-area-inset-left)) 3.5rem
    max(1rem, env(safe-area-inset-right));
  max-width: var(--max);
  margin: 0 auto;
}

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 639px) {
  .catalog-head {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-head .catalog-link {
    align-self: flex-start;
  }
}
.catalog-title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: var(--slate-900);
}
.catalog-sub {
  margin: 0.35rem 0 0;
  color: var(--slate-600);
  max-width: 36rem;
}
.catalog-link {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.catalog-empty {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--slate-600);
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 40, 48, 0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(15, 40, 48, 0.1);
  border-color: rgba(38, 120, 146, 0.35);
}

.product-card-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}
.badge-ok {
  background: var(--emerald-600);
  color: var(--white);
}
.badge-out {
  background: var(--rose-600);
  color: var(--white);
}

.product-card-body {
  padding: 1rem 1.1rem 1.15rem;
}
.product-card-body h3 {
  margin: 0;
  font-size: 1rem;
}
.product-card-body h3 a {
  color: var(--slate-900);
  text-decoration: none;
}
.product-card-body h3 a:hover {
  color: var(--brand-800);
  text-decoration: underline;
}
.product-excerpt {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--slate-600);
  line-height: 1.45;
}
.product-card-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 399px) {
  .product-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .product-card-foot .btn-small {
    width: 100%;
    justify-content: center;
  }
}
.price-tag {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-700);
}

/* Inner pages */
.page-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) max(1rem, env(safe-area-inset-left)) 3rem
    max(1rem, env(safe-area-inset-right));
}
@media (min-width: 768px) {
  .page-block {
    padding-bottom: 4rem;
  }
}
.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--slate-900);
}
.page-intro {
  margin: 0.5rem 0 0;
  color: var(--slate-600);
  max-width: 40rem;
}

.contact-card {
  margin-top: 2rem;
  max-width: 36rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}
.contact-card a {
  word-break: break-word;
}
.contact-row {
  margin-bottom: 1.25rem;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 0.25rem;
}

.back-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2rem);
  }
}

.detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
}
.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-info h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: var(--slate-900);
  line-height: 1.2;
  text-wrap: balance;
}
.detail-info .badge {
  vertical-align: middle;
}
.price-big {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-700);
  margin: 0 0 1rem;
}
.detail-desc {
  color: var(--slate-600);
  line-height: 1.6;
}
.stock-line {
  font-size: 0.875rem;
  color: var(--slate-500, #64748b);
  margin-top: 1rem;
}
.detail-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 639px) {
  .detail-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .detail-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--slate-200);
  background: rgba(241, 245, 249, 0.95);
  padding: 2.5rem max(1rem, env(safe-area-inset-left)) max(2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
}
@media (min-width: 768px) {
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-brand {
  color: var(--brand-900);
}
.footer-tag {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin: 0.5rem 0 0;
  max-width: 22rem;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin: 0 0 0.75rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}
.footer-links li {
  margin-bottom: 0.15rem;
}
.footer-links a {
  display: inline-block;
  color: var(--slate-600);
  padding: 0.35rem 0;
  min-height: var(--touch-min);
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: 50%;
  background: var(--emerald-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.45);
  text-decoration: none;
  transition: transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wa-float:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .wa-float {
    transition: none;
  }
  .wa-float:hover {
    transform: none;
  }
}
