/* Styles shared by the inner pages: services, courses, blog and 404 */

section {
  padding: 6rem 5%;
}

.section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.section-h2 {
  margin-bottom: 2.5rem;
}

.sub-heading {
  margin-top: 4rem;
}

/* ── HERO ── */
.hero {
  padding: 140px 5% 80px;
  background: radial-gradient(circle at 80% 20%, var(--orange-pale) 0%, var(--light) 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(232, 82, 10, 0.08);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 82, 10, 0.2);
}

.hero-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 2.2rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── CAPABILITIES ── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 2rem;
}

.cap-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-decoration: none;
  display: block;
  color: inherit;
}

a.cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: rgba(232, 82, 10, 0.2);
}

.cap-icon {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.cap-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cap-list li {
  font-size: 0.85rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.cap-list li::before {
  content: "✦";
  color: var(--orange);
  font-size: 0.8rem;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}

.portfolio-grid.single {
  grid-template-columns: minmax(0, 420px);
}

.portfolio-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.portfolio-preview {
  width: 100%;
  height: 240px;
  background: var(--light);
  overflow: hidden;
}

.portfolio-preview.tall {
  height: 420px;
}

.portfolio-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-preview img {
  transform: scale(1.06);
}

.portfolio-details {
  padding: 1.5rem;
  flex-grow: 1;
  border-top: 1px solid var(--border);
}

.portfolio-details h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.portfolio-details p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.showcase {
  text-align: center;
}

.showcase-frame {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-caption {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── PROCESS ── */
#process {
  background: var(--light);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.process-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA ── */
#cta {
  padding-top: 2rem;
}

.cta-banner {
  background: var(--dark);
  color: var(--white);
  border-radius: 30px;
  padding: 4.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 82, 10, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-banner h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-banner .btn-primary {
  display: inline-block;
}

/* ── INTRO / PROSE ── */
.alt-bg {
  background: var(--light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.prose p,
.prose li {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.4rem 1.3rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--dark);
  margin: 2.6rem 0 1rem;
  line-height: 1.2;
}

.prose h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.8rem 0 0.7rem;
}

.prose a {
  color: var(--orange);
  font-weight: 500;
}

.prose strong {
  color: var(--dark);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6rem;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
}

.prose th {
  background: var(--light);
  color: var(--dark);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.side-card {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 2.2rem;
}

.side-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.side-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.side-card li::before {
  content: "✦ ";
  color: var(--orange);
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 20px 40px rgba(232, 82, 10, 0.08);
}

.price-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.price-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.price-card .cap-list {
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.price-card .btn-outline {
  text-align: center;
}

.pricing-foot {
  margin-top: 1.8rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* ── FACTS (course quick info) ── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.2rem;
}

.fact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
}

.fact span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.fact p {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
}

/* ── FAQ ── */
.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin-top: 0.8rem;
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ── CTA BUTTONS (on dark banner) ── */
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-light:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.cta-banner .cta-area {
  margin: 1.6rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── BLOG ── */
.post-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-cover {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 2rem;
}

.cap-card .h3-like {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cap-card .service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
}

.cap-card .post-meta {
  margin-bottom: 0.8rem;
  display: block;
}

.text-center {
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 5% 60px;
  }

  section {
    padding: 4rem 5%;
  }

  .portfolio-preview.tall {
    height: 360px;
  }
}
