/* ==========================================================================
   Logipak — main stylesheet
   Color values match the original site exactly:
   Primary (dark blue) hsl(208 77% 25%) / Secondary (green) hsl(149 62% 44%)
   Background hsl(210 17% 96%) / Font: Montserrat
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0c2e57;
  --primary-foreground: #ffffff;
  --secondary: #1c9347;
  --secondary-hover: #167a3b;
  --secondary-foreground: #ffffff;
  --background: hsl(210 17% 96%);
  --foreground: hsl(222 47% 11%);
  --card: #ffffff;
  --muted: hsl(210 17% 93%);
  --muted-foreground: #6b6f76;
  --border: hsl(214 32% 91%);
  --radius: 0.5rem;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 640px) {
  .container { padding: 0 2rem; }
  .service-card, .benefit-card, .pricing-card, .info-box { padding: 1.25rem; }
  .step-number-wrap { margin-bottom: 0.5rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { background: var(--secondary-hover); }
.btn-outline { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-block { width: 100%; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 248, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo img { height: 2.5rem; width: auto; }

.main-nav { display: none; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(16, 24, 40, 0.7);
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions-desktop { display: none; align-items: center; gap: 1rem; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  font-family: inherit;
  padding: 0.25rem;
}
.lang-switch-btn .flag { font-size: 1.1rem; line-height: 1; }
.flag-icon { border-radius: 2px; display: inline-block; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  min-width: 10rem;
  padding: 0.4rem;
  z-index: 60;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.9rem;
  color: var(--foreground);
}
.lang-menu a:hover { background: var(--muted); }

/* Mobile menu toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav { display: none; padding-top: 1.25rem; padding-bottom: 1.25rem; border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(16, 24, 40, 0.7);
}
.mobile-nav a.active { color: var(--primary); }
.mobile-nav .btn { margin-top: 1rem; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-actions-desktop { display: flex; }
  .header-actions-mobile { display: none; }
  .mobile-nav { display: none !important; }
}

/* ===================== HERO SECTIONS ===================== */
.hero-simple {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--muted), var(--background));
}
.hero-simple .hero-content { max-width: 48rem; }
.hero-simple h1 { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.15; }
.hero-simple p { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }

.hero-home {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-home .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-home .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,28,54,0.97), rgba(10,37,71,0.88), rgba(12,46,87,0.65));
}
.hero-home .hero-inner { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.hero-home .hero-content { max-width: 42rem; }
.hero-home h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 1.5rem; color: #fff; }
.hero-home p { font-size: 1.15rem; color: rgba(255,255,255,0.92); line-height: 1.7; margin-bottom: 2rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (min-width: 768px) {
  .hero-simple h1, .hero-home h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-home h1 { font-size: 3.5rem; }
}

/* ===================== TRUST STRIP ===================== */
.trust-strip { background: var(--card); padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 500; }
.trust-item .icon { color: var(--secondary); flex-shrink: 0; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SECTIONS ===================== */
.section { padding: 5rem 0; }
.section-muted { background: var(--muted); }
.section-primary { background: var(--primary); color: #fff; }
.section-title { margin-bottom: 3rem; }
.section-title.centered { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: 2rem; margin-bottom: 1rem; }
.section-title p { color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.6; }
.section-primary .section-title p { color: rgba(255,255,255,0.85); }

/* ===================== CARDS: SERVICES / BENEFITS ===================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card, .benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
.icon-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(12,46,87,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.icon-badge svg { width: 1.75rem; height: 1.75rem; }
.service-card h3, .benefit-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p, .benefit-card p { color: var(--muted-foreground); font-size: 0.95rem; line-height: 1.6; }

/* ===================== SERVICES PAGE — detailed rows ===================== */
.service-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.service-row:last-child { margin-bottom: 0; }
.service-row h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.service-row .desc { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--foreground); }
.feature-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); margin-top: 0.5rem; flex-shrink: 0; }
.service-row .img-wrap { aspect-ratio: 4 / 3; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.service-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row.reverse .img-wrap { order: -1; }
}

.info-box { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; }
.info-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.info-box p { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1rem; }
.info-box p:last-child { margin-bottom: 0; }

/* ===================== HOW IT WORKS — steps ===================== */
.step { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; position: relative; }
.step:last-child { margin-bottom: 0; }
.step-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.step-number-wrap { position: relative; flex-shrink: 0; }
.step-number { font-size: 3.5rem; font-weight: 800; color: rgba(12,46,87,0.1); font-variant-numeric: tabular-nums; }
.step-icon-badge { position: absolute; top: 1rem; left: 0; }
.step-body h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.step-body .desc { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
.step-details { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.step-details li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
@media (min-width: 640px) {
  .step-head { flex-direction: row; }
  .step-details { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .step-head { flex-direction: row; }
}

/* ===================== PRICING ===================== */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card.highlight { background: rgba(28,147,71,0.1); border: 2px solid var(--secondary); }
.pricing-card .icon-badge { width: 3rem; height: 3rem; }
.pricing-card.highlight .icon-badge { background: rgba(28,147,71,0.2); color: var(--secondary); }
.pricing-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pricing-card p { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 1rem; }
.pricing-card .note { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted-foreground); }
.pricing-card.highlight .note { border-color: rgba(28,147,71,0.2); color: var(--secondary); font-weight: 600; }

.shipping-note { display: flex; align-items: flex-start; gap: 1rem; }
.shipping-note .icon { color: var(--secondary); flex-shrink: 0; margin-top: 0.25rem; }
.shipping-note h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.shipping-note p { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1rem; }
.shipping-note p.small { font-size: 0.9rem; margin-bottom: 0; }

/* ===================== FAQ ACCORDION ===================== */
.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
}
.accordion-trigger .chevron { transition: transform 0.2s ease; flex-shrink: 0; margin-left: 1rem; }
.accordion-item.open .accordion-trigger .chevron { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 1.5rem; }
.accordion-item.open .accordion-content { max-height: 40rem; padding-bottom: 1.25rem; }
.accordion-content p { color: var(--muted-foreground); line-height: 1.7; }

.still-questions { text-align: center; }
.still-questions h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.still-questions p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.still-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .still-actions { flex-direction: row; } }

/* ===================== CONTACT PAGE ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info h2 { font-size: 1.5rem; margin-bottom: 2rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-row .icon-badge { width: 3rem; height: 3rem; margin-bottom: 0; flex-shrink: 0; }
.contact-row .icon-badge svg { width: 1.5rem; height: 1.5rem; }
.contact-row .label { font-weight: 600; margin-bottom: 0.25rem; }
.contact-row .value { color: var(--muted-foreground); }
.contact-row a.value:hover { color: var(--primary); }

.hours-box { margin-top: 2rem; padding: 1.5rem; background: var(--muted); border-radius: 0.75rem; }
.hours-box h3 { font-weight: 600; margin-bottom: 0.75rem; }
.hours-box p { font-size: 0.9rem; color: var(--muted-foreground); margin-bottom: 0.4rem; }

.contact-form-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-group textarea { resize: vertical; }
.form-alert { padding: 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.9rem; }
.form-alert.success { background: rgba(28,147,71,0.12); color: var(--secondary-hover); border: 1px solid rgba(28,147,71,0.3); }
.form-alert.error { background: hsla(0,84%,60%,0.1); color: hsl(0,70%,45%); border: 1px solid hsla(0,84%,60%,0.3); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.9); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.footer-logo img { height: 2.5rem; margin-bottom: 1.5rem; }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; opacity: 0.9; }
.footer-col-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; display: block; }
.footer-nav a { display: block; font-size: 0.9rem; opacity: 0.9; padding: 0.35rem 0; }
.footer-nav a:hover { opacity: 1; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; opacity: 0.9; }
.footer-copyright { text-align: center; font-size: 0.85rem; opacity: 0.8; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.2); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.7fr; } }

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
