/* Scoped styles imported from CTP 2/index.html. Header and footer stay from the PHP site. */
.ctp2-home {
  --primary-blue: #0057c8;
  --primary-red: #e51d2a;
  --accent-yellow: #ffc400;
  --dark: #07142f;
  --muted: #5d6b86;
  --light: #f4f9ff;
  --card-bg: #ffffff;
  --border: #dfe8f5;
  --shadow-sm: 0 8px 24px rgba(0, 43, 100, .07);
  --shadow-md: 0 16px 42px rgba(0, 43, 100, .11);
  --shadow-lg: 0 24px 70px rgba(0, 43, 100, .16);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: radial-gradient(circle at 0 18%, rgba(0, 87, 200, .08), transparent 22rem), radial-gradient(circle at 100% 8%, rgba(0, 87, 200, .06), transparent 18rem), #fff;
  line-height: 1.55;
}
.ctp2-home, .ctp2-home * { box-sizing: border-box; }
.ctp2-home a { color: inherit; text-decoration: none; }
.ctp2-home img { max-width: 100%; display: block; }

.ctp2-home .container{ width: min(calc(100% - 44px), var(--container)); margin: 0 auto; }
.ctp2-home .section{ padding: 90px 0; }
.ctp2-home .section-soft{ background: linear-gradient(180deg, rgba(244, 249, 255, .78), rgba(255, 255, 255, .96)); border-block: 1px solid var(--border); }
.ctp2-home .eyebrow{ color: var(--primary-blue); font-weight: 800; font-size: .9rem; margin: 0 0 8px; }
.ctp2-home .section-title{ margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.06; letter-spacing: 0; }
.ctp2-home .section-lead{ color: var(--muted); max-width: 720px; margin: 16px 0 0; }
.ctp2-home .accent-red{ color: var(--primary-red); }
.ctp2-home .accent-blue{ color: var(--primary-blue); }

.ctp2-home .hero{ position: relative; padding: 36px 0 70px; overflow: hidden; }
.ctp2-home .hero::before, .ctp2-home .hero::after{
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background-image: linear-gradient(#dbeafa 1px, transparent 1px), linear-gradient(90deg, #dbeafa 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .45;
  animation: floatGrid 10s ease-in-out infinite alternate;
}
.ctp2-home .hero::before{ left: -88px; bottom: 30px; }
.ctp2-home .hero::after{ right: -110px; top: 86px; }
@keyframes floatGrid { to { transform: translateY(22px); } }
.ctp2-home .hero-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.12fr; gap: 58px; align-items: center; }
.ctp2-home .hero h1{ font-size: clamp(2.65rem, 5.2vw, 5.35rem); line-height: .94; margin: 0 0 24px; letter-spacing: 0; max-width: 660px; }
.ctp2-home .page-hero h1{ font-size: clamp(3rem, 5vw, 4.9rem); }
.ctp2-home .hero-text{ color: #23314f; font-size: 1.08rem; max-width: 630px; }
.ctp2-home .hero-highlight{ color: var(--primary-blue); font-weight: 800; margin-top: 24px; }
.ctp2-home .actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.ctp2-home .hero-actions-stats{ align-self: center; }
.ctp2-home .hero-actions-stats .actions{ margin-top: 0; }
.ctp2-home .hero-actions-stats .stats{ grid-template-columns: 1fr; max-width: 520px; }
.ctp2-home .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .22s ease;
}
.ctp2-home .btn svg{ width: 18px; height: 18px; }
.ctp2-home .btn-primary{ background: linear-gradient(135deg, var(--primary-blue), #0044aa); color: #fff; box-shadow: 0 14px 28px rgba(0, 87, 200, .24); }
.ctp2-home .btn-secondary{ background: #fff; color: var(--primary-red); border-color: var(--primary-red); }
.ctp2-home .btn:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ctp2-home .stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.ctp2-home .stat-card, .ctp2-home .card, .ctp2-home .contact-card, .ctp2-home .resource-item, .ctp2-home .faq-item, .ctp2-home .social-card, .ctp2-home .form-panel, .ctp2-home .map-card{
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.ctp2-home .stat-card{ display: flex; gap: 14px; align-items: center; padding: 18px; }
.ctp2-home .icon-box{
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary-blue);
  background: #eff6ff;
  transition: .22s ease;
}
.ctp2-home .icon-red{ color: var(--primary-red); background: #fff1f2; }
.ctp2-home .icon-yellow{ color: #eba800; background: #fff8d8; }
.ctp2-home .icon-box svg{ width: 30px; height: 30px; stroke-width: 2.2; }
.ctp2-home .card:hover .icon-box, .ctp2-home .contact-card:hover .icon-box, .ctp2-home .stat-card:hover .icon-box{ transform: scale(1.08) rotate(-3deg); }
.ctp2-home .stat-number{ color: var(--primary-blue); font-size: 2rem; line-height: 1; font-weight: 900; }
.ctp2-home .stat-label{ color: var(--dark); font-size: .88rem; margin: 2px 0 0; }

.ctp2-home .visual{
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid #c8def5;
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, rgba(221,240,255,.82), rgba(255,255,255,.3)), linear-gradient(120deg, #dff1ff, #ffffff);
}
.ctp2-home .visual.city::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 73, 163, .24), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255,255,255,.42) 36px 38px),
    linear-gradient(180deg, rgba(255,255,255,.45), transparent 35%);
}
.ctp2-home .skyline{ position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(to top, rgba(0,77,154,.22), transparent); clip-path: polygon(0 78%,5% 74%,5% 58%,9% 58%,9% 72%,15% 70%,15% 38%,19% 38%,19% 70%,25% 66%,25% 50%,31% 50%,31% 68%,39% 63%,39% 24%,44% 24%,44% 62%,52% 60%,52% 45%,58% 45%,58% 62%,66% 57%,66% 36%,72% 36%,72% 58%,82% 54%,82% 44%,88% 44%,88% 55%,100% 48%,100% 100%,0 100%); }
.ctp2-home .river{ position: absolute; left: -5%; right: -5%; bottom: 0; height: 36%; background: linear-gradient(170deg, rgba(255,255,255,.7), rgba(0,87,200,.24)); clip-path: polygon(0 42%,100% 0,100% 100%,0 100%); }
.ctp2-home .drc-map{
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  left: 35%;
  top: 20%;
  filter: drop-shadow(0 8px 18px rgba(0,87,200,.2));
}
.ctp2-home .network-dot{ position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.28); animation: pulse 2.6s ease-in-out infinite; }
.ctp2-home .d1{ left: 56%; top: 25%; } .ctp2-home .d2{ left: 69%; top: 38%; animation-delay: .4s; } .ctp2-home .d3{ left: 50%; top: 51%; animation-delay: .8s; } .ctp2-home .d4{ left: 77%; top: 20%; animation-delay: 1.1s; }
@keyframes pulse { 50% { transform: scale(1.45); opacity: .55; } }
.ctp2-home .ribbon{ position: absolute; right: -18px; bottom: -6px; width: 48%; height: 110px; transform: skewY(-18deg); background: linear-gradient(145deg, var(--primary-blue) 0 40%, var(--accent-yellow) 40% 46%, var(--primary-red) 46% 70%, var(--accent-yellow) 70% 76%, #0050bd 76%); border-radius: 28px 0 0 0; }

.ctp2-home .split{ display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; align-items: start; }
.ctp2-home .tag-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.ctp2-home .tag, .ctp2-home .badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--primary-blue);
  background: #f7fbff;
  border: 1px solid var(--border);
  font-weight: 750;
  font-size: .9rem;
  transition: .2s ease;
}
.ctp2-home .tag:hover, .ctp2-home .badge:hover{ transform: translateY(-2px); border-color: rgba(229,29,42,.35); }
.ctp2-home .quote{ display: flex; gap: 18px; color: #273550; font-style: italic; margin-bottom: 22px; }
.ctp2-home .quote-mark{ color: var(--primary-blue); font-size: 4rem; line-height: .7; font-weight: 900; }
.ctp2-home .grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ctp2-home .grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ctp2-home .grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ctp2-home .card{ padding: 28px; transition: .25s ease; }
.ctp2-home .card:hover, .ctp2-home .contact-card:hover, .ctp2-home .resource-item:hover, .ctp2-home .social-card:hover{ transform: translateY(-6px); border-color: rgba(0,87,200,.36); box-shadow: var(--shadow-md); }
.ctp2-home .card h3{ margin: 18px 0 8px; font-size: 1.1rem; }
.ctp2-home .card p{ margin: 0; color: var(--muted); }
.ctp2-home .card-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ctp2-home .mini-tag{ color: var(--primary-blue); background: #edf5ff; padding: 6px 10px; border-radius: 8px; font-size: .78rem; font-weight: 750; }

.ctp2-home .section-head{ display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 28px; }
.ctp2-home .section-head .section-lead{ max-width: 620px; margin: 0; }
.ctp2-home .vivatech{
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229,29,42,.22);
  background: linear-gradient(135deg, #fff5f5, #fff 46%, #f8fbff);
  box-shadow: var(--shadow-md);
}
.ctp2-home .viva-grid{ display: grid; grid-template-columns: 280px 1fr 290px; gap: 34px; align-items: center; }
.ctp2-home .viva-logo{ padding: 20px; border-radius: 24px; background: rgba(255,255,255,.72); }
.ctp2-home .viva-logo img{ width: 210px; margin: auto; }
.ctp2-home .viva-date{ margin-top: 18px; text-align: center; font-weight: 900; font-size: 1.25rem; }
.ctp2-home .viva-info h2{ margin: 4px 0 0; font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.05; }
.ctp2-home .viva-info h3{ margin: 4px 0 16px; color: var(--primary-red); font-size: 1.45rem; }
.ctp2-home .viva-facts{ display: grid; gap: 16px; }
.ctp2-home .fact{ display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(229,29,42,.25); border-radius: 14px; background: #fff; font-weight: 850; }
.ctp2-home .fact svg{ width: 22px; height: 22px; flex: 0 0 22px; color: var(--primary-red); stroke-width: 2; }
.ctp2-home .projects{ border-top: 1px solid rgba(229,29,42,.18); margin-top: 28px; padding-top: 22px; }
.ctp2-home .project-title{ text-align: center; color: var(--primary-red); font-weight: 900; margin-bottom: 18px; }
.ctp2-home .project-grid{ display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.ctp2-home .project{ position: relative; min-height: 86px; display: grid; place-items: center; text-align: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; font-size: .82rem; font-weight: 850; color: var(--dark); }
.ctp2-home .project span{ position: absolute; top: 8px; right: 10px; color: var(--muted); font-weight: 900; }

.ctp2-home .news-card{ padding: 0; overflow: hidden; }
.ctp2-home .news-img{ height: 150px; background: linear-gradient(135deg, #cfe8ff, #fff); position: relative; overflow: hidden; }
.ctp2-home .news-img::before{ content: ""; position: absolute; inset: 25% 8% 0; background: linear-gradient(90deg, var(--primary-blue), #8dc7ff); clip-path: polygon(0 72%, 12% 52%, 23% 62%, 32% 28%, 43% 47%, 55% 18%, 70% 36%, 82% 12%, 100% 26%, 100% 100%, 0 100%); opacity: .55; }
.ctp2-home .news-content{ padding: 20px; }
.ctp2-home .news-content h3{ color: var(--primary-blue); margin-top: 0; }
.ctp2-home .date{ color: var(--muted); font-size: .88rem; font-weight: 700; }

.ctp2-home .resources-faq{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; }
.ctp2-home .resource-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ctp2-home .resource-item{ padding: 16px; display: flex; gap: 12px; align-items: center; transition: .22s ease; }
.ctp2-home .resource-item strong{ display: block; color: var(--primary-blue); }
.ctp2-home .resource-item small{ color: var(--muted); }
.ctp2-home .faq-list{ display: grid; gap: 10px; }
.ctp2-home .faq-button{ width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font: inherit; font-weight: 750; color: var(--dark); cursor: pointer; text-align: left; }
.ctp2-home .faq-icon{ color: var(--primary-blue); font-size: 1.3rem; transition: .2s; }
.ctp2-home .faq-item.open .faq-icon{ transform: rotate(180deg); color: var(--primary-red); }
.ctp2-home .faq-answer{ max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.ctp2-home .faq-item.open .faq-answer{ max-height: 500px; }
.ctp2-home .faq-answer p{ margin: 0; padding: 0 18px 16px; color: var(--muted); }

.ctp2-home .content-box{ font-size: 1.08rem; color: #24314d; }
.ctp2-home .content-box p{ margin: 0 0 20px; }
.ctp2-home .actor-grid .card{ text-align: center; }
.ctp2-home .focus-box, .ctp2-home .quote-box{ border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); padding: 34px; }
.ctp2-home .focus-box{ display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: center; }
.ctp2-home .badge-row{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ctp2-home .quote-box{ margin-top: 24px; border-left: 5px solid var(--primary-blue); font-size: 1.25rem; font-weight: 750; color: #182441; }

.ctp2-home .contact-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -20px; position: relative; z-index: 3; }
.ctp2-home .contact-card{ padding: 30px; display: flex; align-items: center; gap: 20px; transition: .22s ease; }
.ctp2-home .contact-card h3{ margin: 0 0 4px; }
.ctp2-home .contact-card p{ margin: 0; color: var(--dark); }
.ctp2-home .center-title{ text-align: center; margin-bottom: 34px; }
.ctp2-home .contact-form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; }
.ctp2-home .form-panel{ border: 0; box-shadow: none; border-radius: 0; padding: 32px; }
.ctp2-home .form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ctp2-home .full{ grid-column: 1 / -1; }
.ctp2-home textarea{ min-height: 150px; resize: vertical; }
.ctp2-home .map-card{ border: 0; box-shadow: none; border-radius: 0; padding: 32px; background: #f7fbff; }
.ctp2-home .map-visual{ position: relative; height: 100%; min-height: 380px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #e5eef4, #fff); }
.ctp2-home .map-visual::before{ content: ""; position: absolute; inset: 0; background-image: linear-gradient(40deg, transparent 0 22px, rgba(0,87,200,.13) 23px 25px, transparent 26px), linear-gradient(130deg, transparent 0 34px, rgba(60,160,90,.18) 35px 55px, transparent 56px); background-size: 90px 90px; }
.ctp2-home .pin{ position: absolute; left: 52%; top: 30%; width: 54px; height: 54px; background: var(--primary-blue); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: var(--shadow-md); }
.ctp2-home .pin::after{ content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; left: 18px; top: 18px; }
.ctp2-home .map-caption{ position: absolute; left: 24px; right: 24px; bottom: 24px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 22px; }
.ctp2-home .social-news{ display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.ctp2-home .social-card{ padding: 30px; transition: .22s ease; }
.ctp2-home .social-large{ display: flex; gap: 34px; margin-top: 24px; }

.ctp2-home .reveal{ opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.ctp2-home .reveal.active{ opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .ctp2-home .hero-grid, .ctp2-home .split, .ctp2-home .focus-box, .ctp2-home .contact-form-grid{ grid-template-columns: 1fr; }
  .ctp2-home .grid-4, .ctp2-home .project-grid{ grid-template-columns: repeat(2, 1fr); }
  .ctp2-home .viva-grid{ grid-template-columns: 1fr; }
  .ctp2-home .viva-logo img{ width: 190px; }
  .ctp2-home .resources-faq, .ctp2-home .quick-contact, .ctp2-home .footer-main, .ctp2-home .social-news{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .ctp2-home .container{ width: min(calc(100% - 28px), var(--container)); }
  .ctp2-home .section{ padding: 62px 0; }
  .ctp2-home .burger{ display: block; }
  .ctp2-home .nav{
    position: fixed;
    inset: 76px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-lg);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
  }
  .ctp2-home .nav.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .ctp2-home .nav-link{ padding: 16px; }
  .ctp2-home .nav-link::after{ bottom: 8px; left: 16px; width: calc(100% - 32px); }
  .ctp2-home .hero{ padding-top: 24px; }
  .ctp2-home .hero h1{ font-size: clamp(2.45rem, 13vw, 4rem); }
  .ctp2-home .visual{ min-height: 310px; }
  .ctp2-home .stats, .ctp2-home .grid-3, .ctp2-home .grid-4, .ctp2-home .grid-2, .ctp2-home .contact-grid, .ctp2-home .resources-faq, .ctp2-home .quick-contact, .ctp2-home .footer-main, .ctp2-home .social-news, .ctp2-home .resource-grid, .ctp2-home .form-grid{ grid-template-columns: 1fr; }
  .ctp2-home .section-head{ display: block; }
  .ctp2-home .section-head .section-lead{ margin-top: 12px; }
  .ctp2-home .actions .btn, .ctp2-home .newsletter-row .btn{ width: 100%; }
  .ctp2-home .newsletter-row{ flex-direction: column; }
  .ctp2-home .tag-grid{ grid-template-columns: 1fr; }
  .ctp2-home .project-grid{ grid-template-columns: repeat(2, 1fr); }
  .ctp2-home .vivatech, .ctp2-home .form-panel, .ctp2-home .map-card, .ctp2-home .focus-box{ padding: 22px; }
  .ctp2-home .contact-card{ align-items: flex-start; }
  .ctp2-home .social-large{ gap: 18px; flex-wrap: wrap; }
}
