:root {
  /* Dark Mode Palette */
  --bg-dark: #12151b;        /* Main dark background */
  --bg-card: #1b2028;        /* Slightly lighter dark for cards, boxes, and sections */
  --bg-card-hover: #222832;  /* Interactive hover surfaces */
  
  --gold: #e2a246;           /* Vivid gold accent */
  --gold-hover: #c4852b;     /* Darker gold for interaction */
  --gold-glow: rgba(226, 162, 70, 0.15); /* Soft gold back-glow */
  
  --ink: #f7f9fa;            /* Primary white/off-white text */
  --muted: #a4acba;          /* Readable secondary text for body copy */
  --border: #2c333e;         /* Subtle dark border line */
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.25);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --radius: 10px;
}

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

html {
  font-size: 15px;           /* Normalized base size to match ~80% appearance */
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: 
    system-ui, 
    -apple-system, 
    BlinkMacSystemFont, 
    "Segoe UI", 
    Roboto, 
    Oxygen, 
    Ubuntu, 
    Cantarell, 
    "Helvetica Neue", 
    sans-serif;
  color: var(--ink);
  background-color: var(--bg-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

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

section {
  padding: 68px 0;
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-header .tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(226, 162, 70, 0.12);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  display: inline-block;
  border: 1px solid rgba(226, 162, 70, 0.3);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(18, 21, 27, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: #cfd4dc;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--gold);
  color: #12151b;
  font-weight: 800;
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-gold {
  background: var(--gold);
  color: #12151b;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(226, 162, 70, 0.3);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(226, 162, 70, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg-dark);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 0;
}

.hero-container {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 27, 0.65);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 60px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: #e5e9f0;
  max-width: 680px;
  margin: 0 auto 30px;
  font-weight: 400;
}

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

/* About Section */
#about {
  background-color: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.about-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-text ol {
  padding-left: 18px;
}

.about-text ol li {
  margin-bottom: 16px;
}

.about-text ol li h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.about-text p {
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.values-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
}

.value-icon {
  background: rgba(226, 162, 70, 0.15);
  color: var(--gold);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(226, 162, 70, 0.3);
}

.about-visual-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.about-spec-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.about-spec-box p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* Services Section */
#services {
  background: #161a22;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow);
}

.service-card .icon {
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}

.service-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Calculator Section */
#calculator {
  background: var(--bg-dark);
}

.calc-box {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #dbe0ea;
}

.form-group select,
.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #12151b;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-item input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.calc-result {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.calc-result .cost-label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.calc-result .cost-val {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  margin: 4px 0;
  letter-spacing: -0.02em;
}

.calc-result .cost-sub {
  font-size: 13.5px;
  color: var(--muted);
}

/* Projects Section */
#projects {
  background: #161a22;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 162, 70, 0.4);
}

.project-img {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  background-color: #0e1117;
}

.achievement-card .project-img {
  height: 260px;
}

.project-meta {
  padding: 18px;
}

.project-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.project-meta h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.project-meta p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-metric {
  display: inline-block;
  background: #12151b;
  border: 1px solid var(--border);
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

/* Achievements Section */
#achievements {
  background: #0d0f14;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-card {
  padding: 12px;
}

.stat-number {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: #cfd4dc;
  font-weight: 500;
}

/* Reviews Section */
#reviews {
  background: var(--bg-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-size: 0.95rem;
  color: #e5e9f0;
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.reviewer-info h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.reviewer-info span {
  font-size: 12.5px;
  color: var(--muted);
}

/* FAQ Section */
#faq {
  background: #161a22;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  user-select: none;
}

.faq-icon {
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Section */
#consultEng, #contact {
  background: var(--bg-dark);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* Direct Connect Section */
.connect-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.icon-phone {
  background: rgba(226, 162, 70, 0.15);
  border: 1px solid rgba(226, 162, 70, 0.3);
  color: var(--gold);
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.icon-instagram {
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.3);
  color: #e1306c;
}

.channel-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.channel-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: monospace, sans-serif;
}

.channel-details p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.channel-action {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.channel-card:hover .channel-action {
  color: var(--gold);
}

/* Footer */
footer {
  background: #0d0f14;
  color: #798292;
  padding: 34px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 13.5px;
  color: #798292;
}

/* Responsiveness */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-grid, .calc-row { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .calc-box, .contact-form { padding: 24px 16px; }
  .connect-grid { grid-template-columns: 1fr; }
}