/* =========================================================
   DROP LOG LLC — Global Stylesheet
   Palette: Red #f4404c / Navy #27345e
   ========================================================= */

:root {
  --red: #f4404c;
  --red-dark: #d92c39;
  --navy: #27345e;
  --navy-dark: #1a223e;
  --navy-light: #3b4a7f;
  --off-white: #f7f8fb;
  --gray-100: #eef0f5;
  --gray-300: #c7cbd6;
  --gray-500: #8890a4;
  --gray-700: #4d5470;
  --white: #ffffff;
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(39, 52, 94, 0.12);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--gray-700); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

ul { padding-left: 20px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-tag {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head { max-width: 700px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }
.bg-navy .section-tag { color: var(--red); }

/* =========================== PRELOADER =========================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 150px;
  animation: pulse 1.2s ease-in-out infinite;
}
.loader-bar {
  position: absolute;
  bottom: 38%;
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  height: 100%;
  width: 40%;
  background: var(--red);
  border-radius: 4px;
  animation: loading-slide 1.1s ease-in-out infinite;
}
@keyframes loading-slide {
  0% { left: -40%; }
  50% { left: 60%; }
  100% { left: 100%; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.8; }
}

/* =========================== NAVBAR =========================== */
.top-strip {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.82rem;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-strip a { color: var(--gray-300); transition: color var(--transition); }
.top-strip a:hover { color: var(--red); }
.top-strip .strip-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.top-strip .strip-item:last-child { margin-right: 0; }

header.main-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.main-nav .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.main-nav .logo img { height: 42px; }
.main-nav nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.main-nav nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.main-nav nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.main-nav nav a:hover, .main-nav nav a.active { color: var(--red); }
.main-nav nav a:hover::after, .main-nav nav a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; }

/* =========================== BUTTONS =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(244,64,76,0.35); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }
.cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================== HERO =========================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(26,34,62,0.92), rgba(39,52,94,0.85));
  color: var(--white);
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .img-placeholder { position: absolute; inset: 0; z-index: -1; opacity: 0.35; }
.hero-content { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,64,76,0.15);
  border: 1px solid rgba(244,64,76,0.4);
  color: var(--red);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p.lead { color: var(--gray-300); font-size: 1.1rem; max-width: 540px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 2rem; color: var(--white); font-family: var(--font-head); }
.hero-stats .stat span { color: var(--gray-300); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.breadcrumb { color: var(--gray-300); font-size: 0.9rem; }
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--red); }

/* =========================== IMAGE PLACEHOLDER =========================== */
.img-placeholder {
  background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, #e3e6ee 12px, #e3e6ee 24px);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-500);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.img-placeholder small {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-500);
  margin-top: 6px;
  font-size: 0.75rem;
}
.img-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.img-placeholder.ratio-4-3 { aspect-ratio: 4/3; }
.img-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
.img-placeholder.ratio-product { aspect-ratio: 1200/1000; }
.img-placeholder.ratio-wide { aspect-ratio: 21/9; }

/* =========================== CARDS / GRIDS =========================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .icon {
  width: 58px; height: 58px;
  background: rgba(244,64,76,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 1.5rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { font-size: 0.93rem; margin-bottom: 14px; }
.service-card a.link-arrow { color: var(--red); font-weight: 700; font-size: 0.88rem; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-700);
}
.feature-list li .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Detailed service block (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-text { order: 2; }
.service-detail.reverse .service-media { order: 1; }
.service-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.service-text h2 { font-size: 1.7rem; margin-bottom: 18px; }
.service-text p { font-size: 0.97rem; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background: var(--red);
  opacity: 0.15;
  border-radius: 50%;
  top: -100px; right: -80px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--gray-300); margin-bottom: 0; }

/* =========================== ABOUT PAGE =========================== */
.value-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  height: 100%;
}
.value-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.timeline { position: relative; padding-left: 30px; border-left: 3px solid var(--gray-100); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gray-100);
}
.timeline-item .year { color: var(--red); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; }

/* =========================== PRODUCTS =========================== */
.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
  position: sticky;
  top: 78px;
  background: var(--white);
  padding: 16px 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-100);
}
.catalog-nav a {
  padding: 9px 18px;
  border-radius: 0;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.catalog-nav a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.category-block { padding: 70px 0; }
.category-block:nth-child(even) { background: var(--off-white); }
.category-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.category-head .cat-icon { font-size: 2rem; color: var(--red); margin-bottom: 10px; }

.subcategory-block { margin-bottom: 55px; }
.subcategory-block:last-child { margin-bottom: 0; }
.subcategory-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  margin-bottom: 26px;
  color: var(--navy);
}
.subcategory-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .product-media { position: relative; }
.product-card .sku-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 50px;
  z-index: 2;
}
.product-card .origin-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  z-index: 2;
}
.product-card .product-body { padding: 22px 24px 26px; }
.product-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card .product-summary { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 14px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 0.85rem; }
.spec-table tr { border-bottom: 1px solid var(--gray-100); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 7px 0; color: var(--gray-700); }
.spec-table td:first-child { font-weight: 700; color: var(--navy); width: 42%; }

.product-card details { margin-bottom: 16px; }
.product-card summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-card summary::-webkit-details-marker { display: none; }
.product-card summary::before { content: "+"; font-size: 1.1rem; }
.product-card details[open] summary::before { content: "\2212"; }
.product-card .details-content { padding-top: 12px; font-size: 0.85rem; }
.product-card .details-content ul { margin: 0; padding-left: 18px; }
.product-card .details-content li { margin-bottom: 6px; color: var(--gray-700); }

.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  padding: 11px 0;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background var(--transition);
}
.quote-btn:hover { background: var(--red); }

/* =========================== MAPS / CONTACT =========================== */
.location-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-card .map-frame { width: 100%; height: 280px; border: 0; display: block; }
.location-card .location-info { padding: 26px 28px; }
.location-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.location-card .addr-line { display: flex; gap: 10px; color: var(--gray-700); font-size: 0.93rem; margin-bottom: 14px; }
.location-card .addr-line i { color: var(--red); margin-top: 3px; }
.location-card .map-link { color: var(--red); font-weight: 700; font-size: 0.87rem; }

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.contact-box .icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  background: rgba(244,64,76,0.1);
  color: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-box h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-box a, .contact-box p { color: var(--gray-700); font-size: 0.93rem; margin: 0; }
.contact-box a:hover { color: var(--red); }

/* =========================== FOOTER =========================== */
footer.main-footer { background: var(--off-white); border-top: 1px solid var(--gray-100); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr 1fr;
  gap: 34px;
  padding-bottom: 50px;
}
.footer-grid .logo img { height: 44px; margin-bottom: 18px; }
.footer-grid p { font-size: 0.9rem; }
.footer-col h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--gray-700); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-col .addr-item { display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.88rem; color: var(--gray-700); }
.footer-col .addr-item i { color: var(--red); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--gray-300);
  padding: 22px 0;
  font-size: 0.83rem;
  color: var(--gray-500);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.legal-links a { color: var(--gray-500); font-size: 0.83rem; transition: color var(--transition); }
.legal-links a:hover { color: var(--red); }

/* =========================== ANIMATIONS =========================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail.reverse .service-text,
  .service-detail.reverse .service-media { order: unset; }
  .contact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px; background: var(--navy-dark); flex-direction: column; padding: 100px 30px 30px; transition: right var(--transition); z-index: 400; }
  .main-nav nav.open { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.3); }
  .main-nav nav ul { flex-direction: column; gap: 22px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 130px 0 70px; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .cta-group { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
  .top-strip .container { justify-content: center; text-align: center; }
  .catalog-nav { top: 0; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .legal-links { justify-content: center; }
}
