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

:root {
  --primary: #0055a5;
  --primary-dark: #003d7a;
  --primary-light: #e8f0fe;
  --dark: #0a1628;
  --dark-2: #1a2a44;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --white: #ffffff;
  --success: #198754;
  --danger: #dc3545;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --transition: all .3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.logo img { height: 42px; width: auto; }

.desktop-nav { display: flex; gap: 4px; align-items: center; }
.desktop-nav a, .desktop-nav .nav-dropdown > span {
  padding: 8px 16px; font-size: .875rem; font-weight: 600;
  color: var(--gray-700); text-transform: uppercase; letter-spacing: .5px;
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.desktop-nav a:hover, .desktop-nav a.active,
.desktop-nav .nav-dropdown:hover > span {
  color: var(--primary); background: var(--primary-light);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px; font-size: .85rem;
  color: var(--gray-700); font-weight: 500;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-label {
  padding: 8px 20px; font-size: .75rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: 1px;
}

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--gray-900);
  transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Sidebar */
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 998; opacity: 0; visibility: hidden; transition: var(--transition);
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--white); z-index: 999; padding: 80px 24px 24px;
  transition: var(--transition); overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.1);
}
.mobile-sidebar.active { right: 0; }
.mobile-sidebar a {
  display: block; padding: 14px 0; font-size: 1rem; font-weight: 600;
  color: var(--gray-700); border-bottom: 1px solid var(--gray-200);
  text-transform: uppercase;
}
.mobile-sidebar a:hover { color: var(--primary); }
.mobile-sub-label {
  font-size: .75rem; color: var(--primary); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; padding: 14px 0 4px;
}
.mobile-sub a { padding-left: 16px; font-size: .9rem; }

/* HERO SLIDER */
.hero-slider {
  position: relative; height: 85vh; min-height: 500px;
  overflow: hidden; margin-top: 72px;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55);
}
.hero-slide-content {
  position: absolute; inset: 0; display: flex;
  align-items: center; padding: 0 5%;
}
.hero-slide-text { max-width: 600px; color: var(--white); }
.hero-slide-text h1 {
  font-size: 3.5rem; font-weight: 900; line-height: 1.1;
  margin-bottom: 16px; text-transform: uppercase;
}
.hero-slide-text p {
  font-size: 1.15rem; font-weight: 300; margin-bottom: 24px;
  opacity: .9; line-height: 1.7;
}
.hero-indicators {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 12px;
}
.hero-indicator {
  width: 40px; height: 4px; background: rgba(255,255,255,.4);
  border-radius: 2px; cursor: pointer; border: none; transition: var(--transition);
}
.hero-indicator.active { background: var(--white); width: 56px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; font-size: .9rem; font-weight: 600;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-primary {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,85,165,.3);
  color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white); color: var(--primary);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark); color: var(--white); border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2); transform: translateY(-2px);
  color: var(--white);
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 2.5rem; font-weight: 800; color: var(--primary);
  text-transform: uppercase; margin-bottom: 12px;
}
.section-header p {
  font-size: 1.1rem; color: var(--gray-500); max-width: 600px;
  margin: 0 auto; font-weight: 300;
}
.section-divider {
  width: 60px; height: 4px; background: var(--primary);
  margin: 16px auto 0; border-radius: 2px;
}
.section-alt { background: var(--gray-100); }

/* PRODUCT CARDS (home) */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); cursor: pointer;
  border: 1px solid var(--gray-200);
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.product-card-img {
  height: 240px; overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.product-card-body h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 8px;
  text-transform: uppercase; color: var(--dark);
}
.product-card-body p {
  font-size: .9rem; color: var(--gray-500); line-height: 1.6;
  margin-bottom: 16px;
}

/* PROMISE / VISION */
.dual-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.dual-block {
  padding: 64px 48px; display: flex; flex-direction: column;
  justify-content: center;
}
.dual-block:first-child { background: var(--primary); color: var(--white); }
.dual-block:last-child { background: var(--dark); color: var(--white); }
.dual-block h2 {
  font-size: 2rem; font-weight: 800; text-transform: uppercase;
  margin-bottom: 16px;
}
.dual-block p { font-size: 1rem; font-weight: 300; line-height: 1.8; opacity: .9; }

/* DIRECTORS */
.directors-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.director-card { text-align: center; }
.director-card img {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 20px;
  border: 4px solid var(--primary); box-shadow: var(--shadow);
}
.director-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.director-card .role {
  font-size: .9rem; color: var(--primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; margin-top: 4px;
}
.director-card p {
  font-size: .9rem; color: var(--gray-500); margin-top: 12px;
  line-height: 1.6;
}

/* PRODUCT DETAIL PAGE */
.product-hero {
  position: relative; height: 50vh; min-height: 360px;
  display: flex; align-items: center; margin-top: 72px;
  overflow: hidden;
}
.product-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.4);
}
.product-hero-content {
  position: relative; z-index: 1; padding: 0 5%;
  max-width: 700px; color: var(--white);
}
.product-hero-content .breadcrumb {
  font-size: .85rem; margin-bottom: 12px; opacity: .7;
}
.product-hero-content h1 {
  font-size: 3.5rem; font-weight: 900; text-transform: uppercase;
  margin-bottom: 8px;
}
.product-hero-content .tagline {
  font-size: 1.4rem; font-weight: 300; line-height: 1.4;
}

.product-overview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.product-overview img { border-radius: var(--radius); }
.product-overview-text h2 {
  font-size: 2rem; font-weight: 800; color: var(--primary);
  text-transform: uppercase; margin-bottom: 16px;
}
.product-overview-text p {
  font-size: 1rem; color: var(--gray-700); line-height: 1.8;
  margin-bottom: 12px;
}

/* ADVANTAGES GRID */
.advantages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.advantage-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.advantage-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.advantage-icon {
  height: 56px; width: 56px; background: var(--primary-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.advantage-icon svg { width: 28px; height: 28px; color: var(--primary); }
.advantage-card-img { height: 180px; overflow: hidden; }
.advantage-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.advantage-card:hover .advantage-card-img img { transform: scale(1.05); }
.advantage-card-body { padding: 24px; }
.advantage-card-body h4 {
  font-size: 1rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; margin-bottom: 8px;
}
.advantage-card-body p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* VIDEO SECTION */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.video-card iframe {
  width: 100%; aspect-ratio: 16/9; border: none;
  border-radius: var(--radius);
}
.video-card h4 {
  margin-top: 12px; font-size: .95rem; font-weight: 500; color: var(--gray-700);
}

/* CONTACT FORM */
.contact-section {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px;
}
.contact-info {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white); padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-info h2 {
  font-size: 2.2rem; font-weight: 800; margin-bottom: 8px;
}
.contact-info .sub { color: var(--primary); font-size: .9rem; font-weight: 600; margin-bottom: 24px; text-transform: uppercase; }
.contact-info p { font-weight: 300; line-height: 1.8; opacity: .85; margin-bottom: 24px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.contact-info-item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }
.contact-info-item span { font-size: .9rem; opacity: .85; }

.contact-form-wrap {
  background: var(--primary); color: var(--white);
  padding: 48px;
}
.contact-form-wrap p { font-size: .9rem; margin-bottom: 20px; opacity: .9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px; background: rgba(255,255,255,.1);
  color: var(--white); font-family: inherit; font-size: .9rem;
  transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,.5);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--white);
  background: rgba(255,255,255,.15);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { color: var(--dark); }
.privacy-check {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8rem; margin: 16px 0; opacity: .85;
}
.privacy-check input { margin-top: 3px; }
.form-success {
  background: var(--success); color: var(--white); padding: 16px;
  border-radius: var(--radius); text-align: center; margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }

/* ABOUT PAGE */
.about-hero {
  margin-top: 72px; padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white); text-align: center;
}
.about-hero h1 { font-size: 3rem; font-weight: 900; text-transform: uppercase; }
.about-hero p { font-size: 1.1rem; font-weight: 300; margin-top: 12px; opacity: .8; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { font-size: 1.05rem; line-height: 1.9; color: var(--gray-700); margin-bottom: 20px; }

/* SUSTAINABILITY PAGE */
.sustain-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.sustain-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  text-align: center; transition: var(--transition);
}
.sustain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sustain-card .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 20px;
}
.sustain-card .icon svg { width: 32px; height: 32px; color: var(--primary); }
.sustain-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.sustain-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* ADMIN PANEL */
.admin-login {
  margin-top: 72px; min-height: calc(100vh - 72px);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
}
.admin-login-box {
  background: var(--white); padding: 48px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; text-align: center;
}
.admin-login-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; color: var(--dark); }
.admin-login-box input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
  border-radius: 4px; font-size: 1rem; margin-bottom: 16px; font-family: inherit;
}
.admin-login-box input:focus { outline: none; border-color: var(--primary); }
.admin-error { color: var(--danger); font-size: .85rem; margin-bottom: 12px; display: none; }
.admin-error.show { display: block; }

.admin-dashboard { margin-top: 72px; padding: 32px 0; min-height: calc(100vh - 72px); background: var(--gray-100); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.admin-stats { display: flex; gap: 16px; margin-bottom: 24px; }
.admin-stat {
  background: var(--white); padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); flex: 1;
}
.admin-stat .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.admin-stat .label { font-size: .8rem; color: var(--gray-500); text-transform: uppercase; }

.leads-table {
  width: 100%; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.leads-table table { width: 100%; border-collapse: collapse; }
.leads-table th {
  background: var(--dark); color: var(--white); padding: 14px 16px;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .5px;
  text-align: left; font-weight: 600;
}
.leads-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--gray-200);
  font-size: .85rem; color: var(--gray-700);
}
.leads-table tr:hover td { background: var(--primary-light); }
.leads-table .delete-btn {
  background: none; border: none; color: var(--danger);
  cursor: pointer; font-size: .85rem; font-weight: 600;
}

/* FOOTER */
.site-footer {
  background: var(--gray-100); padding: 48px 0 0;
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; color: var(--gray-500); line-height: 1.6; }
.footer-col h4 {
  font-size: .85rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: .85rem; color: var(--gray-700);
  padding: 4px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  background: var(--dark); color: var(--white); padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.footer-bottom p { font-size: .8rem; opacity: .7; }
.footer-address { font-size: .8rem; opacity: .7; }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px;
  background: var(--primary); color: var(--white); border: none;
  border-radius: 50%; cursor: pointer; display: none;
  align-items: center; justify-content: center; z-index: 900;
  box-shadow: var(--shadow); transition: var(--transition);
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.scroll-top svg { width: 24px; height: 24px; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .products-grid, .advantages-grid, .sustain-cards { grid-template-columns: 1fr 1fr; }
  .dual-section, .contact-section, .product-overview { grid-template-columns: 1fr; }
  .directors-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide-text h1 { font-size: 2.5rem; }
  .product-hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .products-grid, .advantages-grid, .sustain-cards,
  .directors-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-slide-text h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.8rem; }
  .section { padding: 48px 0; }
  .hero-slider { height: 70vh; }
  .contact-info, .contact-form-wrap { padding: 36px 24px; }
  .dual-block { padding: 40px 24px; }
  .admin-stats { flex-direction: column; }
  .leads-table { overflow-x: auto; }
  .leads-table table { min-width: 700px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* PAGE TRANSITION */
#app { opacity: 1; transition: opacity .2s ease; }
#app.fade { opacity: 0; }
