/* Concreto Lavabi – Handyfix-inspired theme */
:root {
  --blue: #4a90e2;
  --blue-dark: #357abd;
  --gold: #ffd700;
  --gold-dark: #e6c200;
  --dark: #1a1a2e;
  --footer-bg: #1e1e2a;
  --text: #555;
  --heading: #222;
  --white: #fff;
  --border: #e8e8e8;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

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

/* Top bar */
.top-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.top-bar a {
  color: var(--white);
  margin-right: 18px;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-left: 6px;
  margin-right: 0;
  font-size: 12px;
}

/* Main header */
.main-header {
  background: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.main-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: inline-block;
}

.logo-link img,
.logo-link svg {
  height: 52px;
  width: auto;
}

.header-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-block strong {
  display: block;
  color: var(--heading);
  font-size: 14px;
}

.info-block span {
  font-size: 13px;
  color: var(--text);
}

/* Navigation */
.nav-bar {
  background: var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 18px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 16px 18px;
  color: var(--dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 0, 0, 0.08);
  color: var(--dark);
}

/* Hero slider */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-slide {
  display: none;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  align-items: center;
}

.hero-slide.active {
  display: flex;
}

.hero-overlay {
  width: 100%;
  background: linear-gradient(90deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.35) 100%);
  padding: 80px 0;
}

.hero-content {
  max-width: 620px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

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

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

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

/* Section */
.section {
  padding: 70px 0;
}

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

.section-title h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-title p {
  margin-top: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.feature-box {
  padding: 35px 25px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--white);
}

.feature-box:last-child {
  border-right: none;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 15px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold-dark);
}

.feature-box h3 {
  font-size: 15px;
  text-transform: uppercase;
}

/* Two column */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Services tabs */
.services-section {
  background: #f7f9fc;
}

.tabs-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.tab-menu {
  background: var(--blue);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-menu li button {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.tab-menu li button:hover,
.tab-menu li button.active {
  background: rgba(0, 0, 0, 0.15);
  color: var(--white);
  border-left-color: var(--gold);
}

.tab-panel {
  display: none;
  padding: 35px;
  grid-template-columns: 1fr 220px;
  gap: 30px;
  align-items: start;
}

.tab-panel.active {
  display: grid;
}

.tab-panel ul {
  margin: 0 0 1rem;
  padding-left: 20px;
}

.tab-panel img {
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
  height: 200px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  text-align: center;
  padding: 30px 25px;
  border: 1px solid var(--border);
  background: var(--white);
}

.testimonial-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
}

.testimonial-card blockquote {
  margin: 0 0 15px;
  font-style: italic;
  font-size: 14px;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .date-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: var(--dark);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.blog-card .blog-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 40px 15px 15px;
  font-weight: 600;
}

/* Partners */
.partners {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0.5;
  font-weight: 700;
  font-size: 18px;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Page banner */
.page-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 90px 0;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.75);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 2rem;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--gold);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.price-card {
  border: 2px solid var(--border);
  text-align: center;
  padding: 40px 25px;
  transition: border-color 0.2s, transform 0.2s;
}

.price-card.featured {
  border-color: var(--blue);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.2);
}

.price-card h3 {
  text-transform: uppercase;
  color: var(--blue);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading);
  margin: 15px 0;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.team-member {
  text-align: center;
  border: 1px solid var(--border);
  padding-bottom: 20px;
  overflow: hidden;
}

.team-member img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-member h4 {
  margin-top: 15px;
  margin-bottom: 4px;
}

.team-member span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-item {
  position: relative;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-caption {
  padding: 15px;
  background: #f7f9fc;
  border: 1px solid var(--border);
  border-top: none;
}

/* Forms */
.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 35px;
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: #c0392b;
}

.field-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.field-error.show {
  display: block;
}

/* Checkbox alignment */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.checkbox-group .field-error {
  flex: 1 1 100%;
  margin-left: 28px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue);
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
}

.form-success.show {
  display: block;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.contact-info-card {
  background: var(--blue);
  color: var(--white);
  padding: 40px;
}

.contact-info-card h3 {
  color: var(--white);
}

.contact-info-card p {
  opacity: 0.95;
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  color: var(--blue-dark);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 4px;
  box-sizing: content-box;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-box {
  background: #2a2a38;
  padding: 25px;
  text-align: center;
}

.stat-box .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-box .label {
  font-size: 13px;
  text-transform: uppercase;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns h4 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-columns li {
  margin-bottom: 10px;
}

.footer-columns a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-columns a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: #2a2a38;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-bottom {
  background: #121218;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--gold);
  margin: 0 8px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
}

/* Counters animation placeholder */
.bg-light {
  background: #f7f9fc;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.content-block p {
  margin-bottom: 1rem;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.icon-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-box:nth-child(2) {
    border-right: none;
  }

  .tabs-wrap {
    grid-template-columns: 1fr;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .row-2,
  .contact-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .testimonial-grid,
  .blog-grid,
  .project-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-box {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

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

  .price-card.featured {
    transform: none;
  }
}