/* Consolidate Template CSS and Avoid Conflicts */
/* Global resets, header, mobile menu, and footer styles extracted from style.css */



/* =========================
HEADER
========================= */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 10;
}

header.site-header {
  position: absolute;
  width: 100%;
  top: 42px;
  left: 50%;
  transform: translate(-50%);
  padding: 0 45px;
}

.logged-in.admin-bar header.site-header {
  top: 74px;
}

.logo img {
  width: 110px;
  border-radius: 14px;
}

/* DESKTOP MENU */

.desktop-menu {
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.desktop-menu ul {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 20px;
}

.desktop-menu ul li a {
  font-size: 15px;
  color: #2b2b2b;
  font-weight: 400;
}

.contact-btn {
  min-width: 148px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, #F22E2F 0%, #FF7F76 100%);
}

/* MOBILE HEADER */

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: #370000;
  position: relative;
  display: block;
}

.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #370000;
  left: 0;
}

.mobile-menu-btn span:before {
  top: -6px;
}

.mobile-menu-btn span:after {
  top: 6px;
}

.mobile-contact {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(180deg, #F22E2F 0%, #FF7F76 100%);
}

/* =========================
MOBILE MENU
========================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  padding: 24px;
  transform: translateX(-100%);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.mobile-menu-top img {
  width: 105px;
  border-radius: 12px;
}

.close-menu {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #f5f5f5;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 18px;
  color: #370000;
  font-weight: 500;
}

.mobile-bottom {
  margin-top: auto;
  padding-top: 30px;
}

.mobile-bottom h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #888;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: #370000;
}

/* =========================
FOOTER
========================= */

.site-footer {
  background: #FFF9EF;
  border-top: 1px solid #d8d0c4;
}

/* =========================
TOP
========================= */

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid #d8d0c4;
}

.footer-top-box {
  padding: 10px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-top-box:not(:last-child) {
  border-right: 1px solid #d8d0c4;
}

/* =========================
SOCIAL
========================= */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social {
  width: 58px;
  height: 58px;
  border: 1px solid #5a0000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  color: #5a0000;
}

.footer-social svg {
  width: 28px;
  height: 28px;
}

.footer-social:hover {
  background: #5a0000;
  color: #fff;
}

/* =========================
LOGO
========================= */

.footer-logo-box img {
  width: 160px;
}

/* =========================
NEWSLETTER
========================= */

.newsletter-box {
  flex-direction: column;
  align-items: flex-start;
}

.newsletter-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  color: #370000;
  margin-bottom: 10px;
}

/* FORM */

.newsletter-form {
  width: 100%;
  display: flex;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  height: 54px;
  border: none;
  outline: none;
  background: #fff;
  padding: 0 20px;
  font-size: 17px;
  color: #370000;
}

.newsletter-form input::placeholder {
  color: #9a9a9a;
}

.newsletter-form button {
  min-width: 170px;
  height: 54px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #F22E2F 0%, #FF7F76 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

/* =========================
MIDDLE
========================= */

.footer-middle {
  max-width: 1540px;
  margin: 0 auto;
  padding: 50px 80px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 80px;
}

/* TITLE */

.footer-column h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  color: #370000;
  text-decoration: underline;
  margin-bottom: 25px;
}

/* CONTACT */

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-list svg {
  width: 20px;
  height: 20px;
  color: #5a0000;
  margin-top: 5px;
  flex-shrink: 0;
}

.footer-contact-list span,
.footer-contact-list a {
  font-size: 16px;
  line-height: 1.5;
  color: #555555;
}

/* LINKS */

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.4;
  color: #555555;
  transition: 0.3s ease;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #555555;
  font-size: 26px;
}

.footer-links a:hover {
  color: #370000;
}

/* =========================
BOTTOM
========================= */

.footer-bottom {
  border-top: 1px solid #d8d0c4;
  padding: 28px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 18px;
  line-height: 1.5;
  color: #370000;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1200px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top-box {
    min-height: auto;
    padding: 10px 24px;
  }

  .footer-top-box:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #d8d0c4;
  }

  .newsletter-box {
    align-items: center;
    text-align: center;
  }

  .footer-middle {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media(max-width:991px) {
  .desktop-menu {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .footer-middle {
    padding: 60px 20px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .newsletter-box h3 {
    font-size: 26px;
  }

  .footer-column h4 {
    font-size: 34px;
    margin-bottom: 24px;
  }
}

@media(max-width:767px) {
  header.site-header {
    padding: 0 14px
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social {
    width: 58px;
    height: 58px;
  }

  .footer-social svg {
    width: 22px;
    height: 22px;
  }

  .footer-logo-box img {
    width: 200px;
  }

  .newsletter-box h3 {
    font-size: 24px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-width: 100%;
    height: 56px;
  }

  .footer-middle {
    padding: 50px 20px;
  }

  .footer-column h4 {
    font-size: 28px;
  }

  .footer-contact-list span,
  .footer-contact-list a,
  .footer-links a {
    font-size: 17px;
  }

  .footer-bottom p {
    font-size: 15px;
  }
}



body.page-template-template-about,
body.page-template-template-contact,
body.page-template-template-faq,
body.page-template-template-services {
  background-color: #fff9f5 !important;
  font-family: 'Outfit', sans-serif;
}

.custom-template-wrap {
  --cream: #fff9f5;
  --blush: #f8e8e2;
  --rose: #eecbc2;
  --dusty-rose: #cc8f84;
  --terracotta: #b76558;
  --soft-brown: #6f4b43;
  --charcoal: #191514;
  --white: #ffffff;
  --border: rgba(111, 75, 67, 0.16);
  --shadow: 0 24px 70px rgba(111, 75, 67, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;

  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
}

.custom-template-wrap * {
  box-sizing: border-box;
}


.custom-template-wrap img {
  max-width: 100%;
  display: block;
}

.custom-template-wrap a {
  color: inherit;
  text-decoration: none;
}

.custom-template-wrap .container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* --- Buttons --- */
.custom-template-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  height: 64px;
  padding: 0 30px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.custom-template-wrap .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.custom-template-wrap .btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #F22E2F 0%, #FF7F76 100%);
  box-shadow: 0 10px 24px rgba(255, 87, 87, 0.25);
}

.template-contact-wrap .btn-primary {
  background: linear-gradient(180deg, #F22E2F 0%, #FF7F76 100%);
}

.custom-template-wrap .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(255, 87, 87, 0.35);
}

.custom-template-wrap .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--soft-brown);
  border-color: var(--border);
}

.custom-template-wrap .btn-soft {
  background: var(--white);
  color: var(--soft-brown);
  border-color: var(--border);
}

/* --- Typo --- */
.custom-template-wrap h1,
.custom-template-wrap h2,
.custom-template-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
  margin: 0;
  color: var(--charcoal);
}

.custom-template-wrap h1 {
  max-width: 760px;
  font-size: clamp(50px, 8vw, 104px);
  letter-spacing: -0.045em;
}

.custom-template-wrap h2 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.035em;
}

.custom-template-wrap h3 {
  font-size: 27px;
  letter-spacing: -0.02em;
}

.custom-template-wrap p {
  color: var(--soft-brown);
  font-size: 17px;
}

.template-contact-wrap .lead {
  font-size: 20px;
  max-width: 700px;
  margin: 24px 0 0;
}

/* --- Hero --- */
.custom-template-wrap .hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(238, 203, 194, 0.9), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(204, 143, 132, 0.28), transparent 30%),
    linear-gradient(135deg, #fff9f5 0%, #f8e8e2 100%);
}

.custom-template-wrap .hero::before,
.custom-template-wrap .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(2px);
}

.template-contact-wrap .hero::before,
.template-contact-wrap .hero::after {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  filter: none;
}

.custom-template-wrap .hero::before {
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: 20px;
}

.template-contact-wrap .hero::before {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 120px;
  left: auto;
  bottom: auto;
}

.custom-template-wrap .hero::after {
  width: 340px;
  height: 340px;
  right: -120px;
  top: 70px;
}

.template-contact-wrap .hero::after {
  width: 170px;
  height: 170px;
  left: -60px;
  bottom: 40px;
  right: auto;
  top: auto;
}

.custom-template-wrap .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.template-contact-wrap .hero-grid {
  grid-template-columns: 1.04fr 0.96fr;
}

.custom-template-wrap .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.custom-template-wrap .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--terracotta);
}

.custom-template-wrap .hero p {
  max-width: 680px;
  margin: 26px 0 34px;
  color: var(--soft-brown);
  font-size: clamp(17px, 2vw, 20px);
}

.custom-template-wrap .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.template-contact-wrap .hero-actions {
  margin-top: 34px;
}

.custom-template-wrap .hero-card {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background:
    linear-gradient(rgba(25, 21, 20, 0.12), rgba(25, 21, 20, 0.1)),
    url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1200&q=85") center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.template-faq-wrap .hero-card {
  background:
    linear-gradient(rgba(25, 21, 20, 0.1), rgba(25, 21, 20, 0.08)),
    url("https://images.unsplash.com/photo-1556228720-195a672e8a03?auto=format&fit=crop&w=1200&q=85") center/cover;
}

.template-contact-wrap .hero-card {
  min-height: 520px;
  background-image:
    linear-gradient(180deg, rgba(111, 75, 67, 0.02), rgba(111, 75, 67, 0.34)),
    url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1200&q=85');
}

.custom-template-wrap .stat-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(25, 21, 20, 0.12);
}

.custom-template-wrap .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  line-height: 1;
  color: var(--terracotta);
}

.custom-template-wrap .stat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--soft-brown);
}

.template-contact-wrap .floating-note {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(111, 75, 67, 0.16);
}

.template-contact-wrap .floating-note strong {
  display: block;
  color: var(--soft-brown);
  font-size: 20px;
  margin-bottom: 6px;
}

.template-contact-wrap .floating-note span {
  color: rgba(25, 21, 20, 0.65);
}

/* --- Sections --- */
.custom-template-wrap .section {
  padding: 90px 0;
}

.custom-template-wrap .section-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.custom-template-wrap .section-intro p,
.custom-template-wrap .content-card p,
.custom-template-wrap .cta p {
  margin-top: 0;
  color: var(--soft-brown);
  font-size: 17px;
}

.custom-template-wrap .content-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.custom-template-wrap .content-card p:last-child {
  margin-bottom: 0;
}

.custom-template-wrap .image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 34px;
}

.custom-template-wrap .image-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--blush);
}

.custom-template-wrap .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-template-wrap .image-card.small {
  min-height: 250px;
}

.custom-template-wrap .image-stack {
  display: grid;
  gap: 26px;
}

.custom-template-wrap .image-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 249, 245, 0.88);
  backdrop-filter: blur(16px);
  color: var(--soft-brown);
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(25, 21, 20, 0.10);
}

.custom-template-wrap .experience {
  padding: 90px 0;
  background: var(--charcoal);
  color: var(--white);
}

.custom-template-wrap .cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 70px);
  background:
    radial-gradient(circle at top right, rgba(238, 203, 194, 0.36), transparent 30%),
    linear-gradient(135deg, #2a2422 0%, #191514 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.template-contact-wrap .cta {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--soft-brown), var(--terracotta));
  box-shadow: var(--shadow);
  border: none;
}

.custom-template-wrap .cta h2,
.custom-template-wrap .cta p {
  color: var(--white);
}

.custom-template-wrap .cta p {
  max-width: 720px;
  opacity: 0.78;
  margin: 22px 0 0;
}

.template-contact-wrap .cta p {
  max-width: 760px;
}

/* --- Shared Feature Strip/Card --- */
.custom-template-wrap .feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.custom-template-wrap .feature-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--blush);
  border: 1px solid var(--border);
}

.custom-template-wrap .feature-card:nth-child(2) {
  background: var(--white);
  box-shadow: 0 16px 42px rgba(111, 75, 67, 0.08);
}

.custom-template-wrap .feature-card:nth-child(3) {
  background: var(--charcoal);
  color: var(--white);
}

.custom-template-wrap .feature-card:nth-child(3) h3,
.custom-template-wrap .feature-card:nth-child(3) p {
  color: var(--white);
}

.custom-template-wrap .feature-card span {
  color: var(--terracotta);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.custom-template-wrap .feature-card p {
  margin: 0;
  color: var(--soft-brown);
}


/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

.template-about-wrap .approach-photo {
  min-height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.template-about-wrap .approach-photo img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.template-about-wrap .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
}

.template-about-wrap .feature-panel {
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 46px);
  background: var(--blush);
  border: 1px solid var(--border);
}

.template-about-wrap .feature-panel.dark {
  color: var(--white);
  background: var(--charcoal);
}

.template-about-wrap .feature-panel.dark h2,
.template-about-wrap .feature-panel.dark h3,
.template-about-wrap .feature-panel.dark p {
  color: var(--white);
}

.template-about-wrap .feature-panel p {
  margin: 18px 0 0;
}

.template-about-wrap .list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.template-about-wrap .list-grid li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 75, 67, 0.12);
  color: var(--soft-brown);
  font-weight: 600;
}

.template-about-wrap .list-grid li::before {
  content: "✦";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--terracotta);
  font-size: 14px;
}

.template-about-wrap .why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.template-about-wrap .why-card {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(111, 75, 67, 0.08);
}

.template-about-wrap .why-card span {
  color: var(--terracotta);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.template-about-wrap .why-card h3 {
  font-size: 22px;
}


/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

.template-contact-wrap .intro {
  padding: 86px 0 40px;
  background: var(--cream);
}

.template-contact-wrap .section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.template-contact-wrap .section-heading p {
  margin-top: 0;
}

.template-contact-wrap .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.template-contact-wrap .contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 16px 50px rgba(111, 75, 67, 0.08);
  min-height: 225px;
}

.template-contact-wrap .contact-card .icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--blush);
  color: var(--terracotta);
  font-size: 24px;
  margin-bottom: 18px;
}

.template-contact-wrap .contact-card h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.template-contact-wrap .contact-card p {
  margin: 0;
}

.template-contact-wrap .contact-card a {
  color: var(--terracotta);
  font-weight: 800;
}

.template-contact-wrap .hours-section {
  padding: 46px 0 92px;
  background: var(--cream);
}

.template-contact-wrap .hours-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
}

.template-contact-wrap .hours-image {
  min-height: 520px;
  border-radius: 26px;
  background-image:
    linear-gradient(180deg, rgba(111, 75, 67, 0.02), rgba(111, 75, 67, 0.18)),
    url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=1200&q=85');
  background-size: cover;
  background-position: center;
}

.template-contact-wrap .hours-card {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.template-contact-wrap .hours-card h2 {
  margin-bottom: 16px;
}

.template-contact-wrap .hours-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--border);
}

.template-contact-wrap .hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: rgba(25, 21, 20, 0.72);
  font-size: 16px;
}

.template-contact-wrap .hours-list strong {
  color: var(--soft-brown);
}

.template-contact-wrap .hours-note {
  margin-top: 22px;
  color: var(--terracotta);
  font-weight: 800;
}

.template-contact-wrap .questions {
  padding: 92px 0;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}

.template-contact-wrap .questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.template-contact-wrap .question-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(111, 75, 67, 0.14);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 16px 44px rgba(111, 75, 67, 0.07);
}

.template-contact-wrap .question-card h3 {
  margin-bottom: 12px;
}

.template-contact-wrap .question-card p {
  margin: 0 0 22px;
}

.template-contact-wrap .cta-section {
  padding: 94px 0;
  background: var(--cream);
}

.template-contact-wrap .cta-section .eyebrow {
  color: #fff;
}

.template-contact-wrap .cta-section .eyebrow::before {
  background: #fff;
}


/* ==========================================================================
   FAQ PAGE SPECIFIC STYLES
   ========================================================================== */

.template-faq-wrap .faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.template-faq-wrap .faq-sidebar {
  position: sticky;
  top: 118px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.template-faq-wrap .faq-sidebar-image {
  min-height: 310px;
  background:
    linear-gradient(rgba(25, 21, 20, 0.08), rgba(25, 21, 20, 0.04)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=900&q=80") center/cover;
}

.template-faq-wrap .faq-sidebar-content {
  padding: 30px;
}

.template-faq-wrap .faq-sidebar-content h3 {
  margin-bottom: 14px;
}

.template-faq-wrap .faq-sidebar-content p {
  margin: 0 0 24px;
  color: var(--soft-brown);
}

.template-faq-wrap .faq-list {
  display: grid;
  gap: 16px;
}

.template-faq-wrap .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(111, 75, 67, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-faq-wrap .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(111, 75, 67, 0.12);
}

.template-faq-wrap .faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 28px;
  color: var(--charcoal);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.template-faq-wrap .faq-item summary::-webkit-details-marker {
  display: none;
}

.template-faq-wrap .faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blush);
  color: var(--terracotta);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.template-faq-wrap .faq-item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: var(--rose);
}

.template-faq-wrap .faq-answer {
  padding: 0 28px 27px;
}

.template-faq-wrap .faq-answer p {
  margin: 0;
}




/* ==========================================================================
   SERVICES PAGE SPECIFIC STYLES
   ========================================================================== */

.template-services-wrap .services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.template-services-wrap .service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 260px auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(111, 75, 67, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-services-wrap .service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.template-services-wrap .custom-service-image {
  min-height: 260px;
  background: var(--blush) center/cover;
}

.template-services-wrap .service-content {
  padding: clamp(26px, 4vw, 36px);
}

.template-services-wrap .service-content h3 {
  margin-bottom: 15px;
}

.template-services-wrap .service-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 20px;
  display: grid;
  gap: 10px;
}

.template-services-wrap .service-content li {
  position: relative;
  padding-left: 28px;
  color: var(--soft-brown);
  font-weight: 600;
}

.template-services-wrap .service-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: inset 0 0 0 3px var(--white);
}

.template-services-wrap .service-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template-services-wrap .consult-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 26px;
}

.template-services-wrap .consult-image {
  min-height: 430px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(25, 21, 20, 0.08), rgba(25, 21, 20, 0.05)),
    url("https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?auto=format&fit=crop&w=1100&q=80") center/cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.template-services-wrap .consult-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 5vw, 58px);
  background: var(--blush);
  border: 1px solid var(--border);
}

.template-services-wrap .consult-card h2 {
  margin-bottom: 22px;
}




/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (SCOPED TO CUSTOM TEMPLATES)
   ========================================================================== */

@media (max-width: 980px) {

  .custom-template-wrap .hero-grid,
  .custom-template-wrap .section-heading,
  .custom-template-wrap .section-intro,
  .custom-template-wrap .hours-band,
  .custom-template-wrap .questions-grid,
  .custom-template-wrap .split-grid,
  .custom-template-wrap .image-band,
  .custom-template-wrap .faq-layout,
  .custom-template-wrap .feature-strip,
  .custom-template-wrap .services-grid,
  .custom-template-wrap .consult-band,
  .custom-template-wrap .cta {
    grid-template-columns: 1fr;
  }

  .custom-template-wrap .hero {
    padding-top: 130px;
  }

  .custom-template-wrap .hero-card {
    min-height: 390px;
  }

  .template-contact-wrap .contact-grid {
    grid-template-columns: 1fr;
  }

  .template-contact-wrap .hours-image {
    min-height: 360px;
  }
}

@media (max-width: 960px) {
  .template-about-wrap .approach-photo img {
    min-height: 360px;
  }

  .template-about-wrap .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-faq-wrap .faq-sidebar {
    position: relative;
    top: auto;
  }

  .template-services-wrap .consult-image {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .custom-template-wrap .container {
    width: min(100% - 28px, var(--container));
  }

  .custom-template-wrap .hero-card {
    min-height: 320px;
  }

  .template-contact-wrap h1 {
    font-size: 46px;
  }

  .template-contact-wrap .hero-actions {
    flex-direction: column;
  }

  .template-contact-wrap .btn {
    width: 100%;
  }

  .template-contact-wrap .hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

@media (max-width: 620px) {

  .custom-template-wrap .section,
  .custom-template-wrap .experience {
    padding: 64px 0;
  }

  .custom-template-wrap .image-card,
  .custom-template-wrap .image-card.small {
    min-height: 260px;
  }

  .custom-template-wrap .stat-card {
    grid-template-columns: 1fr;
  }

  .template-about-wrap .approach-photo img {
    min-height: 300px;
  }

  .template-about-wrap .list-grid,
  .template-about-wrap .why-grid {
    grid-template-columns: 1fr;
  }

  .template-about-wrap .why-card {
    min-height: auto;
  }

  .template-faq-wrap .faq-item summary {
    padding: 22px;
    font-size: 18px;
  }

  .template-faq-wrap .faq-answer {
    padding: 0 22px 23px;
  }

  .custom-template-wrap .feature-card {
    min-height: auto;
  }

  .template-services-wrap .logo img {
    width: 118px;
  }

  .template-services-wrap .service-card {
    grid-template-rows: 230px auto;
  }

  .template-services-wrap .custom-service-image {
    min-height: 230px;
  }
}