/* ============================================================
   HRS OUTBOOKS LLC — SERVICES & CONTACT PAGE STYLES
   ============================================================ */

/* ─── Services Page ─── */
.services-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-full-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.07);
  box-shadow: var(--shadow-sm);
  transition: all 0.45s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.service-full-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(30, 94, 255, 0.2);
}

.sfc-image {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.sfc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-full-card:hover .sfc-image img { transform: scale(1.08); }

.sfc-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 30, 66, 0.75) 0%, transparent 60%);
}

.sfc-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sfc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(30, 94, 255, 0.3);
  transition: all 0.3s var(--ease-bounce);
}

.service-full-card:hover .sfc-icon {
  transform: rotate(-8deg) scale(1.1);
}

.sfc-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.sfc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.sfc-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.sfc-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
}

.sfc-benefit svg { color: var(--primary-bright); width: 14px; height: 14px; flex-shrink: 0; }

.sfc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 61, 145, 0.07);
}

.sfc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-bright);
  transition: gap 0.3s var(--ease-bounce);
}

.sfc-link:hover { gap: 12px; color: var(--primary); }

/* ─── Service Detail Page (individual service) ─── */
.service-detail-hero {
  min-height: 70vh;
  background: var(--navy-dark);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.sdh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.sdh-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.92) 0%, rgba(11, 61, 145, 0.8) 100%);
}

.sdh-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.sdh-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  margin-bottom: 24px;
}

.sdh-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.sdh-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Service Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 94, 255, 0.15);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  margin-bottom: 16px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Contact Page ─── */
.contact-full-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(11, 61, 145, 0.07);
}

.contact-sidebar {
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  color: var(--white);
  height: 100%;
}

.contact-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-sidebar-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-detail-item:last-of-type { border-bottom: none; }

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.cd-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  margin-top: 32px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) grayscale(20%);
}

/* ─── Responsive ─── */
@media (max-width: 1199px) {
  .services-grid-full { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .services-grid-full { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-full-form-wrap { padding: 28px 24px; }
}

/* ============================================================
   SERVICE DETAIL HERO (service sub-pages)
   ============================================================ */
.service-detail-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 160px;
  overflow: hidden;
}

.sdh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.service-detail-hero:hover .sdh-bg {
  transform: scale(1.0);
}

.sdh-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 30, 66, 0.92) 0%,
    rgba(11, 61, 145, 0.78) 50%,
    rgba(4, 30, 66, 0.88) 100%
  );
}

.sdh-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
}

.sdh-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.sdh-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.text-cyan {
  color: var(--cyan-accent) !important;
}

.sdh-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 620px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

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

.breadcrumb-nav a:hover {
  color: var(--cyan-accent);
}

.breadcrumb-nav span {
  color: var(--cyan-accent);
  font-weight: 600;
}

/* ─── Service check items ─── */
.service-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

/* ─── Benefits grid (service sub-page) ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.07);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-smooth);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 94, 255, 0.15);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Page Hero (shared across about, services, contact) ─── */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 160px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 30, 66, 0.90) 0%,
    rgba(11, 61, 145, 0.75) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

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

.breadcrumb-link:hover { color: var(--cyan-accent); }

.breadcrumb-sep { opacity: 0.4; }

.breadcrumb-current {
  color: var(--cyan-accent);
  font-weight: 600;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 580px;
}

@media (max-width: 767px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .service-detail-hero { padding-top: 120px; padding-bottom: 48px; min-height: 440px; }
  .sdh-title { font-size: 2rem; }
}
