/* YYC Marketing - small additions that reuse the theme palette (loaded after main.css) */

/* ---- Headings: keep H1/H2 readable on mobile and desktop ---- */
.breadcrumb-wrapper .page-heading h1 { font-size: clamp(28px, 4.6vw, 50px); line-height: 1.18; max-width: 980px; margin: 0 auto; }
.hero-3 .hero-content h1 { font-size: clamp(32px, 5vw, 64px); line-height: 1.12; }
.section-title h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }
.breadcrumb-wrapper .page-heading .breadcrumb-items { flex-wrap: wrap; justify-content: center; }

/* ---- Illustration images ---- */
.illus-frame { border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(23,1,44,.12); background: #F6F3FE; }
.illus-frame img { width: 100%; height: auto; display: block; }

/* ---- Generic content blocks ---- */
.page-section { padding: 90px 0; }
@media (max-width: 767px) { .page-section { padding: 60px 0; } }
.page-section.alt { background: #F6F3FE; }
.lead-text { font-size: 18px; line-height: 1.75; color: #4b4560; }
.text-block p { margin-bottom: 16px; line-height: 1.8; color: #4b4560; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; line-height: 1.6; color: #17012C; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #6A47ED; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }

.feature-card { background: #fff; border: 1px solid #ece6fb; border-radius: 22px; padding: 30px 26px; height: 100%; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(106,71,237,.14); }
.feature-card .f-icon { width: 54px; height: 54px; border-radius: 16px; background: #6A47ED; color: #06B6D4; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { margin: 0; color: #4b4560; line-height: 1.7; }
.feature-card .svc-icon { width: 64px; height: 64px; margin-bottom: 16px; }

.step-card { position: relative; background: #17012C; color: #fff; border-radius: 22px; padding: 30px 26px; height: 100%; }
.step-card .num { font-size: 44px; font-weight: 800; color: #06B6D4; line-height: 1; margin-bottom: 14px; }
.step-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.step-card p { color: #d9d0f2; margin: 0; line-height: 1.7; }

.cta-strip { background: #6A47ED; color: #fff; border-radius: 28px; padding: 44px 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-strip h3 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); }
.cta-strip p { color: #e6defd; margin: 0; }

.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.related-links a { padding: 10px 18px; border-radius: 100px; background: #fff; border: 1px solid #ddd2fb; color: #17012C; font-weight: 600; font-size: 15px; }
.related-links a:hover { background: #6A47ED; color: #fff; border-color: #6A47ED; }

/* ---- FAQ accordions (details/summary) ---- */
.faq-item { background: #fff; border: 1px solid #e6e1f1; border-radius: 18px; margin-bottom: 14px; transition: border-color .2s, background .2s; }
.faq-item[open] { background: #faf7f5; border-color: #6A47ED; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 28px; font-weight: 700; font-size: 18px; color: #17012C; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: #3b3a4a; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 28px 24px; color: #4b4560; line-height: 1.8; }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.faq-side { position: sticky; top: 110px; background: #fbf9f7; border: 1px solid #e6e1f1; border-radius: 26px; padding: 16px; }
.faq-cat { width: 100%; display: flex; align-items: center; gap: 14px; background: transparent; border: 0; border-radius: 14px; padding: 14px 16px; font-size: 16px; font-weight: 500; color: #4b4560; text-align: left; cursor: pointer; }
.faq-cat i { width: 22px; text-align: center; color: #6b6a85; }
.faq-cat .count { margin-left: auto; min-width: 30px; height: 26px; border-radius: 13px; background: #ece9f3; color: #4b4560; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.faq-cat.active { background: #eceeff; color: #6A47ED; }
.faq-cat.active i { color: #6A47ED; }
.faq-cat.active .count { background: #6A47ED; color: #fff; }
.faq-help { margin-top: 14px; background: #f1f2ff; border-radius: 18px; padding: 22px; }
.faq-help i { color: #6A47ED; font-size: 22px; }
.faq-help h4 { margin: 10px 0 6px; font-size: 18px; }
.faq-help p { margin: 0 0 12px; color: #6b6a85; font-size: 15px; }
.faq-help a { color: #6A47ED; font-weight: 700; }
.js .faq-group:not(.active) { display: none; }
@media (max-width: 991px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 10px; border-radius: 18px; }
  .faq-side .faq-cat { width: auto; white-space: nowrap; flex: 0 0 auto; }
  .faq-help { display: none; }
}

/* ---- Contact form ---- */
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { background: #e7f8ec; color: #11602c; }
.form-status.is-error { background: #fdecec; color: #9b1c1c; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.form-actions .btn-alt { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 100px; border: 2px solid #17012C; background: transparent; color: #17012C; font-weight: 700; cursor: pointer; }
.form-actions .btn-alt:hover { background: #17012C; color: #fff; }
.form-actions .btn-whatsapp { border-color: #25D366; color: #128C4A; }
.form-actions .btn-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.contact-card { background: #fff; border: 1px solid #ece6fb; border-radius: 22px; padding: 26px; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .c-icon { flex: 0 0 52px; height: 52px; border-radius: 16px; background: #6A47ED; color: #06B6D4; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-card h4 { font-size: 18px; margin-bottom: 4px; }
.contact-card p, .contact-card a, .contact-card address { margin: 0; color: #4b4560; font-style: normal; line-height: 1.6; }
.contact-form-box { background: #F6F3FE; border-radius: 28px; padding: 40px; }
@media (max-width: 575px) { .contact-form-box { padding: 24px; } }
.contact-form-box .form-control, .contact-form-box select, .contact-form-box textarea { width: 100%; border: 1px solid #ddd2fb; border-radius: 14px; padding: 15px 18px; background: #fff; }
.contact-form-box label { font-weight: 600; margin-bottom: 6px; display: block; }

/* ---- Blog ---- */
.post-card { background: #fff; border: 1px solid #ece6fb; border-radius: 24px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(106,71,237,.14); }
.post-card .thumb img { width: 100%; height: auto; display: block; aspect-ratio: 10 / 7; object-fit: cover; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { display: inline-block; background: #eceeff; color: #6A47ED; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; align-self: flex-start; }
.post-card h3 { font-size: 21px; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a:hover { color: #6A47ED; }
.post-card p { color: #4b4560; line-height: 1.7; margin-bottom: 14px; }
.post-card .meta { margin-top: auto; font-size: 14px; color: #8a83a0; }
.article-cover { border-radius: 26px; overflow: hidden; margin-bottom: 30px; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #6b6a85; font-size: 15px; margin-bottom: 26px; }
.article-meta i { color: #6A47ED; margin-right: 6px; }
.prose { font-size: 18px; line-height: 1.85; color: #3d3753; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 42px 0 16px; line-height: 1.25; }
.prose h3 { font-size: clamp(20px, 2.4vw, 24px); margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 22px 22px; }
.prose li { margin-bottom: 10px; }
.prose a { color: #6A47ED; text-decoration: underline; }
.prose .callout { background: #F6F3FE; border-left: 5px solid #6A47ED; border-radius: 14px; padding: 20px 24px; margin: 26px 0; }
.sidebar-box { background: #F6F3FE; border-radius: 22px; padding: 28px; margin-bottom: 24px; }
.sidebar-box h4 { margin-bottom: 14px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { margin-bottom: 10px; }
.sidebar-box a:hover { color: #6A47ED; }
.pricing-note { text-align: center; color: #6b6a85; margin-top: 26px; }
.custom-plan { background: #17012C; color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-top: 30px; }
.custom-plan h3 { color: #fff; margin-bottom: 8px; }
.custom-plan p { color: #d9d0f2; margin: 0; max-width: 640px; }

/* ---- Brand logos, team and project cards ---- */
.brand-grid { display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: center; align-items: center; margin-top: 34px; }
.brand-grid img { height: 64px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.brand-grid img:hover { filter: none; opacity: 1; }
.team-card { background: #fff; border: 1px solid #ece6fb; border-radius: 24px; overflow: hidden; text-align: center; height: 100%; }
.team-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; display: block; background: #F6F3FE; }
.team-card .t-body { padding: 18px 14px 22px; }
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-card p { margin: 0; color: #6b6a85; }
.project-card { background: #fff; border: 1px solid #ece6fb; border-radius: 24px; overflow: hidden; height: 100%; }
.project-card img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #F6F3FE; }
.project-card .p-body { padding: 22px 24px 26px; }
.project-card h3 { font-size: 21px; margin-bottom: 8px; }
.project-card p { margin: 0; color: #4b4560; line-height: 1.7; }
.hero-3 .hero-image img { width: 100%; height: auto; border-radius: 28px; }

/* ---- Layout polish ---- */
.service-section .service-box-items { height: 100%; }
.text-center > .main-button { display: flex; justify-content: center; }
.brand-grid img { height: 72px; }
html, body { overflow-x: hidden; }

/* ---- Footer columns: align at top and wrap cleanly ---- */
.footer-section .container.a { align-items: flex-start; gap: 24px 16px; }
.compney-info { margin: 0 auto; flex: 1 1 220px; min-width: 200px; padding: 0 12px; }
.compney-info address { color: var(--bg); margin: 0; font-style: normal; line-height: 1.6; }
.compney-info h4 { margin-top: 0; }

/* ---- Pricing polish ---- */
.pricing-box-items .pricing-header .content { padding-right: 70px; }
.pricing-box-items .pricing-header .content h4 { font-size: clamp(18px, 2vw, 22px); line-height: 1.25; }
.pricing-box-items .plan-note { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.88); }
.pricing-section .custom-plan { position: relative; z-index: 3; }
@media (max-width: 575px) { .custom-plan { padding: 28px 22px; } .cta-strip { padding: 30px 22px; } }

/* ---- Form button + price wrapping ---- */
.form-actions button.theme-btn { background: #6A47ED; color: #fff; padding: 15px 32px; border-radius: 100px; font-weight: 700; cursor: pointer; transition: background .2s; }
.form-actions button.theme-btn:hover { background: #17012C; }
.form-actions button.theme-btn[disabled] { opacity: .7; cursor: wait; }
.pricing-box-items .pricing-header .content h2 { font-size: clamp(30px, 4vw, 44px); }
.pricing-box-items .pricing-header .content h2 sub { white-space: nowrap; font-size: 16px; }

/* ---- Centered section headings: max 600px ---- */
.section-title.text-center h2, .section-title.center h2 { max-width: 600px; margin-left: auto; margin-right: auto; }
.page-section .row.justify-content-center .section-title h2 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Animated FAQ accordion ---- */
.faq-item { background: #fff; border: 1px solid #e6e1f1; border-radius: 18px; margin-bottom: 14px; transition: border-color .3s, background .3s, box-shadow .3s; overflow: hidden; }
.faq-item.open { background: #faf7f5; border-color: #6A47ED; box-shadow: 0 10px 30px rgba(106,71,237,.10); }
.faq-q { width: 100%; background: transparent; border: 0; text-align: left; cursor: pointer; padding: 22px 64px 22px 28px; font-weight: 700; font-size: 18px; color: #17012C; position: relative; }
.faq-q::before, .faq-q::after { content: ""; position: absolute; right: 28px; top: 50%; width: 16px; height: 2px; background: #3b3a4a; transition: transform .35s ease, opacity .35s ease; }
.faq-q::after { transform: rotate(90deg); }
.faq-item.open .faq-q::after { transform: rotate(0deg); opacity: 0; }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-wrap > .faq-a { overflow: hidden; min-height: 0; padding: 0 28px; color: #4b4560; line-height: 1.8; opacity: 0; transition: opacity .35s ease .05s, padding .4s ease; }
.faq-item.open .faq-a-wrap > .faq-a { padding: 0 28px 24px; opacity: 1; }
.faq-group.active { animation: faqFade .4s ease; }
@keyframes faqFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-a-wrap, .faq-a, .faq-q::before, .faq-q::after { transition: none !important; } .faq-group.active { animation: none; } }

/* ---- Real photos (placeholder photos, replace later) ---- */
.photo-frame { border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(23,1,44,.12); background: #F6F3FE; }
.photo-frame img { width: 100%; height: auto; display: block; aspect-ratio: 10 / 7; object-fit: cover; }
.post-card .thumb img { aspect-ratio: 10 / 7; object-fit: cover; }
.article-cover img { aspect-ratio: 16 / 9; object-fit: cover; }
.team-recent .project-card img { aspect-ratio: 16 / 10; }
.pricing-box-items .price-list li .price-1 { text-align: left; }
.pricing-section .pricing-tab-header { margin-top: 20px; }
.contact-form-items .form-clt .form-status, .contact-form-area .form-status { color: #fff; }
.contact-section .form-status.is-ok { background: #e7f8ec; color: #11602c; }
.contact-section .form-status.is-error { background: #fdecec; color: #9b1c1c; }
.contact-form-items .row .theme-btn { width: 100%; justify-content: center; }

/* ---- Keep emails/phones as typed ---- */
.contact-info-items h3 a, .contact-info-items h3, .compney-info a { text-transform: none; }

/* ---- Decorative arrow next to Monthly/Yearly must not block clicks ---- */
.pricing-tab-header .arrow-shape, .pricing-tab-header .arrow-shape img { pointer-events: none; }
