/* ===========================
   AVARA OPERATIONAL IMPROVEMENT
   "Quiet Authority" — Premium Editorial Aesthetic
   =========================== */

:root {
  /* Core palette — warm charcoal + living teal */
  --ink: #141c24;
  --ink-soft: #1e2a36;
  --slate: #3a4a5c;
  --text: #2d3a47;
  --text-mid: #4e6174;
  --text-light: #6b7f93;
  --accent: #1a7a6a;
  --accent-deep: #146156;
  --accent-glow: #22a08c;
  --accent-wash: rgba(26, 122, 106, 0.06);
  --accent-wash-strong: rgba(26, 122, 106, 0.10);
  --cream: #faf9f7;
  --warm-white: #f5f3f0;
  --paper: #ffffff;
  --border: #e4e0db;
  --border-light: #edeae6;
  --white: #ffffff;

  /* Spacing & sizing */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(20, 28, 36, 0.04);
  --shadow: 0 4px 20px rgba(20, 28, 36, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 28, 36, 0.08);
  --shadow-accent: 0 8px 30px rgba(26, 122, 106, 0.15);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--cream);
  overflow-x: hidden;
}

/* ===========================
   GRAIN TEXTURE OVERLAY
   =========================== */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400; /* DM Serif Display is already bold-feeling */
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

h2 em, h1 em {
  font-style: italic;
  color: var(--accent);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover {
  color: var(--accent-deep);
}

ul {
  list-style: none;
}

.section-header {
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  position: relative;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-primary .btn-arrow {
  transition: transform 0.35s var(--ease-out);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

.btn-pricing {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 12px rgba(20, 28, 36, 0.04);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  color: var(--accent);
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-out);
}

.navbar .logo-mark svg {
  width: 34px;
  height: 34px;
}

.logo:hover .logo-mark {
  transform: translateY(-1px);
}

.logo-text {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-contact {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  transition: all 0.35s var(--ease-out) !important;
}

.nav-contact::after {
  display: none !important;
}

.nav-contact:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 140px 0 72px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-label-line {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero decorative elements */
.hero-decorative {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 500px;
  height: 500px;
  z-index: 1;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.hero-circle-1 {
  width: 360px;
  height: 360px;
  top: 40px;
  right: 0;
  opacity: 0.5;
}

.hero-circle-2 {
  width: 240px;
  height: 240px;
  top: 100px;
  right: 60px;
  border-color: var(--accent);
  opacity: 0.15;
}

.hero-line {
  position: absolute;
  background: var(--border);
}

.hero-line-1 {
  width: 1px;
  height: 200px;
  top: 20px;
  right: 180px;
  opacity: 0.4;
}

.hero-line-2 {
  width: 120px;
  height: 1px;
  top: 220px;
  right: 120px;
  opacity: 0.3;
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 72px 0;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  position: relative;
}

.photo-placeholder {
  width: 220px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.photo-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.about-photo-caption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-photo-caption strong {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.about-photo-caption span {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 400;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 16px;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  font-size: 0.8rem;
  font-weight: 500;
}

.linkedin-link:hover {
  color: #0077b5;
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.04);
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 14px;
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.about-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  padding: 72px 0;
  background: var(--cream);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.works-card {
  padding: 28px 24px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.works-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
  transform: translateY(-3px);
}

.works-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 10px;
  line-height: 1;
}

.works-card:hover .works-number {
  opacity: 0.45;
  transition: opacity 0.4s var(--ease-out);
}

.works-card h3 {
  margin-bottom: 10px;
}

.works-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   WHO THIS IS FOR
   =========================== */
.who-for {
  padding: 72px 0;
  background: var(--paper);
}

.who-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}

.who-for-col h3 {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.who-for-col ul {
  list-style: none;
}

.who-for-col li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.who-for-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
}

.who-for-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 72px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--ink);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-detail {
  margin-top: 8px;
  font-style: italic;
}

/* Templates & Tools block */
.templates-block {
  margin-top: 40px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.templates-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.templates-block-icon {
  color: var(--accent);
  margin-bottom: 14px;
}

.templates-block h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.templates-block p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.templates-block p:last-child {
  margin-bottom: 0;
}

.templates-note {
  font-weight: 600;
  color: var(--text) !important;
}

.templates-list {
  list-style: none;
  margin: 4px 0 16px;
  padding-left: 4px;
}

.templates-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
}

.templates-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ===========================
   PRICING
   =========================== */
.pricing {
  padding: 72px 0;
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid-single {
  grid-template-columns: 1fr;
  max-width: 400px;
}

.pricing-card {
  padding: 36px 30px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: var(--shadow-accent);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 40px rgba(26, 122, 106, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 14px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.pricing-amount span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-desc {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  text-align: left;
}

.pricing-includes li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

.pricing-includes li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.pricing .section-header {
  text-align: center;
}

.pricing .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.pricing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.pricing-col h3 {
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.pricing-col ul {
  list-style: none;
}

.pricing-col li {
  padding: 7px 0;
  padding-left: 26px;
  position: relative;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-col li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

.pricing-delivery {
  margin-top: 32px;
  text-align: center;
}

.pricing-delivery p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  padding: 72px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.testimonial-card {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.testimonial-author strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.78rem;
}

/* ===========================
   BOTTOM CTA
   =========================== */
.bottom-cta {
  padding: 72px 0 80px;
  background: var(--cream);
}

.cta-inner {
  background: var(--ink);
  padding: 72px 60px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.bottom-cta h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative;
}

.bottom-cta .btn-primary {
  background: var(--accent);
  position: relative;
}

.bottom-cta .btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 8px 30px rgba(34, 160, 140, 0.3);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--ink);
  padding: 56px 0 36px;
}

.footer-content {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo-mark {
  color: var(--accent);
}

.footer .logo-text {
  color: var(--white);
}

.footer .logo-sub {
  color: rgba(255, 255, 255, 0.45);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin-top: 10px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ===========================
   TRUST STRIP
   =========================== */
.trust-strip {
  padding: 0;
  background: var(--cream);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  white-space: nowrap;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.trust-item span {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ===========================
   HOW IT WORKS — HEADER WITH DIAGRAM
   =========================== */
.how-it-works-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 8px;
}

.how-it-works-header .section-header {
  flex: 1;
}

.cycle-diagram {
  flex-shrink: 0;
  opacity: 0.85;
}

/* ===========================
   METRICS STRIP
   =========================== */
.metrics-strip {
  padding: 0;
  background: var(--cream);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-icon {
  color: var(--accent-glow);
  flex-shrink: 0;
  margin-top: 2px;
}

.metric-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-text strong {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

.metric-text span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ===========================
   ANIMATIONS — FADE IN
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for card grids */
.works-card.fade-in:nth-child(1) { transition-delay: 0s; }
.works-card.fade-in:nth-child(2) { transition-delay: 0.07s; }
.works-card.fade-in:nth-child(3) { transition-delay: 0.14s; }
.works-card.fade-in:nth-child(4) { transition-delay: 0.21s; }

.service-card.fade-in:nth-child(1) { transition-delay: 0s; }
.service-card.fade-in:nth-child(2) { transition-delay: 0.07s; }
.service-card.fade-in:nth-child(3) { transition-delay: 0.14s; }
.service-card.fade-in:nth-child(4) { transition-delay: 0.21s; }
.service-card.fade-in:nth-child(5) { transition-delay: 0.28s; }
.service-card.fade-in:nth-child(6) { transition-delay: 0.35s; }

.testimonial-card.fade-in:nth-child(1) { transition-delay: 0s; }
.testimonial-card.fade-in:nth-child(2) { transition-delay: 0.07s; }
.testimonial-card.fade-in:nth-child(3) { transition-delay: 0.14s; }

/* ===========================
   SELECTION
   =========================== */
::selection {
  background: rgba(26, 122, 106, 0.15);
  color: var(--ink);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 180px 1fr;
    gap: 44px;
  }

  .photo-placeholder {
    width: 180px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-details {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-decorative {
    right: -120px;
    opacity: 0.5;
  }

  .how-it-works-header {
    gap: 32px;
  }

  .cycle-diagram svg {
    width: 140px;
    height: 140px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2)::after {
    display: none;
  }

  .metric-item:nth-child(1)::after,
  .metric-item:nth-child(3)::after {
    display: block;
  }

  .metric-item:nth-child(1),
  .metric-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero-decorative {
    display: none;
  }

  .about, .how-it-works, .who-for, .services, .pricing, .testimonials {
    padding: 56px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .photo-placeholder {
    width: 130px;
  }

  .about-text h2 br {
    display: none;
  }

  .who-for-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .works-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
  }

  .trust-items {
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .how-it-works-header {
    flex-direction: column;
    gap: 20px;
  }

  .cycle-diagram {
    align-self: center;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-item::after {
    display: none !important;
  }

  .metric-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .bottom-cta {
    padding: 40px 0 56px;
  }

  .cta-inner {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .templates-block {
    padding: 24px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
