/* Modern agency layer — loads after devfix.css */

:root {
  --agency-ink: #0f172a;
  --agency-ink-soft: #334155;
  --agency-muted: #64748b;
  --agency-surface: #f8fafc;
  --agency-surface-2: #f1f5f9;
  --agency-border: #e2e8f0;
  --agency-accent: #e94d3d;
  --agency-accent-hover: #d63f2f;
  --agency-accent-soft: rgba(233, 77, 61, 0.12);
  --agency-radius: 14px;
  --agency-radius-sm: 10px;
  --agency-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --agency-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.1);
  --agency-font-display: "Syne", system-ui, sans-serif;
  --agency-font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

.agency-site {
  font-family: var(--agency-font-body);
  color: var(--agency-ink-soft);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

.agency-site h1,
.agency-site h2,
.agency-site h3,
.agency-site h4,
.agency-site h5,
.agency-site .section-header .section-title {
  font-family: var(--agency-font-display) !important;
  color: var(--agency-ink) !important;
  letter-spacing: -0.02em;
}

.agency-site p {
  font-family: var(--agency-font-body);
}

/* Nav */
.agency-site .agency-navbar {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.agency-site .agency-navbar.agency-navbar--solid,
.agency-site .agency-navbar.menu-bg {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--agency-border);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
}

.agency-site .agency-navbar .navbar-brand img {
  max-height: 40px;
  width: auto;
}

.agency-site .agency-navbar .nav-link {
  font-family: var(--agency-font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--agency-ink-soft) !important;
  padding: 0.5rem 0.75rem !important;
  margin-left: 0.25rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.agency-site .agency-navbar .nav-link:hover,
.agency-site .agency-navbar .nav-link:focus {
  color: var(--agency-accent) !important;
  background: var(--agency-accent-soft);
}

.agency-site .agency-navbar .navbar-toggler {
  border: none;
  padding: 0.5rem 0.65rem;
  border-radius: var(--agency-radius-sm);
  background: var(--agency-surface) !important;
}

.agency-site .agency-navbar .navbar-toggler .lni-menu {
  color: var(--agency-ink);
}

/* Hero overlay + depth */
.agency-site .hero-slider .carousel-item {
  min-height: min(88vh, 720px);
}

.agency-site .hero-slider .carousel-item > img {
  object-fit: cover;
  min-height: min(88vh, 720px);
}

.agency-site .hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.55) 42%,
    rgba(233, 77, 61, 0.22) 100%
  );
}

.agency-site #carousel-area {
  background: var(--agency-ink);
}

/* Section rhythm */
.agency-site .agency-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.agency-site .agency-section--surface {
  background: var(--agency-surface);
}

.agency-site .agency-section--muted {
  background: linear-gradient(180deg, var(--agency-surface) 0%, #fff 100%);
}

/* Section headers */
.agency-site .section-header .section-title {
  text-transform: none !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  font-weight: 700 !important;
}

.agency-site .section-header .section-title::before {
  display: none !important;
}

.agency-site .section-header .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--agency-accent), #f97316);
}

.agency-site .section-header .section-subtitle {
  color: var(--agency-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Service cards */
.agency-site .services-item {
  border: 1px solid var(--agency-border) !important;
  border-radius: var(--agency-radius) !important;
  box-shadow: var(--agency-shadow) !important;
  background: #fff !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.agency-site .services-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--agency-shadow-hover) !important;
  border-color: rgba(233, 77, 61, 0.25) !important;
}

.agency-site .services-item h4 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

.agency-site .services-item .icon i {
  background: var(--agency-accent-soft) !important;
  color: var(--agency-accent) !important;
}

.agency-site .services-item .service-includes {
  border-top-color: var(--agency-border) !important;
}

/* Feature rows */
.agency-site .featured-box {
  padding: 1.25rem 0;
  border-radius: var(--agency-radius-sm);
  transition: background 0.2s ease;
}

.agency-site .featured-box:hover {
  background: rgba(248, 250, 252, 0.8);
}

.agency-site .featured-box .featured-icon i {
  color: var(--agency-accent) !important;
}

.agency-site .featured-box h4 {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
}

/* CTA band */
.agency-site .call-action {
  background: linear-gradient(135deg, var(--agency-ink) 0%, #1e293b 50%, #0f172a 100%) !important;
  position: relative;
  overflow: hidden;
}

.agency-site .call-action::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 20% 50%, var(--agency-accent) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, #38bdf8 0%, transparent 40%);
  pointer-events: none;
}

.agency-site .call-action .cta-trial {
  position: relative;
  z-index: 1;
}

.agency-site .call-action .cta-trial h3 {
  color: #fff !important;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem) !important;
  font-weight: 700 !important;
}

.agency-site .call-action .cta-trial p {
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Pricing */
.agency-site #packages.pricing-section {
  background: var(--agency-surface) !important;
}

.agency-site .pricing-table {
  border-radius: var(--agency-radius) !important;
  border: 1px solid var(--agency-border) !important;
  overflow: hidden;
  box-shadow: var(--agency-shadow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-site .pricing-table:hover {
  transform: translateY(-4px);
  box-shadow: var(--agency-shadow-hover) !important;
}

.agency-site .pricing-table.pricing-big {
  border-color: rgba(233, 77, 61, 0.35) !important;
  box-shadow: 0 8px 40px rgba(233, 77, 61, 0.12) !important;
}

.agency-site .pricing-details h2 {
  font-family: var(--agency-font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}

.agency-site .price-custom {
  font-family: var(--agency-font-display) !important;
}

/* Contact */
.agency-site #contact {
  background: linear-gradient(180deg, #fff 0%, var(--agency-surface) 100%) !important;
}

.agency-site .contact-block .form-control {
  border-radius: var(--agency-radius-sm) !important;
  border: 1px solid var(--agency-border) !important;
  background: #fff !important;
  padding: 0.85rem 1.15rem !important;
  font-family: var(--agency-font-body) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.agency-site .contact-block .form-control:focus {
  border-color: var(--agency-accent) !important;
  box-shadow: 0 0 0 3px var(--agency-accent-soft) !important;
  outline: none !important;
}

.agency-site textarea.form-control {
  border-radius: var(--agency-radius) !important;
}

.agency-site .contact-info h5 {
  font-family: var(--agency-font-display) !important;
}

.agency-site .footer-social li a {
  border-radius: 10px !important;
}

.agency-site .contact-lead a,
.agency-site .section-subtitle a {
  color: var(--agency-accent);
  font-weight: 600;
}

.agency-site .contact-lead a:hover,
.agency-site .section-subtitle a:hover {
  color: var(--agency-accent-hover);
}

/* Hero secondary CTA — pill + readable on overlay */
.agency-site .hero-slider .carousel-caption .btn-border.large_white {
  border-radius: 999px !important;
  font-weight: 600 !important;
}

/* Footer */
.agency-site #copyright {
  background: var(--agency-ink) !important;
  border-top: none !important;
  padding: 1.75rem 0 !important;
}

.agency-site #copyright p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
}

/* Buttons — primary */
.agency-site .btn-common {
  background: linear-gradient(135deg, var(--agency-accent) 0%, #ea580c 100%) !important;
  border: none !important;
  font-family: var(--agency-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.75rem !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(233, 77, 61, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.agency-site .btn-common:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 77, 61, 0.4);
  color: #fff !important;
}

.agency-site .btn-effect::after {
  display: none;
}

/* Pattern strip under hero */
.agency-site .pattern-strip {
  background: linear-gradient(90deg, var(--agency-ink) 0%, #1e293b 40%, var(--agency-accent) 160%) !important;
  padding: 1.5rem 0 !important;
}

.agency-site .pattern-strip p {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}

/* Carousel indicators */
.agency-site .hero-slider .carousel-indicators [type="button"] {
  width: 2.25rem !important;
  height: 4px !important;
  border-radius: 4px !important;
  border: none !important;
  opacity: 0.35 !important;
  background: #fff !important;
}

.agency-site .hero-slider .carousel-indicators .active {
  opacity: 1 !important;
  background: var(--agency-accent) !important;
}

/* Hero prev/next circles */
.agency-site #carousel-area .carousel-control-prev .carousel-control,
.agency-site #carousel-area .carousel-control-next .carousel-control {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.agency-site #carousel-area .carousel-control-prev .carousel-control:hover,
.agency-site #carousel-area .carousel-control-next .carousel-control:hover {
  background: var(--agency-accent) !important;
  border-color: transparent;
}
