/*
Theme Name: IPTV Portugal
Theme URI: https://iptv-pt.pt/
Author: IPTV Portugal
Author URI: https://iptv-pt.pt/
Description: Tema WordPress premium, rápido e optimizado para SEO para IPTV Portugal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: iptv-portugal
*/

:root {
  --ip-bg: #ffffff;
  --ip-bg-soft: #f8f9fa;
  --ip-bg-soft-2: #f1f3f6;
  --ip-heading: #1a365d;
  --ip-heading-alt: #10243f;
  --ip-text: #333333;
  --ip-text-soft: #4a5568;
  --ip-text-muted: #6b7280;
  --ip-red: #006600;
  --ip-red-dark: #004d00;
  --ip-yellow: #d1111b;
  --ip-yellow-dark: #a80e16;
  --ip-gold: #ffcc00;
  --ip-wa: #25d366;
  --ip-wa-dark: #1fb955;
  --ip-border: #e2e8f0;
  --ip-border-soft: #edf0f5;
  --ip-success: #16a34a;
  --ip-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --ip-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --ip-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.10);
  --ip-shadow-lg: 0 20px 55px rgba(0, 0, 0, 0.16);
  --ip-shadow-red: 0 10px 28px rgba(0, 102, 0, 0.28);
  --ip-shadow-yellow: 0 10px 28px rgba(209, 17, 27, 0.28);
  --ip-r-xs: 6px;
  --ip-r-sm: 10px;
  --ip-r-md: 16px;
  --ip-r-lg: 24px;
  --ip-r-xl: 34px;
  --ip-max: 1220px;
  --ip-t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ip-bg);
  color: var(--ip-text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--ip-red);
  text-decoration: none;
  transition: color var(--ip-t), background var(--ip-t), border-color var(--ip-t), transform var(--ip-t), box-shadow var(--ip-t);
}

a:hover,
a:focus {
  color: var(--ip-red-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 18px;
  color: var(--ip-heading);
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  margin: 0 0 18px;
}

strong {
  color: var(--ip-heading);
  font-weight: 800;
}

ul,
ol {
  margin: 0 0 22px 22px;
  padding: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ip-heading);
  color: #fff;
  border-radius: var(--ip-r-xs);
}

.container {
  width: min(calc(100% - 40px), var(--ip-max));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-sm {
  padding: 54px 0;
}

.bg-soft {
  background: var(--ip-bg-soft);
}

.bg-soft-2 {
  background: var(--ip-bg-soft-2);
}

.sect-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.sect-heading p {
  color: var(--ip-text-soft);
  font-size: 1.05rem;
}

.sect-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ip-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accent {
  color: var(--ip-red);
}

.ip-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--ip-t), box-shadow var(--ip-t), background var(--ip-t), color var(--ip-t), border-color var(--ip-t);
}

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

.btn-primary {
  background: var(--ip-red);
  color: #fff;
  box-shadow: var(--ip-shadow-red);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--ip-red-dark);
  color: #fff;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--ip-heading);
  color: #fff;
}

.btn-yellow {
  background: var(--ip-gold);
  color: var(--ip-heading);
  box-shadow: 0 10px 28px rgba(255, 204, 0, 0.28);
}

.btn-yellow:hover,
.btn-yellow:focus {
  background: #f1bd00;
  color: var(--ip-heading);
}

.btn-wa {
  background: var(--ip-wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.34);
}

.btn-wa:hover,
.btn-wa:focus {
  background: var(--ip-wa-dark);
  color: #fff;
}

.btn-lg {
  min-height: 56px;
  padding: 18px 36px;
  font-size: 1.02rem;
}

.btn-sm {
  min-height: 38px;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 90px;
}

.site-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo img,
.custom-logo-link img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.logo-text {
  display: none;
  color: var(--ip-heading);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

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

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

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ip-heading);
  font-size: 0.95rem;
  font-weight: 800;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--ip-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ip-t);
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--ip-red);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--ip-wa);
  color: #fff;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.header-cta-wa:hover,
.header-cta-wa:focus {
  background: var(--ip-wa-dark);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--ip-border);
  border-radius: 50%;
  box-shadow: var(--ip-shadow-xs);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ip-heading);
  border-radius: 99px;
  transition: transform var(--ip-t), opacity var(--ip-t);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    linear-gradient(135deg, rgba(0, 102, 0, 0.06), rgba(209, 17, 27, 0.04) 42%, rgba(255, 204, 0, 0.08)),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E2E8F0' stroke-width='1'%3E%3Cpath d='M48 0H0v48'/%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: #fff;
  color: var(--ip-heading);
  border: 1px solid var(--ip-border);
  border-radius: 100px;
  box-shadow: var(--ip-shadow-sm);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-pill .ip-icon {
  color: var(--ip-gold);
  fill: var(--ip-gold);
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 650px;
  color: var(--ip-text-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.checks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ip-heading);
  font-size: 0.95rem;
  font-weight: 800;
}

.checks-row .ip-icon {
  color: var(--ip-success);
}

.hero-media {
  position: relative;
}

.hero-image {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: var(--ip-r-xl);
  box-shadow: var(--ip-shadow-lg), 0 0 0 10px rgba(255, 255, 255, 0.72);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1774 / 887;
  object-fit: cover;
}

.hero-badge-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  width: 235px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-badge-card.top-left {
  top: -20px;
  left: -20px;
}

.hero-badge-card.bot-right {
  right: -20px;
  bottom: -20px;
  animation-direction: reverse;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--ip-red), var(--ip-yellow));
  border-radius: 15px;
}

.badge-title {
  display: block;
  color: var(--ip-heading);
  font-weight: 900;
  line-height: 1.15;
}

.badge-sub {
  display: block;
  margin-top: 2px;
  color: var(--ip-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.trust-bar {
  border-top: 1px solid var(--ip-border-soft);
  border-bottom: 1px solid var(--ip-border-soft);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 82px;
  padding: 16px 18px;
  color: var(--ip-heading);
  font-weight: 900;
  text-align: center;
  border-right: 1px solid var(--ip-border-soft);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item .ip-icon {
  color: var(--ip-red);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px 24px 24px;
  background: var(--ip-bg-soft);
  border: 2px solid transparent;
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
  transition: transform var(--ip-t), border-color var(--ip-t), box-shadow var(--ip-t), background var(--ip-t);
}

.pcard:hover {
  border-color: var(--ip-red);
  box-shadow: var(--ip-shadow-md);
  transform: translateY(-6px);
}

.pcard.best {
  background: #fff;
  border-color: var(--ip-gold);
  box-shadow: 0 18px 42px rgba(255, 204, 0, 0.20);
  transform: scale(1.03);
}

.pcard.best:hover {
  transform: scale(1.03) translateY(-6px);
}

.pcard-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  padding: 7px 16px;
  background: var(--ip-gold);
  color: var(--ip-heading);
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.22);
  font-size: 0.75rem;
  font-weight: 900;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pcard h3 {
  margin-bottom: 8px;
}

.pcard-desc {
  min-height: 48px;
  color: var(--ip-text-muted);
  font-size: 0.94rem;
}

.pcard-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin: 14px 0 8px;
  color: var(--ip-heading);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 1;
}

.pcard-price .cur {
  margin-top: 8px;
  color: var(--ip-red);
  font-size: 1.2rem;
}

.pcard-price .amount {
  font-size: 3rem;
}

.pcard-price .cents {
  margin-top: 8px;
  font-size: 1rem;
}

.pcard-save {
  display: inline-flex;
  align-self: flex-start;
  margin: 4px 0 18px;
  padding: 6px 10px;
  background: rgba(22, 163, 74, 0.10);
  color: var(--ip-success);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pcard-features {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pcard-features li {
  display: flex;
  gap: 9px;
  color: var(--ip-text-soft);
  font-size: 0.94rem;
}

.pcard-features .ip-icon {
  color: var(--ip-success);
}

.pcard .btn {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  overflow: hidden;
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-md);
}

.split-media img {
  width: 100%;
  aspect-ratio: 1586 / 992;
  object-fit: cover;
}

.split-copy .sect-eyebrow {
  margin-bottom: 14px;
}

.split-copy p {
  color: var(--ip-text-soft);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ip-heading);
  font-weight: 800;
}

.feature-list .ip-icon {
  color: var(--ip-success);
  margin-top: 3px;
}

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

.icon-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
  transition: transform var(--ip-t), box-shadow var(--ip-t), border-color var(--ip-t);
}

.icon-card:hover {
  border-color: rgba(0, 102, 0, 0.28);
  box-shadow: var(--ip-shadow-md);
  transform: translateY(-4px);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--ip-red);
  border-radius: 17px;
}

.icon-box.alt {
  background: var(--ip-yellow);
}

.icon-box.gold {
  background: var(--ip-gold);
  color: var(--ip-heading);
}

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

.icon-card p {
  color: var(--ip-text-soft);
  font-size: 0.96rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 228px;
  padding: 48px 24px 26px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
}

.step-card::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--ip-red);
  border: 5px solid var(--ip-bg-soft);
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.step-card:nth-child(even)::before {
  background: var(--ip-yellow);
}

.step-card h3 {
  font-size: 1.15rem;
}

.step-card p {
  color: var(--ip-text-soft);
  font-size: 0.95rem;
}

.device-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  color: var(--ip-heading);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--ip-shadow-xs);
}

.device-item .ip-icon {
  width: 34px;
  height: 34px;
  color: var(--ip-red);
}

.channel-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.channel-main,
.channel-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-md);
}

.channel-main img,
.channel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ip-t);
}

.channel-main:hover img,
.channel-card:hover img {
  transform: scale(1.04);
}

.channel-overlay {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  color: #fff;
  background: rgba(16, 36, 63, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ip-r-md);
  backdrop-filter: blur(10px);
}

.channel-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
}

.channel-overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 900;
}

.channel-side {
  display: grid;
  gap: 26px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.stat-item {
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--ip-border-soft);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-num {
  display: block;
  color: var(--ip-heading);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--ip-text-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.cmp {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.cmp table {
  width: 100%;
  border-collapse: collapse;
}

.cmp th,
.cmp td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ip-border-soft);
}

.cmp th {
  color: var(--ip-heading);
  background: var(--ip-bg-soft);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.cmp tr:last-child td {
  border-bottom: 0;
}

.cmp .highlight {
  background: rgba(0, 102, 0, 0.06);
  color: var(--ip-heading);
  font-weight: 900;
}

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

.t-card {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
}

.t-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(0, 102, 0, 0.14);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.t-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  color: var(--ip-gold);
}

.t-card p {
  position: relative;
  color: var(--ip-text-soft);
}

.t-author {
  margin-top: 18px;
  color: var(--ip-heading);
  font-weight: 900;
}

.faq-block {
  max-width: 920px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 34px;
}

.faq-category .sect-eyebrow {
  margin-left: 4px;
}

.faq-item {
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-xs);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 22px;
  color: var(--ip-heading);
  background: #fff;
  border: 0;
  font-weight: 900;
  text-align: left;
}

.faq-q::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--ip-red);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
}

.faq-item.open .faq-q::after {
  content: "-";
  background: var(--ip-yellow);
}

.faq-a {
  display: none;
  padding: 0 22px 22px;
  color: var(--ip-text-soft);
}

.faq-item.open .faq-a {
  display: block;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--ip-heading), var(--ip-heading-alt));
  border-radius: var(--ip-r-xl);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0, 102, 0, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(209, 17, 27, 0.22), transparent 45%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2,
.cta-banner h3 {
  color: #fff;
}

.cta-banner p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.cta-banner .btn-outline:hover,
.cta-banner .btn-outline:focus {
  background: #fff;
  color: var(--ip-heading);
  border-color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.page-hero {
  padding: 74px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--ip-bg-soft) 100%);
  text-align: center;
}

.page-hero .container {
  max-width: 920px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ip-text-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--ip-heading);
}

.page-hero p {
  color: var(--ip-text-soft);
  font-size: 1.05rem;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
}

.value-card .icon-box {
  background: linear-gradient(135deg, var(--ip-red), var(--ip-yellow));
}

.big-quote {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 44px 48px;
  background: #fff;
  border-left: 6px solid var(--ip-red);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-md);
}

.big-quote::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 34px;
  color: rgba(209, 17, 27, 0.12);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
}

.big-quote p {
  position: relative;
  color: var(--ip-heading);
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.45;
}

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

.chan-card {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border-top: 5px solid var(--ip-red);
  border-radius: 0 0 var(--ip-r-md) var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
}

.chan-card:nth-child(even) {
  border-top-color: var(--ip-yellow);
}

.chan-card:nth-child(3n) {
  border-top-color: var(--ip-gold);
}

.chan-card h3 {
  font-size: 1.12rem;
}

.chan-card p {
  color: var(--ip-text-soft);
  font-size: 0.94rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.info-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

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

.contact-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info-card {
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--ip-heading), var(--ip-heading-alt));
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-md);
}

.contact-info-card h2,
.contact-info-card h3 {
  color: #fff;
}

.contact-line {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-top: 20px;
}

.contact-line .ip-icon {
  color: var(--ip-gold);
}

.contact-line span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  color: #fff;
}

.contact-form-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ip-heading);
  font-weight: 900;
}

.form-field input,
.form-field textarea,
.form-field select,
.search-field {
  width: 100%;
  padding: 13px 15px;
  color: var(--ip-heading);
  background: #fff;
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-r-sm);
  outline: none;
  transition: border-color var(--ip-t), box-shadow var(--ip-t);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.search-field:focus {
  border-color: var(--ip-red);
  box-shadow: 0 0 0 4px rgba(0, 102, 0, 0.10);
}

.form-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(22, 163, 74, 0.10);
  color: var(--ip-success);
  border-radius: var(--ip-r-sm);
  font-weight: 800;
}

.map-card {
  overflow: hidden;
  min-height: 320px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.legal-meta {
  margin-bottom: 34px;
  padding: 18px 20px;
  background: var(--ip-bg-soft);
  border-left: 5px solid var(--ip-red);
  border-radius: var(--ip-r-sm);
}

.legal-wrap h2 {
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid var(--ip-border-soft);
  font-size: 1.6rem;
}

.legal-wrap h2:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-wrap h3 {
  margin-top: 22px;
  font-size: 1.2rem;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.bcard {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
  transition: transform var(--ip-t), box-shadow var(--ip-t);
}

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

.bthumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ip-bg-soft-2);
}

.bthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ip-t);
}

.bcard:hover .bthumb img {
  transform: scale(1.04);
}

.bcontent {
  padding: 22px;
}

.bmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ip-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.bmeta a,
.bmeta span:first-child {
  color: var(--ip-red);
}

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

.bcard h3 a {
  color: var(--ip-heading);
}

.bcard p {
  color: var(--ip-text-soft);
  font-size: 0.94rem;
}

.bmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ip-red);
  font-weight: 900;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ip-heading);
  background: #fff;
  border: 1px solid var(--ip-border);
  border-radius: 99px;
  font-weight: 900;
}

.pagination .current,
.pagination a:hover {
  background: var(--ip-red);
  color: #fff;
  border-color: var(--ip-red);
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.post-wrap {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
  box-shadow: var(--ip-shadow-sm);
}

.post-featured {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: var(--ip-r-md);
}

.post-featured img {
  width: 100%;
  aspect-ratio: 1200 / 675;
  object-fit: cover;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--ip-text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.post-meta-row span,
.post-meta-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post-meta-row .ip-icon {
  width: 17px;
  height: 17px;
  color: var(--ip-red);
}

.entry-content h2,
.entry-content h3 {
  margin-top: 34px;
}

.entry-content blockquote {
  margin: 32px 0;
  padding: 18px 22px;
  color: var(--ip-heading);
  background: var(--ip-bg-soft);
  border-left: 5px solid var(--ip-red);
  border-radius: var(--ip-r-sm);
  font-weight: 800;
}

.entry-content img {
  margin: 28px 0;
  border-radius: var(--ip-r-md);
}

.tag-row.post-tags {
  margin-top: 32px;
}

.post-tags a {
  display: inline-flex;
  padding: 7px 12px;
  background: var(--ip-bg-soft);
  color: var(--ip-heading);
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 900;
}

.sidebar-cta,
.sidebar-box {
  padding: 26px;
  border-radius: var(--ip-r-md);
  box-shadow: var(--ip-shadow-sm);
}

.sidebar-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--ip-heading), var(--ip-heading-alt));
}

.sidebar-cta h3 {
  color: #fff;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.sidebar-box {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
}

.sidebar-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-box a {
  color: var(--ip-heading);
  font-weight: 800;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-submit {
  min-width: 48px;
  color: #fff;
  background: var(--ip-red);
  border: 0;
  border-radius: 50%;
}

.comments-area {
  margin-top: 36px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-lg);
}

.comment-list {
  margin-left: 0;
  list-style: none;
}

.comment-body {
  padding: 18px 0;
  border-bottom: 1px solid var(--ip-border-soft);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-r-sm);
}

.not-found-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px;
  background: #fff;
  border: 1px solid var(--ip-border-soft);
  border-radius: var(--ip-r-xl);
  box-shadow: var(--ip-shadow-md);
  text-align: center;
}

.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  background: var(--ip-heading);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ip-red), var(--ip-gold), var(--ip-yellow));
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 64px 0 42px;
}

.footer-logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: var(--ip-r-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.footer-brand p {
  margin-top: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.footer-col h4 {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--ip-gold);
  border-radius: 99px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a:hover,
.footer-col a:focus {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact .contact-line {
  margin-top: 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.88rem;
}

.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: white;
  background: var(--ip-wa);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  animation: waPulse 2.6s infinite;
}

.float-wa:hover,
.float-wa:focus {
  color: #fff;
  background: var(--ip-wa-dark);
  transform: translateY(-2px);
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--ip-text-muted);
  font-size: 0.86rem;
}

.sticky {
  display: block;
}

.bypostauthor {
  display: block;
}

@media (max-width: 1120px) {
  .hero .container,
  .split,
  .contact-split,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .pricing-cards,
  .steps-row,
  .values-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .split.reverse .split-media {
    order: 0;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .header-cta-wa span {
    display: none;
  }

  .icon-grid,
  .t-grid,
  .footer-main,
  .payment-methods.icon-grid,
  .channel-showcase,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2),
  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--ip-border-soft);
  }
}

@media (max-width: 767px) {
  .admin-bar .site-header {
    top: 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--ip-max));
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 42px 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.32rem;
  }

  .header-bar {
    min-height: 72px;
  }

  .site-logo img,
  .custom-logo-link img {
    width: 62px;
    height: 62px;
  }

  .mobile-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--ip-border-soft);
    border-radius: var(--ip-r-md);
    box-shadow: var(--ip-shadow-lg);
  }

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

  .primary-nav ul {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero .container {
    gap: 34px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-badge-card {
    display: none;
  }

  .pricing-cards,
  .steps-row,
  .values-row,
  .device-row,
  .chan-masonry,
  .trust-row,
  .stats-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .pcard.best {
    transform: none;
  }

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

  .trust-item,
  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--ip-border-soft);
  }

  .trust-item:last-child,
  .stat-item:last-child {
    border-bottom: 0;
  }

  .cta-banner,
  .legal-wrap,
  .post-wrap,
  .not-found-card {
    padding: 34px 22px;
    border-radius: var(--ip-r-lg);
  }

  .search-form {
    align-items: stretch;
  }

  .footer-main {
    padding-top: 48px;
  }
}
