
/* ── Advice & Consulting page (ac- prefix) ───────────────────── */

.ac-hero {
  background: var(--gradient-hero);
  padding: clamp(80px, 10vw, 140px) max(1.5rem, calc((100% - 1104px) / 2)) clamp(60px, 8vw, 100px);
  overflow: hidden;
  position: relative;
}
.ac-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse at 60% 40%, rgba(78,165,156,0.2) 0%, transparent 60%);
}
.ac-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ac-hero-text { color: white; }
.ac-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.ac-hero-text h1 em { font-style: italic; color: var(--salmon); }
.ac-hero-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: 2rem;
}
.ac-hero-lead strong { color: rgba(255,255,255,0.95); }
.ac-hero-visual img {
  width: 100%;
  border-radius: 16px;
}
.ac-btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.ac-btn--salmon {
  background: var(--salmon);
  color: white;
  box-shadow: 0 6px 20px rgba(249,130,119,0.3);
}
.ac-btn--salmon:hover { background: var(--salmon-dark); transform: translateY(-2px); color: white; }
.ac-btn--teal {
  background: var(--teal);
  color: white;
  box-shadow: 0 6px 20px rgba(78,165,156,0.25);
}
.ac-btn--teal:hover { background: var(--teal-dark); transform: translateY(-2px); color: white; }
.ac-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.ac-btn--ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); color: white; }

@media (max-width: 768px) {
  .ac-hero-inner { grid-template-columns: 1fr; }
  .ac-hero-visual { display: none; }
  .ac-hero { text-align: center; }
  .ac-hero-lead { margin: 0 auto 2rem; }
  .ac-btn-group { justify-content: center; }
}

/* Proof bar */
.ac-proof {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem max(1.5rem, calc((100% - 1104px) / 2));
}
.ac-proof-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.ac-proof-stat { text-align: center; flex: 1; min-width: 140px; }
.ac-proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1;
}
.ac-proof-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}
.ac-proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
@media (max-width: 600px) {
  .ac-proof-divider { display: none; }
  .ac-proof-inner { justify-content: center; }
}

/* Sections */
.ac-section {
  padding: clamp(48px, 6vw, 80px) max(1.5rem, calc((100% - 1104px) / 2));
}
.ac-section--white { background: white; }
.ac-section--offwhite { background: var(--off-white); }
.ac-section--navy { background: var(--navy); color: white; }
.ac-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.ac-section h2 em { font-style: italic; color: var(--teal); }
.ac-section--navy h2 em { color: var(--salmon); }
.ac-lead {
  font-size: 1rem;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Product shot */
.ac-product-shot {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

/* Pillars */
.ac-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ac-pillar {
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.ac-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.ac-pillar--teal {
  background: linear-gradient(180deg, var(--teal-light) 0%, white 100%);
  border: 1px solid rgba(78,165,156,0.15);
}
.ac-pillar--teal::before { background: var(--teal); }
.ac-pillar--navy {
  background: var(--navy);
  color: white;
}
.ac-pillar--navy::before { background: var(--salmon); }
.ac-pillar--navy h3 { color: white; }
.ac-pillar--navy p { color: rgba(255,255,255,0.6); }
.ac-pillar--navy li { color: rgba(255,255,255,0.75); }
.ac-pillar--salmon {
  background: linear-gradient(180deg, var(--salmon-light) 0%, white 100%);
  border: 1px solid rgba(249,130,119,0.12);
}
.ac-pillar--salmon::before { background: var(--orange); }
.ac-pillar-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.ac-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.ac-pillar p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}
.ac-pillar ul { list-style: none; padding: 0; margin: 0; }
.ac-pillar li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ac-pillar li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ac-pillar--teal li { color: var(--teal-dark); }
.ac-pillar--teal li::before { background: var(--teal); }
.ac-pillar--navy li::before { background: var(--salmon); }
.ac-pillar--salmon li { color: var(--salmon-dark); }
.ac-pillar--salmon li::before { background: var(--orange); }

@media (max-width: 768px) {
  .ac-pillars { grid-template-columns: 1fr; }
}

/* Callout */
.ac-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.ac-callout::before {
  content: '';
  position: absolute;
  top: -50%; right: -15%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(249,130,119,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.ac-callout-text { position: relative; z-index: 1; }
.ac-callout-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem;
}
.ac-callout-text h3 em { color: var(--salmon); font-style: italic; }
.ac-callout-text p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; max-width: 520px; }
.ac-callout .ac-btn { position: relative; z-index: 1; flex-shrink: 0; }
@media (max-width: 768px) {
  .ac-callout { padding: 2rem 1.5rem; }
}

/* Two column layout */
.ac-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ac-two-col-img {
  width: 100%;
  border-radius: 12px;
}
.ac-two-col ul { padding-left: 1.25rem; margin: 1rem 0 1.5rem; }
.ac-two-col li { margin-bottom: 0.5rem; font-size: 0.9375rem; }
@media (max-width: 768px) {
  .ac-two-col { grid-template-columns: 1fr; }
}

/* Expertise columns */
.ac-expertise-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.ac-expertise-cols ul { padding-left: 1.25rem; }
.ac-expertise-cols li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
@media (max-width: 500px) {
  .ac-expertise-cols { grid-template-columns: 1fr; }
}

/* Blog grid */
.ac-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ac-blog-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.ac-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ac-blog-card {
  background: var(--off-white);
  border: 1.5px solid rgba(50,61,76,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ac-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.ac-blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.ac-blog-body {
  padding: 1.25rem;
}
.ac-blog-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.ac-blog-body p {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .ac-blog-grid { grid-template-columns: 1fr; }
}

/* Photo strip */
.ac-photo-strip img {
  width: 100%;
  aspect-ratio: 21/5;
  object-fit: cover;
  display: block;
}

/* Testimonials */
.ac-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.ac-testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.ac-testimonial-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  flex: 1;
  margin-bottom: 1.5rem;
}
.ac-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ac-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}
.ac-testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: white;
}
.ac-testimonial-author span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 768px) {
  .ac-testimonial-grid { grid-template-columns: 1fr; }
}

/* CTA panel */
.ac-cta-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: 16px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ac-cta-panel::before {
  content: '';
  position: absolute;
  top: -50%; right: -15%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,130,119,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.ac-cta-text { position: relative; z-index: 1; }
.ac-cta-text h2 { color: white; margin-bottom: 0.75rem; }
.ac-cta-text h2 em { color: var(--salmon); }
.ac-cta-text p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.7; }
.ac-cta-details { position: relative; z-index: 1; }
.ac-cta-details p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.ac-cta-details strong { color: white; display: block; }
@media (max-width: 768px) {
  .ac-cta-panel { grid-template-columns: 1fr; padding: 2rem 1.5rem; text-align: center; }
  .ac-cta-text p { margin: 0 auto 1.5rem; }
}

/* ── AC image fixes ──────────────────────────────────────────── */

/* All images inside ac- sections must respect their containers */
.ac-hero img,
.ac-section img,
.ac-proof img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero visual — constrain the image */
.ac-hero-visual {
  overflow: hidden;
  border-radius: 16px;
}
.ac-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  max-height: 480px;
}

/* Two-col images */
.ac-two-col-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  max-height: 400px;
}

/* Blog cards — contain images properly */
.ac-blog-card {
  overflow: hidden;
}
.ac-blog-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Photo strip — fixed height, full width cover */
.ac-photo-strip {
  margin: 0 !important;
  max-width: 100% !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}
.ac-photo-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Testimonial grid on navy — text colour fixes */
.ac-section--navy p,
.ac-section--navy li {
  color: rgba(255,255,255,0.7);
}
.ac-section--navy strong {
  color: white;
}

/* Expertise columns — fix list style inside ac-section */
.ac-expertise-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.ac-expertise-cols ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}
.ac-expertise-cols li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--primary);
}
@media (max-width: 500px) {
  .ac-expertise-cols { grid-template-columns: 1fr; }
}

/* Fix the container max-width for all ac-sections */
.ac-container {
  max-width: 1104px;
  margin: 0 auto;
}

/* ── AC button text fixes ──────────────────────────────────── */
.ac-btn--salmon,
.ac-btn--salmon:hover,
.ac-btn--salmon:visited,
.ac-btn--teal,
.ac-btn--teal:hover,
.ac-btn--teal:visited {
  color: white !important;
  text-decoration: none !important;
}
.ac-btn--ghost,
.ac-btn--ghost:visited {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
}
.ac-btn--ghost:hover {
  color: white !important;
}
.ac-callout .ac-btn--salmon {
  color: white !important;
}

/* ── AC booking cards ──────────────────────────────────────── */
.ac-booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ac-booking-header .ac-lead {
  margin: 0 auto;
}
.ac-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ac-booking-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(50,61,76,0.08);
  background: white;
}
.ac-booking-card-header {
  padding: 1.5rem 2rem;
  color: white;
}
.ac-booking-card-header--teal {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
}
.ac-booking-card-header--salmon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--salmon-dark) 100%);
}
.ac-booking-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}
.ac-booking-card-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.ac-booking-card-body {
  padding: 1.5rem 2rem 2rem;
}
.ac-booking-card-body > p {
  font-size: 0.9375rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ac-booking-duration {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .ac-booking-grid { grid-template-columns: 1fr; }
}

/* ── Hero text + button overrides for wp:button blocks ─────── */
.ac-hero h1,
.ac-hero .wp-block-heading {
  color: white !important;
}
.ac-hero h1 em {
  color: var(--salmon) !important;
}
.ac-hero p,
.ac-hero .ac-hero-lead {
  color: rgba(255,255,255,0.7) !important;
}
.ac-hero .ac-hero-lead strong {
  color: rgba(255,255,255,0.95) !important;
}
.ac-hero .eyebrow {
  color: var(--salmon) !important;
}

/* Buttons — override WP defaults for ac-btn classes */
.wp-block-button.ac-btn--salmon .wp-block-button__link {
  background: var(--salmon) !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 0.9rem 1.75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px rgba(249,130,119,0.3) !important;
  border: none !important;
  text-decoration: none !important;
}
.wp-block-button.ac-btn--salmon .wp-block-button__link:hover {
  background: var(--salmon-dark) !important;
  transform: translateY(-2px);
}
.wp-block-button.ac-btn--ghost .wp-block-button__link {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  border-radius: 100px !important;
  padding: 0.9rem 1.75rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.wp-block-button.ac-btn--ghost .wp-block-button__link:hover {
  border-color: rgba(255,255,255,0.5) !important;
  background: rgba(255,255,255,0.06) !important;
  color: white !important;
}
.wp-block-button.ac-btn--teal .wp-block-button__link {
  background: var(--teal) !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 0.9rem 1.75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px rgba(78,165,156,0.25) !important;
  border: none !important;
  text-decoration: none !important;
}
.wp-block-button.ac-btn--teal .wp-block-button__link:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-2px);
}

/* Callout text */
.ac-callout h3,
.ac-callout .wp-block-heading {
  color: white !important;
}
.ac-callout h3 em {
  color: var(--salmon) !important;
}
.ac-callout p {
  color: rgba(255,255,255,0.6) !important;
}

/* Navy section text */
.ac-section--navy h2,
.ac-section--navy .wp-block-heading {
  color: white !important;
}
.ac-section--navy h2 em {
  color: var(--salmon) !important;
}

/* CTA panel text */
.ac-booking-card-header h3,
.ac-booking-card-header .wp-block-heading {
  color: white !important;
}
.ac-booking-card-header p {
  color: rgba(255,255,255,0.7) !important;
}

/* ── Callout button fix ────────────────────────────────────── */
.ac-callout .wp-block-buttons {
  flex-shrink: 0;
}
.ac-callout .wp-block-button.ac-btn--salmon .wp-block-button__link {
  white-space: nowrap;
  padding: 0.8rem 1.5rem !important;
  font-size: 0.875rem !important;
}
@media (max-width: 768px) {
  .ac-callout {
    flex-wrap: wrap !important;
  }
}

/* ── Stack booking cards vertically ────────────────────────── */
.ac-booking-grid {
  flex-direction: column !important;
}
.ac-booking-grid .wp-block-column {
  flex-basis: 100% !important;
  width: 100% !important;
}
