/* ==========================================================================
   CGraphics Custom Elementor Widgets — Frontend Styles
   Version: 1.0.0
   Brand: Company C Graphics
   ========================================================================== */

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
  --cg-red: #c8102e;
  --cg-dark-red: #8b0000;
  --cg-black: #1a1a1a;
  --cg-dark: #111111;
  --cg-white: #ffffff;
  --cg-light: #f5f5f5;
  --cg-grey: #cccccc;
  --cg-mid-grey: #666666;
  --cg-border: #e0e0e0;
  --cg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cg-radius: 4px;
  --cg-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --cg-shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);
  --cg-transition: all 0.25s ease;
  --cg-max-width: 1280px;
}

/* ── Global Reset for Widget Scope ──────────────────────────────────────── */
.cg-nav,
.cg-hero,
.cg-services,
.cg-stats,
.cg-gallery,
.cg-testimonials,
.cg-cta-banner,
.cg-footer {
  font-family: var(--cg-font);
  box-sizing: border-box;
}

.cg-nav *,
.cg-hero *,
.cg-services *,
.cg-stats *,
.cg-gallery *,
.cg-testimonials *,
.cg-cta-banner *,
.cg-footer * {
  box-sizing: inherit;
}

/* ── Shared Utilities ────────────────────────────────────────────────────── */
.cg-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cg-red);
  margin-bottom: 8px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATION UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.cg-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for staggered animations */
.cg-animate[data-delay="100"] {
  transition-delay: 100ms;
}

.cg-animate[data-delay="200"] {
  transition-delay: 200ms;
}

.cg-animate[data-delay="300"] {
  transition-delay: 300ms;
}

.cg-animate[data-delay="400"] {
  transition-delay: 400ms;
}

.cg-animate[data-delay="500"] {
  transition-delay: 500ms;
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. NAVIGATION WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-nav {
  background: var(--cg-white);
  border-bottom: 1px solid var(--cg-border);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.cg-nav__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 75px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: visible;
}

.cg-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cg-nav__logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
  display: block;
}

.cg-nav__menu {
  flex: 1;
}

.cg-nav__menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cg-nav__menu .menu>li>a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cg-black);
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--cg-transition);
  display: block;
  position: relative;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.cg-nav__menu .menu>li>a:hover {
  color: var(--cg-red);
  border-bottom-color: var(--cg-red);
}

/* Red underline for active item — exactly like reference */
.cg-nav__menu .menu>li.current-menu-item>a {
  color: var(--cg-black);
  border-bottom-color: var(--cg-red);
}

.cg-nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

/* GET A QUOTE → button */
.cg-nav__cta {
  background-color: var(--cg-red);
  color: var(--cg-white);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: var(--cg-transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cg-nav__cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

.cg-nav__cta:hover {
  background-color: var(--cg-dark-red);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(200, 16, 46, 0.38);
}

/* Phone section — red circle icon + two-line text */
.cg-nav__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cg-black);
  white-space: nowrap;
  transition: var(--cg-transition);
}

.cg-nav__phone:hover {
  color: var(--cg-red);
}

/* Outlined red ring wrapping the phone SVG — matches reference */
.cg-nav__phone-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--cg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--cg-transition);
}

.cg-nav__phone:hover .cg-nav__phone-icon-wrap {
  background-color: var(--cg-red);
  border-color: var(--cg-red);
}

.cg-nav__phone:hover .cg-nav__phone-icon-wrap svg {
  fill: var(--cg-white);
}

.cg-nav__phone-icon-wrap svg {
  display: block;
}

.cg-nav__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cg-nav__phone-text small {
  font-size: 0.62rem;
  color: var(--cg-mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

.cg-nav__phone-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cg-black);
}

.cg-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.cg-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cg-black);
  border-radius: 2px;
  transition: var(--cg-transition);
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. HERO WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-hero {
  background: var(--cg-white);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.cg-hero__container {
  width: 100%;
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 64px 32px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.cg-hero__content {
  max-width: 550px;
  pointer-events: auto;
}

.cg-hero__subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cg-red);
  margin: 0 0 12px;
}

.cg-hero__headline {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--cg-black);
}

.cg-hero__line1,
.cg-hero__line3 {
  color: var(--cg-black);
}

.cg-hero__line2 {
  color: var(--cg-red);
}

.cg-hero__headline span {
  display: block;
}

.cg-hero__description {
  font-size: 0.95rem;
  color: var(--cg-mid-grey);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 480px;
}

.cg-hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cg-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: var(--cg-radius);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: var(--cg-transition);
}

.cg-hero__btn--primary {
  background-color: var(--cg-red);
  color: var(--cg-white);
  border: 2px solid var(--cg-red);
}

.cg-hero__btn--primary:hover {
  background-color: var(--cg-dark-red);
  border-color: var(--cg-dark-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
}

.cg-hero__btn--secondary {
  background-color: transparent;
  color: var(--cg-black);
  border: 2px solid var(--cg-black);
}

.cg-hero__btn--secondary:hover {
  background-color: var(--cg-black);
  color: var(--cg-white);
  border-color: var(--cg-black);
}

.cg-hero__features {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 16px;
}

.cg-hero__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid var(--cg-border);
}

.cg-hero__feature:first-child {
  padding-left: 0;
}

.cg-hero__feature:last-child {
  padding-right: 0;
  border-right: none;
}

.cg-hero__feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: var(--cg-red);
}

.cg-hero__feature-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.cg-hero__feature-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cg-black);
  display: block;
  margin-bottom: 3px;
}

.cg-hero__feature-desc {
  font-size: 0.72rem;
  color: var(--cg-mid-grey);
  margin: 0;
  line-height: 1.4;
}

.cg-hero__image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cg-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 0;
}

.cg-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
  .cg-hero {
    flex-direction: column;
  }

  .cg-hero__container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cg-hero__content {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. SERVICES GRID WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-services {
  background: var(--cg-light);
  padding: 32px 0;
}

.cg-services__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.cg-services__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.cg-services__top-left {
  flex: 1;
  text-align: left;
}

.cg-services__top-right {
  flex: 1;
  text-align: left;
  max-width: 400px;
  padding-bottom: 12px;
}

.cg-services__top-right p {
  color: var(--cg-mid-grey);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.cg-services__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cg-black);
  margin: 0 0 24px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 24px;
  max-width: 680px;
}

.cg-services__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--cg-red);
}

.cg-services__title-highlight {
  color: var(--cg-black);
}

/* Grid columns */
.cg-services__grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

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

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

.cg-services__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cg-services__grid--6 {
  grid-template-columns: repeat(6, 1fr);
}

.cg-services__card {
  background: var(--cg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--cg-shadow);
  text-align: left;
  transition: var(--cg-transition);
  display: flex;
  flex-direction: row;
  padding: 32px;
  gap: 24px;
  border: 1px solid var(--cg-border);
}

.cg-services__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cg-shadow-md);
}

.cg-services__card-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: var(--cg-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cg-services__card-icon {
  color: var(--cg-white);
  font-size: 28px;
}

.cg-services__card-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: var(--cg-white);
}

.cg-services__card-icon-wrap i {
  color: var(--cg-white);
  font-size: 28px;
}

.cg-services__card-content {
  flex: 1;
}

.cg-services__card-features {
  margin-top: 16px;
}

.cg-services__card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cg-services__card-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--cg-mid-grey);
}

.cg-services__card-features li::before {
  content: "\2713";
  /* Unicode checkmark */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cg-red);
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. STATS ROW WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-about {
  background: var(--cg-white);
  padding: 64px 0;
  border-top: 1px solid var(--cg-border);
  border-bottom: 1px solid var(--cg-border);
}

.cg-about__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
  align-items: stretch;
}

.cg-about__col {
  display: flex;
  flex-direction: column;
}

.cg-about__col--left {
  flex: 1;
}

.cg-about__col--middle {
  flex: 0 0 280px;
  max-width: 280px;
}

.cg-about__col--right {
  flex: 0 0 340px;
  max-width: 340px;
}

/* Left Column */
.cg-about__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cg-black);
  margin: 0 0 24px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 24px;
}

.cg-about__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--cg-red);
}

.cg-about__desc {
  font-size: 0.95rem;
  color: var(--cg-mid-grey);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cg-about__desc p {
  margin: 0 0 16px;
}

.cg-about__desc p:last-child {
  margin-bottom: 0;
}

.cg-about__owner-info {
  margin-top: auto;
}

.cg-about__signature {
  max-width: 120px;
  height: auto;
  margin-bottom: 8px;
  display: block;
}

.cg-about__signature-text {
  font-family: 'Caveat', 'Dancing Script', cursive;
  font-size: 32px;
  font-weight: 700;
  color: var(--cg-red);
  margin-bottom: 8px;
  margin-left: -8px;
  line-height: 1;
}

.cg-about__owner-title {
  font-size: 0.85rem;
  color: var(--cg-mid-grey);
  margin: 0 0 8px;
}

.cg-about__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0077b5;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.cg-about__linkedin i {
  color: #fff;
}

/* Middle Column */
.cg-about__features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  height: 100%;
}

.cg-about__feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cg-about__feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--cg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cg-red);
  font-size: 24px;
}

.cg-about__feature-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cg-about__feature-icon-wrap i {
  color: currentColor;
}

.cg-about__feature-content {
  flex: 1;
}

.cg-about__feature-content h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cg-black);
  margin: 0 0 6px;
}

.cg-about__feature-content p {
  font-size: 0.85rem;
  color: var(--cg-mid-grey);
  margin: 0;
  line-height: 1.5;
}

/* Right Column */
.cg-about__owner-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.cg-about__quote-box {
  margin-top: 24px;
  padding-left: 48px;
  position: relative;
  text-align: left;
}

.cg-about__quote-icon {
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 56px;
  line-height: 1;
  color: var(--cg-black);
  font-weight: 900;
}

.cg-about__quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--cg-mid-grey);
  line-height: 1.6;
  margin: 0 0 16px;
}

.cg-about__quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cg-black);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .cg-about__container {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. PROJECTS GALLERY WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-gallery {
  background: #1a1a1a;
  padding: 32px 0;
}

.cg-gallery__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cg-gallery__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--cg-white);
  margin: 0 0 32px;
  position: relative;
  padding-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cg-gallery__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background-color: var(--cg-red);
}

.cg-gallery__grid {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

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

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

.cg-gallery__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cg-gallery__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.cg-gallery__grid--6 {
  grid-template-columns: repeat(6, 1fr);
}

.cg-gallery__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.cg-gallery__img-wrap {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1/1;
  background: var(--cg-dark);
  position: relative;
}

.cg-gallery__item:first-child {
  grid-column: span 1;
}

.cg-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.cg-gallery__item:hover .cg-gallery__img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.cg-gallery__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  text-decoration: none;
}

.cg-gallery__item-title {
  color: var(--cg-white);
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cg-gallery__bottom-text {
  color: var(--cg-white);
  font-size: 0.95rem;
  margin-top: 24px;
}

.cg-gallery__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--cg-black);
  color: var(--cg-black);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--cg-radius);
  transition: var(--cg-transition);
}

.cg-gallery__btn:hover {
  background: var(--cg-black);
  color: var(--cg-white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. TESTIMONIALS WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-testimonials {
  background: #f8f8f8;
  padding: 72px 0;
}

.cg-testimonials__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cg-testimonials__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cg-black);
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 12px;
}

.cg-testimonials__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background-color: var(--cg-red);
}

.cg-testi__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cg-testi__slider {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.cg-testi__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  transition: transform 0.4s ease;
  margin: 0 -12px;
}

/* Base flex card styling */
.cg-testi__card {
  flex: 0 0 calc(100% / var(--cg-cols, 3));
  max-width: calc(100% / var(--cg-cols, 3));
  padding: 0 12px;
  height: auto;
}

.cg-testi__card-inner {
  background: var(--cg-white);
  border: none;
  border-radius: 8px;
  padding: 28px;
  text-align: left;
  box-shadow: var(--cg-shadow);
  transition: var(--cg-transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.cg-testi__card:hover .cg-testi__card-inner {
  transform: translateY(-3px);
  box-shadow: var(--cg-shadow-md);
}

.cg-testi__arrow {
  width: 48px;
  height: 48px;
  background: var(--cg-red);
  color: var(--cg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.cg-testi__arrow:hover {
  background: var(--cg-red-dark, #a00d20);
  transform: scale(1.05);
}

.cg-testi__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.cg-testi__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cg-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--cg-transition);
}

.cg-testi__dot:hover,
.cg-testi__dot--active {
  background: var(--cg-red);
}

.cg-testi__stars {
  display: flex;
  gap: 3px;
}

.cg-testi__star {
  font-size: 1.1rem;
  color: #f0a500;
}

.cg-testi__star--empty {
  color: #ddd;
}

.cg-testi__text {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.cg-testi__reviewer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 16px;
}

.cg-testi__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cg-black);
}

.cg-testi__role {
  font-size: 0.75rem;
  color: #777;
  margin-top: 4px;
}

/* Slider Wrapper & Arrows */
.cg-testi__slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 24px;
}

.cg-testi__slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  flex: 1;
}

.cg-testi__arrow {
  width: 48px;
  height: 48px;
  background: var(--cg-red);
  color: var(--cg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.cg-testi__arrow:hover {
  background: #a00b24;
  transform: scale(1.05);
}

.cg-testi__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}


.cg-testi__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cg-border);
  border: none;
  cursor: pointer;
  transition: var(--cg-transition);
  padding: 0;
}

.cg-testi__dot--active {
  background: var(--cg-red);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. CTA BANNER WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-cta-banner {
  background: var(--cg-dark-red);
  padding: 48px 0;
}

.cg-cta-banner__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cg-cta-banner__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.cg-cta-banner__icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cg-cta-banner__icon-emoji {
  font-size: 2rem;
}

.cg-cta-banner__icon-element {
  font-size: 1.8rem;
  color: var(--cg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cg-cta-banner__icon-element i {
  color: inherit;
}

.cg-cta-banner__icon-element svg {
  fill: currentColor;
  height: 1em;
  width: auto;
}

.cg-cta-banner__icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cg-cta-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cg-cta-banner__headline {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--cg-white);
  margin: 0;
  line-height: 1.2;
}

.cg-cta-banner__subtext {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.cg-cta-banner__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cg-cta-banner__btn {
  background: var(--cg-red);
  color: var(--cg-white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--cg-radius);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--cg-transition);
  white-space: nowrap;
}

.cg-cta-banner__btn:hover {
  background: var(--cg-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.cg-cta-banner__phone {
  color: var(--cg-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--cg-transition);
}

.cg-cta-phone-icon {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cg-cta-phone-icon i {
  color: inherit;
}

.cg-cta-phone-icon svg {
  fill: currentColor;
  height: 1em;
  width: auto;
}

.cg-cta-banner__phone:hover {
  color: var(--cg-grey);
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. FOOTER WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.cg-footer {
  background: var(--cg-black);
  color: var(--cg-grey);
  font-size: 0.85rem;
}

.cg-footer__main {
  padding: 60px 0;
}

.cg-footer__container {
  max-width: var(--cg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.cg-footer__col {
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cg-footer__col:last-child {
  border-right: none;
  padding-right: 0;
}

.cg-footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cg-white);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cg-footer__col-icon {
  color: var(--cg-red);
  font-size: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
}

svg.cg-footer__col-icon:not([fill="none"]),
svg.cg-footer__col-icon:not([fill="none"]) path {
  fill: var(--cg-red) !important;
}

svg.cg-footer__col-icon[fill="none"],
svg.cg-footer__col-icon[fill="none"] path,
svg.cg-footer__col-icon[fill="none"] circle {
  fill: none !important;
  stroke: var(--cg-red) !important;
}

/* Location */
.cg-footer__address {
  font-style: normal;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 24px;
}

.cg-footer__address p {
  margin: 0;
}

.cg-footer__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--cg-transition);
}

.cg-footer__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cg-footer__btn--red {
  background: var(--cg-red);
  color: var(--cg-white);
}

.cg-footer__btn--red:hover {
  background: #a00d24;
  color: var(--cg-white);
}

.cg-footer__btn--outline {
  background: transparent;
  border: 1px solid #555;
  color: var(--cg-white);
}

.cg-footer__btn--outline:hover {
  border-color: var(--cg-white);
}

/* Hours */
.cg-footer__hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cg-footer__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.82rem;
}

.cg-footer__hours-day {
  font-weight: 600;
  color: var(--cg-white);
  width: 50px;
}

.cg-footer__hours-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.cg-footer__badge-open {
  background: #28a745;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Service */
.cg-footer__stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.cg-footer__stars svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.cg-footer__service-text {
  color: #ccc;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* Map */
.cg-footer__map-iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: 8px;
  display: block;
}

/* Bottom Bar */
.elementor-widget-cg_bottom_bar {
  margin-bottom: 0 !important;
}

.cg-footer__bottom {
  background: var(--cg-red);
  height: 70px;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.cg-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.cg-footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cg-white);
  justify-self: start;
}

.cg-footer__bottom-logo {
  width: auto !important;
  display: block;
}

.cg-footer__bottom-info {
  line-height: 1.2;
}

.cg-footer__bottom-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
}

.cg-footer__bottom-info small {
  display: block;
  font-size: 0.7rem;
  color: #ffffff !important;
  opacity: 0.9;
  margin: 0 !important;
  padding: 0 !important;
}

.cg-footer__bottom-center {
  color: #ffffff !important;
  font-size: 0.75rem;
  opacity: 0.9;
  justify-self: center;
  margin: 0 !important;
  padding: 0 !important;
}

.cg-footer__bottom-center p {
  margin: 0 !important;
  padding: 0 !important;
}

.cg-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.cg-footer__social-link {
  color: var(--cg-white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cg-footer__social-link:hover {
  opacity: 0.8;
}

.cg-footer__social-link svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {

  .cg-services__grid--6,
  .cg-services__grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cg-stats__container {
    flex-wrap: wrap;
  }

  .cg-stats__item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid var(--cg-border);
  }

  .cg-footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .cg-gallery__grid--6,
  .cg-gallery__grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {

  /* Nav */
  .cg-nav__menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cg-white);
    border-top: 1px solid var(--cg-border);
    padding: 16px;
    box-shadow: var(--cg-shadow-md);
    z-index: 9998;
  }

  .cg-nav__menu--open {
    display: block;
  }

  .cg-nav__links {
    flex-direction: column;
    gap: 4px;
  }

  .cg-nav__phone {
    display: none;
  }

  .cg-nav__hamburger {
    display: flex;
  }

  /* Hero */
  .cg-hero__container {
    grid-template-columns: 1fr;
    padding-top: 32px;
    min-height: auto;
  }

  .cg-hero__image-wrap {
    display: none;
  }

  .cg-hero__content {
    padding-bottom: 32px;
  }

  /* Services */
  .cg-services__top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cg-services__top-right {
    max-width: 100%;
    text-align: left;
  }

  .cg-services__grid--6,
  .cg-services__grid--5,
  .cg-services__grid--4,
  .cg-services__grid--3,
  .cg-services__grid--2 {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .cg-stats__item {
    flex: 1 1 100%;
    border-right: none;
    padding: 16px;
  }

  /* About */
  .cg-about__container {
    flex-direction: column;
    gap: 40px;
  }

  .cg-about__col {
    max-width: 100%;
    flex: 1 1 auto;
  }

  /* Gallery */
  .cg-gallery__grid--6,
  .cg-gallery__grid--5,
  .cg-gallery__grid--4,
  .cg-gallery__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .cg-testi__slider-wrapper {
    gap: 0 !important;
  }

  .cg-testi__arrow {
    display: none !important;
  }

  .cg-testi__track {
    grid-template-columns: 1fr !important;
  }

  /* CTA Banner */
  .cg-cta-banner__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cg-cta-banner__right {
    align-items: flex-start;
  }

  /* Footer */
  .cg-footer__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Small Mobile: ≤ 480px */
@media (max-width: 480px) {

  .cg-services__grid--6,
  .cg-services__grid--5,
  .cg-services__grid--4,
  .cg-services__grid--3,
  .cg-services__grid--2 {
    grid-template-columns: 1fr;
  }

  .cg-gallery__grid--6,
  .cg-gallery__grid--5,
  .cg-gallery__grid--4,
  .cg-gallery__grid--3,
  .cg-gallery__grid--2 {
    grid-template-columns: 1fr;
  }

  .cg-hero__buttons {
    flex-direction: column;
  }
}