/*
Theme Name: Inclusive Impact Consulting
Theme URI: https://iiconsulting.com.au/
Author: Inclusive Impact Consulting
Version: 2.2
*/

:root {
  --bg: #f7f4ee;
  --bg-alt: #f7f4ee;
  --white: #ffffff;
  --text: #163126;
  --muted: #5f6f67;
  --line: #e4ddd2;
  --green: #174f35;
  --green-dark: #103a27;
  --green-soft: #f2f5f1;
  --gold: #d4a62a;
  --shadow: 0 14px 40px rgba(16, 58, 39, 0.08);
  --shadow-lg: 0 20px 55px rgba(16, 58, 39, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 49, 38, 0.08);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  max-height: 52px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
}

.menu li a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu li a:hover {
  opacity: 0.7;
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.1;
}

h1,
.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  letter-spacing: -0.03em;
  color: var(--green-dark);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.section-title.small {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.hero-copy h1 {
  max-width: 100%;
  width: 100%;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 760px;
}

.subheading {
  font-size: 1.18rem;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 18px;
}

.intro,
.section-intro,
.card p,
.service-card p,
.about-highlight p,
.contact-box p,
.about-box p,
.page-content p,
.trust-item p {
  font-size: 1.03rem;
  color: var(--muted);
}

.page-content {
  max-width: 900px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: rgba(23, 79, 53, 0.2);
}

.btn-secondary:hover {
  background: rgba(23, 79, 53, 0.05);
}

.btn-secondary-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Generic sections */
section {
  padding: 64px 0;
}

.page-section {
  padding: 88px 0;
}

.page-hero {
  margin-bottom: 38px;
}

.page-hero .page-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  max-width: 100%;
  width: 100%;
  line-height: 1.02;
}

.page-hero .section-intro {
  max-width: 760px;
}

.narrow {
  max-width: 840px;
}

.section-light {
  background: #f2f5f1;
}

.section-heading-wrap {
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero */
.hero {
  padding: 90px 0 60px;
}

.hero-wow {
  background:
    radial-gradient(circle at top left, rgba(23, 79, 53, 0.07), transparent 36%),
    linear-gradient(to bottom, #f7f4ee, #f4efe7);
}

.hero-grid,
.hero-grid-wow {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-side-card,
.premium-panel,
.card,
.about-highlight,
.contact-box,
.portrait-card,
.about-box {
  background: var(--white);
  border: 1px solid rgba(22, 49, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-side-card {
  overflow: hidden;
  max-width: 720px;
  margin-left: auto;
}

.hero-side-image-wrap {
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
}

.hero-side-image,
.hero-side-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-side-content {
  padding: 26px;
}

.hero-side-label {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 3px solid #c9a227;
}

.hero-side-content h3 {
  font-size: 1.45rem;
  color: var(--green-dark);
}

.hero-points {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li + li {
  margin-top: 8px;
}

/* Trust strip */
.trust-strip {
  padding-top: 0;
}

.trust-grid,
.grid-2,
.grid-3,
.footer-inner {
  display: grid;
  gap: 24px;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.trust-item,
.card {
  padding: 28px;
  border-radius: var(--radius-sm);
}

.trust-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 49, 38, 0.08);
}

/* Cards */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(16, 58, 39, 0.11);
  border-color: rgba(23, 79, 53, 0.12);
}

.card-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.service-card {
  min-height: 260px;
}

.service-card h3,
.value-card h3,
.card h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
}

/* Services */
.services-premium {
  background: var(--bg-alt);
}

.service-group {
  margin-bottom: 32px;
  padding: 34px;
  border-radius: var(--radius);
}

.topics-list,
.premium-list,
.services-bullets,
.values-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.topics-list li,
.premium-list li,
.services-bullets li,
.values-list li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Services hero */
.services-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.services-hero-copy {
  min-width: 0;
}

.services-hero-image {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.services-hero-image img {
  width: 100%;
  max-width: 620px;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  border-radius: 36px;
}

.page-template-page-services .page-title,
.page-template-page-services .section-intro,
.page-template-page-about .page-title,
.page-template-page-about .section-intro {
  max-width: 100%;
}

/* About */
.about-highlight {
  padding: 42px;
}

.about-box {
  padding: 38px;
}

.about-temp-image {
  margin: 30px 0;
  text-align: center;
}

.about-temp-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.page-template-page-about .page-title {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

/* Contact / CTA */
.contact-box {
  padding: 32px;
}

.contact-box h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-box-premium {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 40px;
}

.contact-box-premium h2,
.contact-box-premium p {
  color: var(--white);
}

.contact-details {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.92);
}

/* Portrait */
.portrait-card,
.portrait-card-premium {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.portrait-card {
  max-width: 510px;
  margin-left: auto;
}

.portrait-card img,
.portrait-card-premium img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
}

/* Contact page specific */
.page-template-page-contact .page-hero {
  max-width: 100%;
}

.page-template-page-contact .page-title {
  max-width: 100%;
  width: 100%;
}

.page-template-page-contact .contact-grid {
  grid-template-columns: 1fr;
}

.page-template-page-contact .contact-box-with-image {
  overflow: hidden;
  border-radius: 28px;
  padding: 0;
  max-width: 760px;
}

.page-template-page-contact .contact-box-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.page-template-page-contact .contact-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-template-page-contact .contact-image-card,
.page-template-page-contact .portrait-card,
.page-template-page-contact .portrait-card-premium,
.page-template-page-contact .contact-box-image {
  display: none !important;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: #10261a;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 24px;
}

.footer-inner {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-bottom {
  padding-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Utilities */
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .hero-grid-wow,
  .contact-grid,
  .trust-grid,
  .grid-2,
  .grid-3,
  .footer-inner,
  .services-hero-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .page-section {
    padding: 60px 0;
  }

  .about-highlight,
  .contact-box-premium,
  .service-group,
  .about-box,
  .contact-box {
    padding: 26px;
  }

  .portrait-card {
    max-width: 100%;
    margin-left: 0;
  }

  .portrait-card img,
  .portrait-card-premium img {
    min-height: auto;
    height: auto;
  }

  .services-hero-image img {
    max-width: 100%;
    height: auto;
    margin-left: 0;
  }

  .services-hero-image {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .trust-item,
  .card {
    padding: 22px;
  }

  .hero-side-content {
    padding: 22px;
  }

  .site-logo {
    max-height: 46px;
  }

  .contact-box h2 {
    font-size: 1.7rem;
  }

  .services-hero-image img {
    height: 300px;
  }
}