/*
Theme Name: Brand Protection Corporate
Theme URI: https://example.com/brand-protection-corporate
Author: Brand Protection
Author URI: https://example.com
Description: Corporate WordPress theme for anti-counterfeiting and trademark enforcement services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: brand-protection-corporate
*/

:root {
  --bp-bg: #f2f3f4;
  --bp-text: #868f91;
  --bp-heading: #233032;
  --bp-primary: #233032;
  --bp-primary-dark: #253136;
  --bp-border: #dae1e3;
  --bp-card: #ffffff;
  --bp-dark: #233032;
  --bp-muted: #868f91;
  --bp-success: #1f8f68;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--bp-text);
  background: var(--bp-bg);
  line-height: 1.7;
}

a {
  color: var(--bp-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--bp-primary-dark);
}

.site-header {
  background-image:
    linear-gradient(0deg, rgba(35, 48, 50, 0.82), rgba(35, 48, 50, 0.82)),
    url("assets/images/bg-home02.jpg");
  background-position: center top;
  background-size: cover;
  color: #fff;
  border-bottom: 1px solid #3e4a4d;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1300;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: transparent;
  color: #dbe8e8;
  font-size: 0.86rem;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-item {
  margin: 0;
}

.topbar-link {
  color: #ffffff;
}

.main-nav {
  background: transparent;
  border-top: 1px solid rgba(218, 225, 227, 0.2);
  border-bottom: 1px solid rgba(218, 225, 227, 0.2);
  backdrop-filter: blur(6px);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(52vw, 360px);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.primary-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav-menu li {
  margin: 0;
}

.primary-nav-menu a {
  color: #dbe8e8;
  font-weight: 600;
  font-size: 0.95rem;
}

.primary-nav-menu a:hover,
.primary-nav-menu a:focus {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(218, 225, 227, 0.8);
  background: transparent;
  border-radius: 6px;
  padding: 10px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  margin: 5px 0;
}

.nav-cta {
  background: #dae1e3;
  color: #233032;
  border: 1px solid #dae1e3;
}

.nav-cta:hover,
.nav-cta:focus {
  background: transparent;
  color: #fff;
  border-color: #ffffff;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  padding: 96px 0 82px;
}

.hero-large {
  background-image:
    linear-gradient(0deg, rgba(35, 48, 50, 0.72), rgba(35, 48, 50, 0.72)),
    url("assets/images/bg-home02.jpg");
  background-position: center;
  background-size: cover;
  color: #dbe8e8;
}

.hero-grid {
  display: flex;
  justify-content: flex-start;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin-left: 0;
  padding-right: 0;
}

.section-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b6bec0;
}

.hero h1 {
  margin: 0;
  font-size: 2.9rem;
  line-height: 1.18;
  color: #fff;
  max-width: 720px;
}

.hero p {
  color: #dbe8e8;
  max-width: 720px;
  font-size: 1.06rem;
}

.button {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.93rem;
  font-weight: 700;
  margin-top: 10px;
}

.button-primary {
  background: transparent;
  border: 1px solid #dae1e3;
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: #233032;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: #f7f8f8;
}

.section-dark {
  background: #253136;
  color: #dbe8e8;
}

.section-dark h2,
.section-dark h3,
.section-dark .section-intro {
  color: #ffffff;
}

.section-dark .section-kicker {
  color: #b6bec0;
}

h2 {
  margin: 0 0 14px;
  color: var(--bp-heading);
  font-size: 2.05rem;
  line-height: 1.25;
}

.section-intro {
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--bp-muted);
}

.what-content p {
  margin-top: 0;
  margin-bottom: 16px;
}

.what-list {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 20px;
}

.what-list li {
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.who-layout {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.who-intro {
  grid-column: 1 / -1;
}

.who-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bp-border);
  box-shadow: 0 10px 24px rgba(35, 48, 50, 0.12);
}

.who-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.who-copy p:first-child {
  margin-top: 0;
}

.who-layout.no-image {
  grid-template-columns: 1fr;
}

.copy-stack p {
  margin-top: 0;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.quote-card,
.article-card {
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(35, 48, 50, 0.08);
}

.feature-card h3,
.quote-card h3,
.article-card h3 {
  margin: 0 0 10px;
  color: var(--bp-heading);
  font-size: 1.08rem;
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 48, 50, 0.1);
  margin: 0 auto 12px;
}

.feature-icon-wrap .dashicons {
  color: #233032;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.feature-card p,
.quote-card p {
  margin: 0;
  color: var(--bp-text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  padding: 20px;
}

.step-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: #dae1e3;
  color: #253136;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.07rem;
  color: var(--bp-heading);
}

.step-card p {
  margin: 0;
}

.price-card {
  background: #233032;
  border: 1px solid #3e4a4d;
  border-radius: 12px;
  padding: 24px;
}

.price-card h3 {
  margin-top: 0;
  color: #fff;
}

.price-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.price-card li {
  margin-bottom: 7px;
}

.price-tag {
  margin: 0 0 16px;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.price-tag span {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-left: 5px;
}

.price-card.featured {
  background: #253136;
  border-color: #dae1e3;
}

.section-cta {
  background: linear-gradient(120deg, #f2f3f4, #dae1e3);
}

.section-cta .button-primary {
  background: #233032;
  border-color: #233032;
  color: #ffffff;
}

.section-cta .button-primary:hover,
.section-cta .button-primary:focus {
  background: #253136;
  border-color: #253136;
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.content-wrap {
  padding: 0 0 78px;
}

.entry-card {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.entry-card ul {
  padding-left: 20px;
}

.admin-content {
  margin-top: 30px;
}

.site-footer {
  background: #233032;
  color: #dbe8e8;
  padding: 70px 0 18px;
  font-size: 0.95rem;
}

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

.footer-col h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.footer-col p,
.footer-col li {
  margin: 0;
  color: #dbe8e8;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ffffff;
}

.footer-meta {
  border-top: 1px solid #3e4a4d;
  padding-top: 16px;
  color: #b6bec0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* Contact Form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dae1e3;
  border-radius: 8px;
  background-color: #ffffff;
  color: #233032;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus {
  border-color: #233032;
  outline: none;
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.93rem;
  font-weight: 700;
  margin-top: 10px;
  background: #233032;
  border: 1px solid #233032;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
  background: #253136;
  border-color: #253136;
}

.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #d32f2f;
  margin-top: -10px;
  margin-bottom: 15px;
  display: block;
}

.wpcf7-form .wpcf7-response-output {
  border-radius: 8px;
  margin: 20px 0 0;
  padding: 12px 16px;
}

@media (max-width: 768px) {
  .topbar-inner,
  .cta-inner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-inner {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-logo img {
    height: 36px;
    max-width: min(58vw, 270px);
  }

  .menu-toggle {
    display: block;
    margin-left: 0;
  }

  .primary-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: rgba(35, 48, 50, 0.97);
    border: 1px solid #3e4a4d;
    border-radius: 10px;
    padding: 14px;
  }

  .site-header.is-menu-open .primary-nav {
    display: block;
  }

  .primary-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .primary-nav-menu a {
    display: block;
    width: 100%;
    padding: 8px 2px;
  }

  .hero {
    padding: 58px 0 50px;
  }

  .hero-grid,
  .two-col,
  .who-layout,
  .card-grid-3,
  .card-grid-4,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: block;
  }

  h2 {
    font-size: 1.65rem;
  }

  .entry-card {
    padding: 22px 18px;
  }
}
