/* Container */
.xcp_container{
  max-width:var(--xcp-container);
  margin:0 auto;
  padding:0 var(--xcp-pad);
}

/* Sections */
.xcp_section{
  padding:100px 0;
}

.xcp_section--alt{
  background:var(--xcp-surface);
}

/* Typography */
.xcp_h1{
  font-size:64px;
  font-weight:800;
  letter-spacing:-1px;
  margin:0 0 16px;
}

.xcp_h2{
  font-size:34px;
  font-weight:800;
  margin:0 0 12px;
}

.xcp_p{
  font-size:17px;
  line-height:1.7;
  color:var(--xcp-muted);
  margin:0;
}

/* Buttons */
.xcp_btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 22px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  transition:.2s ease;
}

.xcp_btn--primary{
  background:var(--xcp-blue);
  color:#fff;
}

.xcp_btn--primary:hover{
  filter:brightness(1.1);
  transform:translateY(-2px);
}

.xcp_btn--ghost{
  border:1px solid var(--xcp-line);
  color:var(--xcp-text);
}

.xcp_btn--ghost:hover{
  border-color:#000;
  transform:translateY(-2px);
}

/* Hero */
.xcp_hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  position:relative;
}

.xcp_hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
}

.xcp_hero_content{
  position:relative;
  z-index:2;
}

/* Grid */
.xcp_grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.xcp_tile{
  position:relative;
  height:520px;
  overflow:hidden;
  border-radius:var(--xcp-radius);
}

.xcp_tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.xcp_tile:hover img{
  transform:scale(1.05);
}

.xcp_tile_content{
  position:absolute;
  top:40px;
  left:40px;
  z-index:2;
}

/* Cards */
.xcp_card{
  padding:32px;
  border-radius:var(--xcp-radius);
  border:1px solid var(--xcp-line);
  transition:.2s ease;
}

.xcp_card:hover{
  box-shadow:var(--xcp-shadow);
  transform:translateY(-3px);
}

/* Responsive */
@media(max-width:980px){

  .xcp_section{
    padding:70px 0;
  }

  .xcp_h1{
    font-size:38px;
  }

  .xcp_grid{
    grid-template-columns:1fr;
  }

}



/* 4 components on home page */

/* file: /assets/css/components.css */

/* ===== DJI-like Promo Grid ===== */
.xcp_promo_grid{
  padding: 18px 0;
  background: #fff;
}

.xcp_promo_grid__inner{
  /* max-width: 1240px; */
  margin: 0 auto;
  /* padding: 0 18px; */

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Card */
.xcp_promo_card{
  position: relative;
  overflow: hidden;
  

  min-height: 420px;
  background: #eef1f4;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;

  /*border: 1px solid rgba(0,0,0,.06);*/
}

/* soft overlay like DJI */
.xcp_promo_card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 260px at 50% 10%, rgba(255,255,255,.85), rgba(255,255,255,.55) 45%, rgba(255,255,255,.12) 80%),
    linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.35) 48%, rgba(255,255,255,0) 100%);
  pointer-events:none;
}

.xcp_promo_card__content{
  position: relative;
  z-index: 1;

  height: 100%;
  padding: 42px 34px 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.xcp_promo_card__eyebrow{
  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(0,0,0,.55);
  margin-bottom: 10px;
}

.xcp_promo_card__title{
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: .3px;
  font-weight: 800;
  color: #111;
}

.xcp_promo_card__subtitle{
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(0,0,0,.72);
}

/* links row */
.xcp_promo_card__links{
  margin-top: 18px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.xcp_promo_link{
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xcp_promo_link::after{
  content: "›";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
  opacity: .75;
}

/* hover: subtle zoom + slightly stronger contrast */
.xcp_promo_card{
  transition: transform .18s ease, box-shadow .18s ease;
}

.xcp_promo_card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .xcp_promo_grid__inner{
    grid-template-columns: 1fr;
  }

  .xcp_promo_card{
    min-height: 360px;
  }

  .xcp_promo_card__title{
    font-size: 38px;
  }
}

@media (max-width: 520px){
  .xcp_promo_card__content{
    padding: 34px 18px 26px;
  }

  .xcp_promo_card__title{
    font-size: 32px;
  }
}



/* ===== XCP SkyPixel Slider ===== */
.xcp_skypixel{
  padding: 22px 0;
  background: #fff;
}

.xcp_skypixel__inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;

  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: stretch;
}

/* slider box */
.xcp_skypixel__slider{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e9edf1;
  border: 1px solid rgba(0,0,0,.06);
}

/* each slide = full cover */
.xcp_skypixel__link{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  color: inherit;
  text-decoration: none;
}

/* poster (shown before video plays) */
.xcp_skypixel__poster{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
}

/* video cover */
.xcp_skypixel__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity .22s ease;
}

/* show video once loaded/playing */
.xcp_skypixel__video.is-ready{
  opacity: 1;
}

/* gradient overlay like DJI */
.xcp_skypixel__link::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

/* arrows */
.xcp_skypixel__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  cursor: pointer;
  z-index: 5;
}

.xcp_skypixel__prev{ left: 12px; }
.xcp_skypixel__next{ right: 12px; }

.xcp_skypixel__nav::before{
  content:"";
  display:block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid rgba(255,255,255,.92);
  border-right: 2px solid rgba(255,255,255,.92);
  transform: rotate(45deg);
}

.xcp_skypixel__prev::before{
  transform: rotate(-135deg);
}

/* pagination bullets with progress bar */
.xcp_skypixel__pagination{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 6;

  display: flex;
  gap: 8px;
}

.xcp_skypixel__pagination .swiper-pagination-bullet{
  flex: 1 1 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  overflow: hidden;
  opacity: 1;
  margin: 0 !important;
}

.xcp_skypixel__pagination .swiper-pagination-bullet::after{
  content:"";
  display:block;
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,.90);
}

/* we animate this from JS by setting --p to 0..100 */
.xcp_skypixel__pagination .swiper-pagination-bullet.is-active::after{
  width: var(--p, 0%);
}

/* content panel */
.xcp_skypixel__content{
  border-radius: 12px;
  background: #f4f6f8;
  border: 1px solid rgba(0,0,0,.06);
  padding: 22px 18px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xcp_skypixel__desc{
  margin: 0 0 8px;
  color: rgba(0,0,0,.58);
  font-size: 13px;
  font-weight: 600;
}

.xcp_skypixel__title{
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}

.xcp_skypixel__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.xcp_skypixel__cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;

  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  color: #111;
}

.xcp_skypixel__cta::after{
  content:"›";
  font-size: 18px;
  transform: translateY(-1px);
  opacity: .7;
}

.contact-info-value{
display:block;
font-size:16px;
color:#222;
font-weight:500;
text-decoration:none;
}

.contact-info-value:hover{
text-decoration:underline;
}

/* responsive */
@media (max-width: 980px){
  .xcp_skypixel__inner{
    grid-template-columns: 1fr;
  }
  .xcp_skypixel__link{
    min-height: 360px;
  }
}



/* contact form layout */


.contact_form_g1 , .contact_form_g2{
  padding: 10px;
  border: 1px solid #6b6b6b;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.contact-form{
display:flex;
flex-direction:column;
gap:20px;
max-width:700px;
margin:auto;
}

.contact-field{
display:flex;
flex-direction:column;
gap:6px;
}

.contact-field label{
font-size:14px;
font-weight:600;
}

.contact-field input,
.contact-field textarea{
width:100%;
padding:14px;
border-radius:8px;
border:1px solid #ddd;
font-size:15px;
transition:all .25s;
}

.contact-field input:focus,
.contact-field textarea:focus{
border-color:#000;
outline:none;
}

.contact-submit input{
width:100%;
padding:16px;
border:none;
border-radius:8px;
background:#000;
color:#fff;
font-size:16px;
cursor:pointer;
transition:all .25s;
}

.contact-submit input:hover{
background:#333;
}

/* contact page content */


.contact-info{
padding-right:40px;
}

.contact-info h2{
font-size:36px;
margin-bottom:15px;
}

.contact-info p{
color:#666;
margin-bottom:35px;
line-height:1.7;
}

.contact-info-item{
display:flex;
align-items:center;
gap:15px;
padding:16px 18px;
margin-bottom:15px;
background:#fff;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
transition:all .25s ease;
}

.contact-info-item:hover{
transform:translateY(-3px);
box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.contact-info-label{
font-size:13px;
font-weight:600;
text-transform:uppercase;
letter-spacing:.6px;
color:#888;
display:block;
}

.contact-info-value{
font-size:16px;
color:#222;
font-weight:500;
}

/* contact page title style */

.page-header{
position:relative;
height:420px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background-image:url("/wp-content/uploads/support-bg.jpg");
background-size:cover;
background-position:center;
overflow:hidden;
}

/* dark overlay */

.page-header::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

/* title */

.page-header .entry-title{
position:relative;
color:white;
font-size:60px;
font-weight:600;
letter-spacing:1px;
z-index:2;
}

@media (max-width:768px){

.page-header{
height:300px;
}

.page-header .entry-title{
font-size:36px;
}

}