*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #4a7d7d;
  --bg-dark: #3a6666;
  --bg-card: #3d6e6e;
  --accent: #e8e0d0;
  --accent-strong: #ffffff;
  --text: #f0ebe2;
  --text-muted: #c8c0b0;
  --border: rgba(232,224,208,0.18);
  --stamp-font: 'Oswald', 'Impact', sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(45, 80, 80, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--stamp-font);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(232,224,208,0.1);
  color: var(--accent-strong);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2d5050;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 200px;
  padding: 16px 8px 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dropdown-menu a:hover {
  background: rgba(232,224,208,0.1);
  color: var(--accent-strong);
}

.dropdown-menu .product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(232,224,208,0.15);
  color: var(--accent);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-cta {
  background: var(--accent) !important;
  color: #2d5050 !important;
  font-weight: 600 !important;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--accent-strong) !important;
  color: #2d5050 !important;
}

/* ── HERO ── */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}

@keyframes stamp-in {
  0%   { transform: scale(1.07) translateY(-6px); opacity: 0; filter: url(#stamp) blur(3px) contrast(2); }
  55%  { transform: scale(0.982) translateY(2px); opacity: 1; filter: url(#stamp) blur(0px) contrast(1.2); }
  100% { transform: scale(1) translateY(0);       opacity: 1; filter: url(#stamp) contrast(1.05); }
}

@keyframes stamp-wear {
  0%,100% { filter: url(#stamp) contrast(1.05) brightness(1);    }
  30%     { filter: url(#stamp) contrast(1.09) brightness(0.975); }
  65%     { filter: url(#stamp) contrast(1.02) brightness(1.015); }
}

.hero-logo {
  font-family: var(--stamp-font);
  font-size: clamp(3.5rem, 10vw, 7rem);
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.35),
    -1px -1px 0 rgba(0,0,0,0.15),
    0 0 40px rgba(232,224,208,0.08);
  margin-bottom: 12px;
  animation:
    stamp-in  0.55s cubic-bezier(0.16, 1, 0.3, 1) both,
    stamp-wear 12s ease-in-out 0.55s infinite;
}

.hero-tagline {
  font-family: var(--stamp-font);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-tagline span { margin: 0 8px; opacity: 0.5; }

.hero-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-desc strong { color: var(--accent); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 56px;
}

.page-hero .section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.page-hero .section-label { margin-bottom: 10px; }
.page-hero .section-title { margin-bottom: 12px; }
.page-hero .section-sub { margin-bottom: 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

.btn-primary {
  background: var(--accent);
  color: #2d5050;
}

.btn-primary:hover { background: var(--accent-strong); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { background: rgba(232,224,208,0.08); }

/* ── SECTION SHARED ── */
section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--stamp-font);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--stamp-font);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  border-color: rgba(232,224,208,0.35);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(232,224,208,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: var(--stamp-font);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PRODUCTS ── */
.products-section-bg { background: rgba(0,0,0,0.08); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(232,224,208,0.4);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(232,224,208,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.product-name {
  font-family: var(--stamp-font);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.product-link::after { content: '→'; }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.why-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.why-number {
  font-family: var(--stamp-font);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── OVERVIEW CARDS (index.html) ── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  border-color: rgba(232,224,208,0.35);
}

.overview-card .oc-icon {
  font-size: 1.6rem;
}

.overview-card h3 {
  font-family: var(--stamp-font);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.overview-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.overview-card .oc-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.overview-card .oc-link::after { content: ' →'; }

/* ── CTA BAND ── */
.cta-band {
  background: rgba(0,0,0,0.12);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--stamp-font);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact-info h3 {
  font-family: var(--stamp-font);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(232,224,208,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-text a {
  font-size: 0.95rem;
  color: var(--accent);
}

/* ── FOOTER ── */
footer {
  padding: 48px 24px 32px;
  background: rgba(0,0,0,0.15);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand-name {
  font-family: var(--stamp-font);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--stamp-font);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 24px;
}

/* ── RESPONSIVE ── */
@keyframes stamp-in-light {
  0%   { transform: scale(1.05) translateY(-4px); opacity: 0; filter: url(#stamp-light) blur(2px) contrast(1.5); }
  55%  { transform: scale(0.99) translateY(1px);  opacity: 1; filter: url(#stamp-light) blur(0px) contrast(1.1); }
  100% { transform: scale(1) translateY(0);        opacity: 1; filter: url(#stamp-light) contrast(1.03); }
}

@keyframes stamp-wear-light {
  0%,100% { filter: url(#stamp-light) contrast(1.03) brightness(1);    }
  40%     { filter: url(#stamp-light) contrast(1.06) brightness(0.98); }
  70%     { filter: url(#stamp-light) contrast(1.01) brightness(1.01); }
}

@media (max-width: 720px) {
  .hero-logo {
    animation:
      stamp-in-light  0.55s cubic-bezier(0.16, 1, 0.3, 1) both,
      stamp-wear-light 12s ease-in-out 0.55s infinite;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 72px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
}
