/* =============================================================================
   AWS Academic Theme — theme.css
   All custom CSS. style.css contains only the WP theme header comment.
   ============================================================================= */

/* === CSS Custom Properties ================================================= */
:root {
  --brand:       #2b48ba;
  --brand-dark:  #1e3491;
  --brand-mid:   #3558d4;
  --brand-light: #e8ecf8;
  --orange:      #f97316;
  --orange-dark: #ea580c;
  --dark:        #0f172a;
  --dark-mid:    #1e293b;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gold:        #f59e0b;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.12);
  --transition:  0.2s ease;
  --header-h:    70px;
}

/* === Reset ================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* === Base Typography ======================================================= */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { line-height: 1.75; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--brand-mid); }

img, iframe { max-width: 100%; display: block; }

ul { list-style: none; }

/* === Layout ================================================================ */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-pad { padding: 80px 0; }

/* === Buttons =============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              opacity var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* Orange / CTA */
.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.btn-orange:hover {
  background: linear-gradient(135deg, var(--orange-dark) 0%, #c2410c 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

/* Outline white — for dark / hero backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

/* Outline brand — for light backgrounds */
.btn-outline-brand {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline-brand:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* === Promo Bar ============================================================= */
.promo-bar {
  background: var(--brand-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 200;
}

.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.promo-text {
  color: var(--white);
  text-decoration: none;
}

a.promo-text:hover {
  color: var(--gray-200);
  text-decoration: underline;
}

.promo-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition);
}
.promo-close:hover { color: var(--white); }

/* === Site Header =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--header-h);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Desktop nav */
.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-list li a:hover,
.nav-list li.current-menu-item > a {
  color: var(--brand);
  background: var(--brand-light);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.header-phone:hover { color: var(--brand); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
}
.menu-toggle:hover { border-color: var(--brand); }

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* === Mobile Nav ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 20px 24px 28px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav-list {
  list-style: none;
  margin-bottom: 20px;
}

.mobile-nav-list li a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}
.mobile-nav-list li a:hover { color: var(--brand); }

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* === Hero ================================================================== */
.hero {
  background: linear-gradient(135deg, #1a2d6d 0%, var(--brand) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(53, 88, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-rating span:first-child {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 16px;
}

.hero-social-proof {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 32px;
}

.hero-social-proof strong { color: var(--white); }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-width: 360px;
  width: 100%;
}

/* === Section Headings ====================================================== */
.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--dark);
  text-align: center;
  line-height: 1.2;
}

.section-subheading {
  font-size: 17px;
  color: var(--gray-600);
  text-align: center;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* === Why Choose Us ========================================================= */
.why-section {
  background: var(--white);
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
}

.why-card h3 {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

/* Trustpilot row */
.trustpilot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.tp-stars {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 3px;
}

.tp-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
}

/* === How It Works ========================================================== */
.process-section {
  background: linear-gradient(135deg, #1a2d6d 0%, var(--brand) 100%);
  padding: 80px 0;
  color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.process-step {
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.65;
}

/* === Reviews =============================================================== */
.reviews-section {
  background: var(--white);
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--brand);
  transition: transform var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.review-label {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* === Privacy =============================================================== */
.privacy-section {
  background: var(--dark);
  padding: 80px 0;
  color: var(--white);
}

.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-list li span:first-child {
  font-size: 20px;
  flex-shrink: 0;
}

.payment-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}

.payment-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.payment-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

/* === FAQ =================================================================== */
.faq-section {
  background: var(--white);
  padding: 80px 0;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.faq-section-icon {
  width: 58px;
  height: 58px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--brand-light);
  box-shadow: 0 0 0 8px rgba(43, 72, 186, 0.07);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--brand); }

.faq-arrow {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--brand);
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* === Samples / Get Superior Papers ======================================== */
.samples-section {
  background: linear-gradient(135deg, #0d1a5f 0%, #1a2875 100%);
  padding: 80px 0;
}

.samples-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.sample-cards {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.sample-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  flex: 1;
  min-width: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.sample-type {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a7fc4;
  margin-bottom: 10px;
}

.sample-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 10px;
}

.sample-meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
  align-items: center;
  margin-bottom: 12px;
}

.sample-dot { color: var(--gray-300); }

.sample-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}

.sample-pages { color: var(--gray-500); font-weight: 600; font-size: 12px; }

.sample-price { color: var(--brand); font-weight: 700; }

.sample-price-tag {
  color: #1a7fc4;
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}

.sample-cart-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  border-radius: 8px;
}

.sample-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 20px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  flex-wrap: wrap;
}

.sample-trust-bar span {
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sample-trust-bar span:last-child {
  border-right: none;
}

/* === Hire Writers ========================================================== */
.hire-section {
  background: linear-gradient(135deg, #12163d 0%, #1d2660 100%);
  padding: 80px 0;
}

.hire-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.hire-icon-wrap {
  flex-shrink: 0;
}

.hire-icon-ring {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(110, 150, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
  font-size: 68px;
  position: relative;
  box-shadow: 0 0 0 18px rgba(110, 150, 255, 0.07),
              0 0 0 36px rgba(110, 150, 255, 0.04),
              inset 0 0 30px rgba(255, 255, 255, 0.04);
}

.hire-icon-ring::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(110, 150, 255, 0.28);
}

.hire-content {
  max-width: 620px;
}

.hire-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-dark-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

/* === What Students Want ==================================================== */
.students-section {
  background: var(--white);
  padding: 80px 0;
}

.students-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.students-left {
  /* left column stacks naturally */
}

.students-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0;
}

.students-icon-circle {
  width: 72px;
  height: 72px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: var(--brand-light);
  box-shadow: 0 0 0 8px rgba(43, 72, 186, 0.06);
  flex-shrink: 0;
  margin-top: 4px;
}

.students-para {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 16px;
}

.students-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 20px;
  padding-top: 4px;
  align-content: start;
}

.students-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  padding: 2px 0;
}

.feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
  line-height: 1;
  margin-top: 1px;
}

.students-tagline {
  text-align: center;
  margin-top: 52px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
  font-style: italic;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

/* === Prices Page =========================================================== */
.prices-hero {
  background: linear-gradient(135deg, #1a2d6d 0%, var(--brand) 100%);
  padding: 60px 0;
  color: var(--white);
}

.prices-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.prices-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

.prices-calc-wrap {
  background: var(--gray-50);
  padding: 48px 0;
}

.prices-calc-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.prices-context {
  background: var(--white);
}

.prices-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.price-factor-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.price-factor-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}

.price-factor-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.price-factor-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.prices-guarantees {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 28px;
  background: var(--brand-light);
  border-radius: 12px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
}

.guarantee-icon { font-size: 18px; }

.prices-trustpilot {
  background: var(--gray-50);
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
}

/* === Footer ================================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}

.footer-rating-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.ftb-check {
  width: 18px;
  height: 18px;
  background: rgba(60, 200, 90, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(80, 220, 110, 0.9);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}

/* WP nav menus in footer */
.footer-links,
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 500;
}

.footer-links li a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 500;
}

.footer-legal a:hover { color: var(--white); }

/* === Utility: section title on dark bg ===================================== */
.section-title-white {
  color: var(--white);
}

/* === Responsive: 1024px ==================================================== */
@media (max-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .prices-factors {
    grid-template-columns: repeat(3, 1fr);
  }

  .students-inner {
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
  }

  .students-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hire-inner {
    gap: 48px;
  }

  .samples-inner {
    gap: 40px;
  }
}

/* === Responsive: 768px ===================================================== */
@media (max-width: 768px) {

  /* Header */
  .primary-nav  { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle  { display: flex; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 60px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-rating { margin-left: auto; margin-right: auto; }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-right {
    order: -1;
  }

  .calculator-card {
    max-width: 100%;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Process */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Privacy */
  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Samples */
  .samples-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sample-cards {
    flex-direction: column;
  }

  /* Hire */
  .hire-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hire-icon-wrap {
    display: flex;
    justify-content: center;
  }

  .hire-btns {
    justify-content: center;
  }

  /* Students */
  .students-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .students-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Prices */
  .prices-factors {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .prices-guarantees {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Typography */
  .section-heading { font-size: 1.7rem; }
  .section-subheading { font-size: 15px; }
}

/* === Responsive: 480px ===================================================== */
@media (max-width: 480px) {

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  .process-steps { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .trustpilot-row { flex-direction: column; text-align: center; gap: 8px; }

  .hire-btns { flex-direction: column; align-items: center; }

  .students-features-grid { grid-template-columns: 1fr; }

  .sample-trust-bar { flex-direction: column; align-items: center; gap: 8px; }

  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
