:root {
  --black: #0a0a0a;
  --black-soft: #161616;
  --red: #e30613;
  --red-dark: #b3050f;
  --white: #ffffff;
  --gray: #b8b8b8;
  --gray-light: #f4f4f4;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

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

/* ===== Header ===== */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  height: 56px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--red);
  color: var(--white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-block {
  display: block;
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}

.hero .tagline {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

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

/* ===== Page header (inner pages) ===== */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  border-bottom: 4px solid var(--red);
}

.page-header h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--gray);
}

/* ===== Sections ===== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 46px;
}

.section-title .eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2rem;
}

.section-title p {
  color: #555;
  max-width: 600px;
  margin: 14px auto 0;
}

.bg-light {
  background: var(--gray-light);
}

.bg-black {
  background: var(--black);
  color: var(--white);
}

/* ===== Cards grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: #555;
  font-size: 0.96rem;
}

/* ===== Values (dark) ===== */
.value-card {
  background: var(--black-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  border: 1px solid #262626;
}

.value-card .icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 14px;
}

.value-card h3 {
  margin-bottom: 8px;
}

.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== About page ===== */
.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-flex .about-text {
  flex: 1.2;
}

.about-flex .about-media {
  flex: 1;
  background: var(--black);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.about-flex .about-media img {
  margin: 0 auto;
}

.about-text h2 {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 16px;
  color: #444;
}

/* ===== Services page ===== */
.service-category {
  margin-bottom: 50px;
}

.service-category h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.98rem;
}

.service-list li::before {
  content: "\2713";
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.cta-banner p {
  margin-bottom: 26px;
  opacity: 0.95;
}

.cta-banner .btn-outline {
  border-color: var(--white);
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 {
  margin-bottom: 24px;
  color: var(--red);
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-item .icon {
  color: var(--red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
}

.contact-item span,
.contact-item a {
  color: var(--gray);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  color: var(--gray);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-grid img {
  height: 50px;
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 0.92rem;
}

.footer-grid ul li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-grid ul li a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid #262626;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== WhatsApp floating button ===== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-bubble {
  position: relative;
  max-width: 230px;
  background: var(--white);
  color: var(--black);
  padding: 14px 30px 14px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}

.whatsapp-bubble-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px 6px;
}

.whatsapp-bubble-close:hover {
  color: var(--black);
}

.whatsapp-float {
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-flex {
    flex-direction: column;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 81px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 3px solid var(--red);
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 20px 20px;
  }

  .header-cta .btn-primary {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
