/* ============================================================
   ANIBA SOLAR DOCTOR — pages.css (inner page components)
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(60px, 9vw, 120px));
  padding-bottom: clamp(50px, 7vw, 90px);
  background: var(--grad-hero), #fff;
  overflow: hidden;
}
.page-hero .grid-bg { z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { max-width: 780px; }
.page-hero.center .page-hero-inner { margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: var(--fs-page); font-weight: 800; line-height: 1.06; margin: 22px 0 0; letter-spacing: -0.032em; }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-400); flex-wrap: wrap; }
.page-hero.center .breadcrumb { justify-content: center; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb span { opacity: .5; }
.breadcrumb b { color: var(--green-700); font-weight: 600; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero.center .page-hero-actions { justify-content: center; }

/* stats row inside page hero */
.hero-stats-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 60px); margin-top: 44px; }
.hero-stats-row .stat { text-align: left; }
.hero-stats-row .stat-num { font-size: clamp(1.9rem, 3vw, 2.6rem); }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(56px, 8vw, 110px); }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-index { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .16em; color: var(--green-600); text-transform: uppercase; }
.svc-row h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 700; line-height: 1.14; margin: 14px 0 16px; letter-spacing: -0.02em; }
.svc-feature-list { display: grid; gap: 11px; margin-top: 20px; }
.svc-feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: var(--navy-700); }
.svc-feature-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--green-600); }

/* ---------- Content prose ---------- */
.prose { max-width: 720px; font-size: var(--fs-body); line-height: 1.8; color: var(--ink-500); }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.15rem); margin: 44px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: var(--fs-card); margin: 30px 0 10px; letter-spacing: -0.014em; }
.prose p { margin-bottom: 18px; line-height: 1.8; }
.prose ul { display: grid; gap: 11px; margin: 18px 0 26px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); margin-top: 9px; flex-shrink: 0; }

/* ---------- Value / mission cards ---------- */
.value-card { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .card-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ---------- Leadership ---------- */
.leader-card { text-align: center; }
.leader-photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-brand); margin-bottom: 16px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card b { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-800); }
.leader-card span { display: block; font-size: .86rem; color: var(--green-600); margin-top: 3px; }

/* ---------- Pricing comparison table ---------- */
.pricing-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.pricing-table th, .pricing-table td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.pricing-table thead th { position: sticky; top: 0; background: #fff; }
.pricing-table thead .tier-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-800); }
.pricing-table thead .tier-featured { background: var(--grad-navy); color: #fff; border-radius: 14px 14px 0 0; }
.pricing-table thead .tier-featured .tier-name { color: #fff; }
.pricing-table tbody td.featured-col { background: rgba(15,154,168,.05); }
.pricing-table .feat-name { text-align: left; font-weight: 600; color: var(--navy-700); }
.pricing-table .yes { color: var(--green-600); }
.pricing-table .yes svg { width: 22px; height: 22px; }
.pricing-table .no { color: var(--line-strong); }
.pricing-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-info-card { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card .ci-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(23,177,105,.12), rgba(29,111,192,.12)); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-card .ci-icon svg { width: 24px; height: 24px; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: .94rem; color: var(--ink-500); }
.contact-info-card a:hover { color: var(--green-700); }
.form-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .84rem; font-weight: 600; color: var(--navy-700); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--gray-50); transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-500); background: #fff; outline: none; }
.form-field input.invalid, .form-field select.invalid, .form-field textarea.invalid { border-color: #e0483a; background: #fff5f4; }
.form-field textarea { min-height: 120px; resize: vertical; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; margin-top: 40px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ page ---------- */
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.faq-cat { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .9rem; }
.faq-page-acc { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 30px; box-shadow: var(--shadow-xs); }

/* ---------- Careers ---------- */
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.job-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--green-500); }
.job-card h3 { font-size: 1.15rem; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: .86rem; color: var(--ink-400); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Blog ---------- */
.blog-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; height: 100%; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-600); }
.blog-body h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.blog-body p { font-size: .92rem; flex: 1; }
.blog-meta { margin-top: 16px; font-size: .82rem; color: var(--ink-400); }

/* ---------- Industry cards ---------- */
.industry-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px; }
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.industry-card:hover img { transform: scale(1.07); }
.industry-card .ic-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(to top, rgba(7,27,48,.88), transparent 65%); color: #fff; }
.industry-card h3 { color: #fff; font-size: 1.2rem; }
.industry-card p { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .svc-row, .contact-layout { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-media { order: -1; }
  .svc-row-media { order: -1; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
