/* =========================================
   PAGES.CSS — Inner Page Components
   Link after main.css
   ========================================= */


/* ===========================
   PAGE HEADER BANNER
   =========================== */

.page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 5vw, 4.5rem) 0 clamp(2.2rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 20% 30%, rgba(31, 162, 255, 0.14), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(20, 216, 180, 0.10), transparent 38%),
    linear-gradient(180deg, #07111f 0%, #0d1829 100%);
  color: var(--text-inverse);
}

.page-header .hero-gridlines {
  opacity: 0.3;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-6, 1.5rem);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full, 9999px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb .sep {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb .sep svg {
  width: 14px;
  height: 14px;
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.85);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-4);
}

.page-header p {
  color: var(--text-inverse-soft);
  font-size: var(--text-lg);
  max-width: 52ch;
  line-height: 1.65;
}


/* ===========================
   ABOUT PAGE
   =========================== */

.about-intro-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.about-intro-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.about-intro-text p {
  color: var(--text-soft);
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  gap: 18px;
}

.mvv-card {
  padding: 28px;
}

.mvv-card .mvv-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.mvv-card:nth-child(1) .mvv-icon {
  background: rgba(31, 162, 255, 0.08);
  border: 1px solid rgba(31, 162, 255, 0.14);
}

.mvv-card:nth-child(2) .mvv-icon {
  background: rgba(20, 216, 180, 0.08);
  border: 1px solid rgba(20, 216, 180, 0.14);
}

.mvv-card:nth-child(3) .mvv-icon {
  background: rgba(95, 111, 255, 0.08);
  border: 1px solid rgba(95, 111, 255, 0.14);
}

.mvv-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 12px;
  color: var(--text);
}

.mvv-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Stats band */
.stats-band {
  background: linear-gradient(180deg, #0c1628 0%, #0a1321 100%);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-inverse);
}

.stats-grid {
  display: grid;
  gap: 18px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  color: var(--text-inverse-soft);
  font-size: 14px;
}

/* Team */
.team-grid {
  display: grid;
  gap: 18px;
}

.team-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.team-card-photo {
  aspect-ratio: 1;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 40px;
  border-bottom: 1px solid var(--line);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-info {
  padding: 18px;
}

.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-info span {
  color: var(--text-soft);
  font-size: 13px;
}


/* ===========================
   SERVICES PAGE
   =========================== */

.services-detail-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.service-detail {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.service-detail:nth-child(even) .service-detail-visual {
  order: -1;
}

.service-detail-content .eyebrow {
  margin-bottom: var(--space-4);
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.service-detail-content p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.service-features {
  display: grid;
  gap: 10px;
  margin-bottom: var(--space-6);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.service-features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 216, 180, 0.10);
  color: var(--primary-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.service-detail-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 48px;
  color: var(--text-dim);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===========================
   CONTACT PAGE
   =========================== */

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* Form */
.contact-form-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-group label .req {
  color: var(--primary);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 162, 255, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-note {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}

/* Contact info sidebar */
.contact-info-stack {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  padding: 22px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--text);
}

.contact-info-list {
  display: grid;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(31, 162, 255, 0.08);
  border: 1px solid rgba(31, 162, 255, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 16px;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-text small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 700;
}

.contact-info-text span,
.contact-info-text a {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
  transition: color var(--transition);
}

.contact-info-text a:hover {
  color: var(--primary);
}

/* Hours card */
.hours-card {
  padding: 22px;
  background: linear-gradient(135deg, #0c1627 0%, #13213a 100%);
  border-color: var(--line-dark);
  color: var(--text-inverse);
}

.hours-card h3 {
  color: var(--text-inverse);
}

.hours-list {
  display: grid;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.hours-row span:first-child {
  color: var(--text-inverse-soft);
}

.hours-row span:last-child {
  color: var(--text-inverse);
  font-weight: 600;
}

.hours-row.closed span:last-child {
  color: var(--text-inverse-dim);
}

/* Map */
.map-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 360px;
  background: var(--surface-3);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ===========================
   FAQ PAGE
   =========================== */

.faq-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Category sidebar */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-cat-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.faq-cat-btn:hover {
  border-color: rgba(31, 162, 255, 0.24);
  color: var(--text);
}

.faq-cat-btn.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #031019;
}

/* Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: rgba(31, 162, 255, 0.20);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(31, 162, 255, 0.08);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-chevron svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(31, 162, 255, 0.14);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin: 0 0 12px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}


/* ===========================
   BLOG PAGE
   =========================== */

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.blog-filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.blog-filter-btn:hover {
  border-color: rgba(31, 162, 255, 0.24);
  color: var(--text);
}

.blog-filter-btn.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #031019;
}

.blog-grid {
  display: grid;
  gap: 18px;
}

.blog-card-lg {
  overflow: hidden;
  padding: 0;
}

.blog-card-lg img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.blog-card-lg .blog-card-body {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.blog-card-lg .blog-card-body h3 {
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.blog-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.5;
}

/* Newsletter CTA on blog */
.newsletter-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, #0c1627 0%, #13213a 100%);
  border-color: var(--line-dark);
  color: var(--text-inverse);
  text-align: center;
}

.newsletter-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 8px;
  color: var(--text-inverse);
}

.newsletter-card p {
  color: var(--text-inverse-soft);
  font-size: 14px;
  margin-bottom: var(--space-5);
  max-width: 40ch;
  margin-inline: auto;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin-inline: auto;
}

.newsletter-form .form-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark-strong);
  color: var(--text-inverse);
}

.newsletter-form .form-input::placeholder {
  color: var(--text-inverse-dim);
}

.newsletter-form .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 162, 255, 0.18);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.page-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover {
  border-color: rgba(31, 162, 255, 0.24);
  color: var(--text);
}

.page-btn.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #031019;
}

.page-btn.arrow {
  font-size: 16px;
}


/* ===========================
   INNER PAGE RESPONSIVE
   =========================== */

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .about-intro-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
  .service-detail { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 240px 1fr; }
  .faq-categories { flex-direction: column; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 639px) {
  .newsletter-form { flex-direction: column; }
  .faq-question { padding: 16px; font-size: 15px; }
  .faq-answer-inner { padding: 0 16px 16px; }
  .contact-info-card, .hours-card { padding: 18px; }
}
