/*
 Theme Name: Divi Child
 Description: Child theme for Divi
 Template: Divi
 Version: 1.0.0
 Text Domain: divi-child
*/

/* =========================================================
   GLOBAL THEME STYLES
   ========================================================= */

/* =========================================================
   HOMEPAGE TEMPLATE
   Scoped to the homepage body class.
   ========================================================= */

.homepage-template {
  --page-primary: #0f2a3d;
  --page-primary-dark: #081b29;
  --page-accent: #c6a15b;
  --page-accent-hover: #d3b06d;
  --page-background: #f7f4ef;
  --page-surface: #ffffff;
  --page-text: #1e252b;
  --page-muted: #6f7a83;
  --page-border: #e4ded4;
  --page-shadow: 0 24px 70px rgba(15, 42, 61, 0.1);
  --page-radius-large: 28px;
  --page-radius-medium: 18px;
  --page-container: 1360px;
  margin: 0;
  background: var(--page-background);
  color: var(--page-text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

.homepage-template *,
.homepage-template *::before,
.homepage-template *::after {
  box-sizing: border-box;
}

.homepage-template img,
.homepage-template svg {
  display: block;
  max-width: 100%;
}

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

.homepage-template button,
.homepage-template input,
.homepage-template select,
.homepage-template textarea {
  font: inherit;
}

.homepage-template section[id] {
  scroll-margin-top: 100px;
}

.homepage-template .container {
  width: min(calc(100% - 40px), var(--page-container));
  margin-inline: auto;
}

/* Remove Divi's native sidebar separator from the custom homepage containers. */
.homepage-template #main-content .container::before {
  display: none !important;
  content: none !important;
}

.homepage-template .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.homepage-template .screen-reader-text:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  clip: auto;
  overflow: visible;
  border-radius: 8px;
  background: #fff;
  color: var(--page-primary);
  box-shadow: var(--page-shadow);
}

/* Typography ------------------------------------------------ */

.homepage-template h1,
.homepage-template h2,
.homepage-template h3,
.homepage-template p,
.homepage-template ul {
  margin-top: 0;
}

.homepage-template h1,
.homepage-template h2,
.homepage-template h3 {
  color: var(--page-primary);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.homepage-template h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 78px);
}

.homepage-template h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 52px);
}

.homepage-template h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.homepage-template .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--page-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-template .eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.homepage-template .section {
  padding-block: 64px;
}

.homepage-template .section-header {
  max-width: 730px;
  margin-bottom: 32px;
}

.homepage-template .section-header p,
.homepage-template .text-block p {
  color: var(--page-muted);
  font-size: 17px;
}

.homepage-template .text-block p + p {
  margin-top: 18px;
}

/* Header ---------------------------------------------------- */

.homepage-template .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(198, 161, 91, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(15, 42, 61, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.homepage-template .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: clamp(24px, 3vw, 44px);
}

.homepage-template .site-logo {
  display: inline-flex;
  width: 265px;
  height: 62px;
  flex: 0 0 265px;
  align-items: center;
  overflow: visible;
}

.homepage-template .site-logo img {
  display: block;
  width: 150px;
  max-width: none;
  height: auto;
  transform: scale(1.65);
  transform-origin: left center;
}

.homepage-template .site-logo .site-name {
  color: var(--page-primary);
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.homepage-template .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  color: var(--page-primary);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 600;
  line-height: 1;
}

.homepage-template .site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: clamp(11px, 1.15vw, 18px);
  opacity: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.homepage-template .site-nav a + a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  background: rgba(198, 161, 91, 0.78);
  content: "";
  transform: translateY(-50%);
}

.homepage-template .site-nav a:hover,
.homepage-template .site-nav a:focus-visible,
.homepage-template .site-nav a.is-active {
  color: var(--page-accent);
}

.homepage-template .menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(15, 42, 61, 0.25);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.homepage-template .menu-toggle > span[aria-hidden="true"] {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--page-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.homepage-template .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.homepage-template .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) {
  opacity: 0;
}

.homepage-template .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons --------------------------------------------------- */

.homepage-template .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 224px;
  min-height: 64px;
  gap: 26px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.homepage-template .button:hover {
  transform: translateY(-3px);
}

.homepage-template .button:active {
  transform: translateY(-1px) scale(0.99);
}

.homepage-template .button:focus-visible,
.homepage-template a:focus-visible,
.homepage-template input:focus-visible,
.homepage-template select:focus-visible,
.homepage-template textarea:focus-visible {
  outline: 3px solid rgba(198, 161, 91, 0.45);
  outline-offset: 3px;
}

.homepage-template .button-primary {
  background: linear-gradient(135deg, #c99742, #d9ad62);
  color: #fff;
  box-shadow: 0 16px 34px rgba(198, 161, 91, 0.24);
}

.homepage-template .button-primary:hover {
  background: linear-gradient(135deg, #d0a14e, #e0b872);
}

.homepage-template .button-secondary {
  border-color: rgba(15, 42, 61, 0.75);
  background: rgba(255, 255, 255, 0.2);
  color: var(--page-primary);
}

.homepage-template .button-secondary:hover {
  border-color: var(--page-primary);
  background: rgba(15, 42, 61, 0.04);
}

.homepage-template .button-arrow {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

/* Floating CTA ---------------------------------------------- */

.homepage-template .floating-cta {
  position: fixed;
  top: 58%;
  right: 0;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 184px;
  min-height: 70px;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 7px 0 0 7px;
  background: linear-gradient(135deg, #c99742, #d9ad62);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 42, 61, 0.2);
  line-height: 1.1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(24px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.homepage-template .floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.homepage-template .floating-cta-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
}

.homepage-template .floating-cta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .floating-cta-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
}

.homepage-template .floating-cta-copy > span,
.homepage-template .floating-cta-copy > strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.homepage-template .floating-cta.is-visible:hover {
  box-shadow: 0 20px 44px rgba(15, 42, 61, 0.28);
  transform: translateY(-50%) translateX(-4px);
}

/* Hero ------------------------------------------------------ */

.homepage-template .hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 92px;
  background:
    radial-gradient(circle at 18% 30%, rgba(198, 161, 91, 0.08), transparent 35%),
    var(--page-background);
}

.homepage-template .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(54px, 6vw, 94px);
}

.homepage-template .hero-content {
  max-width: 650px;
}

.homepage-template .hero-content .eyebrow {
  margin-bottom: 34px;
  font-size: 15px;
  letter-spacing: 0.025em;
}

.homepage-template .hero-content h1 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(58px, 6.2vw, 80px);
  font-weight: 600;
  line-height: 0.98;
}

.homepage-template .hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--page-primary);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.72;
}

.homepage-template .hero-text strong {
  font-weight: 700;
}

.homepage-template .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.homepage-template .hero-primary-action {
  display: grid;
  gap: 10px;
}

.homepage-template .hero-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--page-primary);
  font-size: 14px;
}

.homepage-template .duration-icon {
  color: var(--page-accent);
  font-size: 22px;
  line-height: 1;
}

.homepage-template .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  padding: 0;
  margin: 0;
  color: var(--page-primary);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.homepage-template .hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.homepage-template .hero-highlights li:not(:last-child)::after {
  color: var(--page-primary);
  content: "•";
}

.homepage-template .hero-card {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(rgba(15, 42, 61, 0.05), rgba(15, 42, 61, 0.22)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=88") center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(15, 42, 61, 0.16);
}

.homepage-template .hero-card-content {
  position: absolute;
  right: 36px;
  bottom: 30px;
  left: 36px;
  padding: 28px 24px;
  border: 1px solid rgba(15, 42, 61, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(15, 42, 61, 0.14);
  backdrop-filter: blur(16px);
}

.homepage-template .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-template .metric {
  display: grid;
  justify-items: center;
  padding: 0 20px;
  text-align: center;
}

.homepage-template .metric + .metric {
  border-left: 1px solid rgba(15, 42, 61, 0.12);
}

.homepage-template .metric-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--page-accent);
}

.homepage-template .metric-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .metric strong {
  display: block;
  color: var(--page-primary);
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.homepage-template .metric > span:last-child {
  display: block;
  max-width: 150px;
  margin-top: 8px;
  color: var(--page-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* About ----------------------------------------------------- */

.homepage-template .about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 70px;
}

/* Trust ----------------------------------------------------- */

.homepage-template .trust-section {
  padding-block: 64px;
}

.homepage-template .trust-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 58px;
  padding: 54px 58px;
  border-radius: 34px;
  background: var(--page-primary);
  color: #fff;
  box-shadow: var(--page-shadow);
}

.homepage-template .trust-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 58px;
  border-right: 1px solid rgba(198, 161, 91, 0.85);
}

.homepage-template .trust-content .eyebrow {
  margin-bottom: 34px;
}

.homepage-template .trust-content h2 {
  max-width: 560px;
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

.homepage-template .trust-content p {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.homepage-template .trust-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.homepage-template .trust-list li {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 24px;
  padding: 18px 26px;
  border: 1px solid rgba(15, 42, 61, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(2, 20, 34, 0.12);
}

.homepage-template .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(15, 42, 61, 0.24);
  border-radius: 50%;
  color: var(--page-accent);
  font-size: 25px;
  line-height: 1;
}

.homepage-template .trust-list strong {
  color: var(--page-primary);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
}

/* Process --------------------------------------------------- */

.homepage-template .process-section {
  padding: 68px 0 96px;
}

.homepage-template .process-header {
  max-width: 900px;
  margin-bottom: 38px;
}

.homepage-template .process-header h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 0.98;
}

.homepage-template .process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.homepage-template .process-card {
  min-height: 420px;
  padding: 34px 30px 32px;
  border: 1px solid rgba(15, 42, 61, 0.05);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 42, 61, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.homepage-template .process-card:hover {
  box-shadow: 0 22px 54px rgba(15, 42, 61, 0.11);
  transform: translateY(-5px);
}

.homepage-template .process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.1);
}

.homepage-template .process-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--page-accent);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .process-number {
  margin-bottom: 14px;
  color: var(--page-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.homepage-template .process-card h3 {
  min-height: 64px;
  margin-bottom: 18px;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.02;
}

.homepage-template .process-line {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--page-accent);
}

.homepage-template .process-card > p:last-child {
  margin-bottom: 0;
  color: var(--page-primary);
  font-size: 15px;
  line-height: 1.7;
}

/* Request form ---------------------------------------------- */

.homepage-template .request-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 110px;
  background:
    radial-gradient(circle at 18% 28%, rgba(29, 88, 123, 0.24), transparent 34%),
    var(--page-primary);
  color: #fff;
}

.homepage-template .request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 72px;
}

.homepage-template .request-intro .section-header {
  max-width: 520px;
  margin-bottom: 34px;
}

.homepage-template .request-intro h2 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(44px, 5vw, 58px);
  line-height: 1.02;
}

.homepage-template .request-intro .section-header p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.9;
}

.homepage-template .request-benefits {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.homepage-template .request-benefits li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.homepage-template .request-benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid var(--page-accent);
  border-radius: 50%;
  color: var(--page-accent);
  font-size: 18px;
}

.homepage-template .request-card {
  padding: 40px 46px;
  border-radius: var(--page-radius-large);
  background: #fff;
  color: var(--page-text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.homepage-template .request-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border: 1px solid var(--page-border);
  border-radius: 999px;
  background: #f4f1eb;
}

.homepage-template .request-mode-option {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--page-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.homepage-template .request-mode-option:hover {
  background: rgba(15, 42, 61, 0.06);
}

.homepage-template .request-mode-option.is-active {
  background: var(--page-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 42, 61, 0.18);
}

.homepage-template .request-mode-option:focus-visible {
  outline: 3px solid rgba(198, 161, 91, 0.45);
  outline-offset: 2px;
}

.homepage-template .request-card-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--page-border);
}

.homepage-template .request-card-header h2 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
}

.homepage-template .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.homepage-template .field {
  margin-bottom: 18px;
}

.homepage-template .field > label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
  color: var(--page-primary);
  font-size: 13px;
  font-weight: 700;
}

.homepage-template .field > label > span {
  color: var(--page-accent);
}

.homepage-template .field > label small {
  color: var(--page-muted);
  font-size: 11px;
  font-weight: 500;
}

.homepage-template .field input,
.homepage-template .field select,
.homepage-template .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--page-border);
  border-radius: 14px;
  background: #faf9f7;
  color: var(--page-text);
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.homepage-template .field textarea {
  min-height: 100px;
  resize: vertical;
}

.homepage-template .field input:focus,
.homepage-template .field select:focus,
.homepage-template .field textarea:focus {
  border-color: var(--page-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.14);
}

.homepage-template #analysis-fields[hidden] {
  display: none !important;
}

.homepage-template .file-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 18px;
  padding: 16px 20px;
  border: 1px dashed rgba(15, 42, 61, 0.34);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.homepage-template .file-dropzone:hover,
.homepage-template .file-dropzone.is-dragging {
  border-color: var(--page-accent);
  background: rgba(198, 161, 91, 0.05);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.1);
}

.homepage-template .file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.homepage-template .file-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: var(--page-accent);
}

.homepage-template .file-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  max-width: none;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .file-copy {
  display: grid;
  gap: 3px;
}

.homepage-template .file-copy strong {
  color: var(--page-primary);
  font-size: 14px;
  line-height: 1.4;
}

.homepage-template .file-copy span,
.homepage-template .field-help {
  color: var(--page-muted);
  font-size: 12px;
  line-height: 1.55;
}

.homepage-template .field-help {
  margin: 10px 0 0;
}

.homepage-template .privacy-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--page-border);
}

.homepage-template .privacy-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--page-accent);
}

.homepage-template .privacy-field label {
  color: var(--page-muted);
  font-size: 12px;
  line-height: 1.6;
}

.homepage-template .privacy-field a {
  color: var(--page-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.homepage-template .request-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
}

.homepage-template .request-submit::after {
  margin-left: 14px;
  content: "→";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.homepage-template .request-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.homepage-template .form-status {
  display: none;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.homepage-template .form-status.is-visible {
  display: block;
}

.homepage-template .form-status.is-success {
  border: 1px solid rgba(46, 125, 78, 0.24);
  background: rgba(46, 125, 78, 0.08);
  color: #24643f;
}

.homepage-template .form-status.is-error {
  border: 1px solid rgba(165, 48, 48, 0.24);
  background: rgba(165, 48, 48, 0.07);
  color: #8b2828;
}

.homepage-template .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer ---------------------------------------------------- */

.homepage-template .site-footer {
  padding: 54px 0 34px;
  background: var(--page-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.homepage-template .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, 0.8fr));
  align-items: start;
  gap: 36px;
  padding-bottom: 34px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage-template .footer-brand {
  max-width: 360px;
}

.homepage-template .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.homepage-template .footer-logo img {
  width: 150px;
  height: auto;
}

.homepage-template .footer-logo .site-name {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.homepage-template .footer-title {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-template .footer-links {
  display: grid;
  gap: 10px;
}

.homepage-template .footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.homepage-template .footer-links a:hover,
.homepage-template .footer-links a:focus-visible {
  color: #fff;
}

.homepage-template .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.homepage-template .footer-bottom p {
  margin: 0;
}


/* Back to top ----------------------------------------------- */

.homepage-template .back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(15, 42, 61, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--page-primary);
  box-shadow: 0 10px 28px rgba(15, 42, 61, 0.16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.homepage-template .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.homepage-template .back-to-top:hover,
.homepage-template .back-to-top:focus-visible {
  background: var(--page-primary);
  color: #fff;
  transform: translateY(-3px);
}

.homepage-template .back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal animation ----------------------------------------- */

.homepage-template .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.homepage-template .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.homepage-template .reveal-delay-1 { transition-delay: 0.08s; }
.homepage-template .reveal-delay-2 { transition-delay: 0.16s; }
.homepage-template .reveal-delay-3 { transition-delay: 0.24s; }
.homepage-template .reveal-delay-4 { transition-delay: 0.32s; }

/* Sticky form introduction ---------------------------------- */

/*
 * On larger screens, the explanatory column follows the long analysis form.
 * It is disabled on shorter viewports to ensure all text remains reachable.
 */
@media (min-width: 981px) and (min-height: 760px) {
  .homepage-template .request-section[data-mode="analysis"] {
    overflow: visible;
  }

  .homepage-template .request-section[data-mode="analysis"] .request-grid {
    align-items: start;
  }

  .homepage-template .request-section[data-mode="analysis"] .request-intro {
    position: sticky;
    top: 124px;
    align-self: start;
  }
}

/* Responsive ------------------------------------------------ */

@media (max-width: 1180px) {
  .homepage-template .header-inner {
    min-height: 88px;
    gap: 22px;
  }

  .homepage-template .site-logo {
    width: 235px;
    height: 56px;
    flex-basis: 235px;
  }

  .homepage-template .site-logo img {
    width: 235px;
    transform: scale(1.55);
  }

  .homepage-template .site-nav {
    font-size: 19px;
  }

  .homepage-template .site-nav a {
    padding-inline: 10px;
  }

  .homepage-template .hero-card {
    min-height: 610px;
  }

  .homepage-template .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-template .trust-showcase {
    gap: 40px;
    padding: 46px;
  }

  .homepage-template .trust-content {
    padding-right: 40px;
  }

  .homepage-template .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-template .process-card {
    min-height: 370px;
  }
}

@media (max-width: 980px) {
  .homepage-template .header-inner {
    position: relative;
    min-height: 82px;
  }

  .homepage-template .site-logo {
    width: 220px;
    height: 52px;
    flex-basis: 220px;
  }

  .homepage-template .site-logo img {
    width: 220px;
    transform: scale(1.48);
  }

  .homepage-template .menu-toggle {
    display: inline-block;
    flex: 0 0 48px;
  }

  .homepage-template .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 22px;
    border-bottom: 1px solid rgba(198, 161, 91, 0.5);
    background: #fff;
    box-shadow: 0 18px 30px rgba(15, 42, 61, 0.1);
    font-family: "Inter", sans-serif;
    font-size: 15px;
  }

  .homepage-template .site-nav.is-open {
    display: flex;
  }

  .homepage-template .site-nav a {
    justify-content: center;
    min-height: 48px;
    padding-inline: 14px;
  }

  .homepage-template .site-nav a + a::before {
    top: 0;
    right: 20%;
    left: 20%;
    width: auto;
    height: 1px;
    transform: none;
  }

  .homepage-template .hero-grid,
  .homepage-template .about-grid,
  .homepage-template .request-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .homepage-template .hero-content {
    max-width: 760px;
  }

  .homepage-template .hero-card {
    min-height: 620px;
  }

  .homepage-template .floating-cta {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: auto;
    min-width: 168px;
    min-height: 60px;
    border-radius: 7px;
    transform: translateY(18px);
  }

  .homepage-template .floating-cta.is-visible {
    transform: translateY(0);
  }

  .homepage-template .floating-cta.is-visible:hover {
    transform: translateY(-3px);
  }

  .homepage-template .request-intro .section-header {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .homepage-template .trust-showcase {
    grid-template-columns: 1fr;
  }

  .homepage-template .trust-content {
    padding-right: 0;
    padding-bottom: 36px;
    border-right: 0;
    border-bottom: 1px solid rgba(198, 161, 91, 0.85);
  }

  .homepage-template .trust-content .eyebrow {
    margin-bottom: 24px;
  }
}

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

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

  .homepage-template .header-inner {
    min-height: 72px;
  }

  .homepage-template .site-logo {
    width: 180px;
    height: 44px;
    flex-basis: 180px;
  }

  .homepage-template .site-logo img {
    width: 150px;
    transform: scale(1.38);
  }

  .homepage-template .menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .homepage-template .hero,
  .homepage-template .section,
  .homepage-template .request-section {
    padding-block: 54px;
  }

  .homepage-template .hero-content .eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .homepage-template .hero-content h1 {
    margin-bottom: 24px;
    font-size: clamp(48px, 15vw, 68px);
  }

  .homepage-template .hero-text {
    font-size: 17px;
  }

  .homepage-template .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .homepage-template .hero-primary-action,
  .homepage-template .button {
    width: 100%;
  }

  .homepage-template .button {
    min-width: 0;
  }

  .homepage-template .hero-highlights {
    display: grid;
    gap: 8px;
  }

  .homepage-template .hero-highlights li {
    gap: 0;
  }

  .homepage-template .hero-highlights li::after {
    display: none;
  }

  .homepage-template .hero-card {
    min-height: 510px;
    border-radius: 22px;
  }

  .homepage-template .hero-card-content {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 20px 12px;
  }

  .homepage-template .metric {
    padding-inline: 8px;
  }

  .homepage-template .metric-icon {
    width: 40px;
    height: 40px;
  }

  .homepage-template .metric-icon svg {
    width: 25px;
    height: 25px;
  }

  .homepage-template .metric strong {
    font-size: 31px;
  }

  .homepage-template .metric > span:last-child {
    font-size: 10px;
  }

  .homepage-template .floating-cta {
    right: 10px;
    bottom: 10px;
    min-width: 154px;
    min-height: 56px;
    gap: 10px;
    padding: 10px 14px;
  }

  .homepage-template .floating-cta-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .homepage-template .floating-cta-copy > span,
  .homepage-template .floating-cta-copy > strong {
    font-size: 13px;
  }

  .homepage-template .form-row,
  .homepage-template .process-grid {
    grid-template-columns: 1fr;
  }

  .homepage-template .trust-showcase {
    gap: 30px;
    padding: 32px 22px;
    border-radius: 24px;
  }

  .homepage-template .trust-content h2 {
    font-size: 38px;
  }

  .homepage-template .trust-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .homepage-template .trust-list li {
    min-height: 76px;
    gap: 16px;
    padding: 14px 16px;
  }

  .homepage-template .check-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 22px;
  }

  .homepage-template .trust-list strong {
    font-size: 21px;
  }

  .homepage-template .process-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .homepage-template .process-card h3 {
    min-height: 0;
  }

  .homepage-template .request-intro h2 {
    font-size: 42px;
  }

  .homepage-template .request-mode-option {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .homepage-template .request-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .homepage-template .request-card-header h2 {
    font-size: 34px;
  }

  .homepage-template .file-dropzone {
    align-items: flex-start;
    gap: 14px;
    padding: 15px;
  }

  .homepage-template .back-to-top {
    right: 12px;
    bottom: 82px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-template *,
  .homepage-template *::before,
  .homepage-template *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .homepage-template .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   PRIVACY POLICY PAGE
   Page ID 3
   ========================================================= */

.legal-page-template .privacy-page {
  background: var(--page-background);
}

.legal-page-template .privacy-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  border-bottom: 1px solid rgba(15, 42, 61, 0.08);
  background:
    radial-gradient(circle at 15% 25%, rgba(198, 161, 91, 0.11), transparent 32%),
    linear-gradient(180deg, #fbf9f5 0%, var(--page-background) 100%);
}

.legal-page-template .privacy-hero-inner {
  max-width: 1000px;
}

.legal-page-template .privacy-hero .eyebrow {
  margin-bottom: 26px;
}

.legal-page-template .privacy-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 600;
  line-height: 0.98;
}

.legal-page-template .privacy-updated {
  margin: 0 0 34px;
  color: var(--page-muted);
  font-size: 14px;
}

.legal-page-template .privacy-updated strong {
  color: var(--page-primary);
  font-weight: 700;
}

.legal-page-template .privacy-intro {
  max-width: 850px;
  color: var(--page-primary);
  font-size: 18px;
  line-height: 1.85;
}

.legal-page-template .privacy-intro p {
  margin-bottom: 16px;
}

.legal-page-template .privacy-intro p:last-child {
  margin-bottom: 0;
}

.legal-page-template .privacy-body {
  padding: 72px 0 110px;
}

.legal-page-template .privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 820px);
  justify-content: center;
  align-items: start;
  gap: clamp(52px, 6vw, 92px);
}

.legal-page-template .privacy-toc {
  position: sticky;
  top: 126px;
  padding: 24px 22px;
  border: 1px solid rgba(15, 42, 61, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(15, 42, 61, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-page-template .privacy-toc-title {
  display: block;
  margin-bottom: 16px;
  color: var(--page-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page-template .privacy-toc ol {
  display: grid;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.legal-page-template .privacy-toc a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--page-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.legal-page-template .privacy-toc a span {
  color: var(--page-accent);
  font-size: 11px;
  font-weight: 800;
}

.legal-page-template .privacy-toc a:hover,
.legal-page-template .privacy-toc a:focus-visible {
  background: rgba(198, 161, 91, 0.09);
  color: var(--page-primary);
}

.legal-page-template .privacy-content {
  min-width: 0;
}

.legal-page-template .privacy-section {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--page-border);
  scroll-margin-top: 124px;
}

.legal-page-template .privacy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-page-template .privacy-section-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.08);
  color: var(--page-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.legal-page-template .privacy-section h2 {
  margin: 3px 0 22px;
  color: var(--page-primary);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.08;
}

.legal-page-template .privacy-copy {
  color: #4d5962;
  font-size: 16px;
  line-height: 1.85;
}

.legal-page-template .privacy-copy p {
  margin: 0 0 18px;
}

.legal-page-template .privacy-copy p:last-child {
  margin-bottom: 0;
}

.legal-page-template .privacy-copy strong {
  color: var(--page-primary);
  font-weight: 700;
}

.legal-page-template .privacy-copy a {
  color: var(--page-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(198, 161, 91, 0.65);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-page-template .privacy-copy a:hover,
.legal-page-template .privacy-copy a:focus-visible {
  color: var(--page-accent);
}

@media (max-width: 980px) {
  .legal-page-template .privacy-hero {
    padding: 62px 0 56px;
  }

  .legal-page-template .privacy-body {
    padding: 56px 0 82px;
  }

  .legal-page-template .privacy-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-page-template .privacy-toc {
    position: static;
    padding: 22px;
  }

  .legal-page-template .privacy-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
  }
}

@media (max-width: 640px) {
  .legal-page-template .privacy-hero {
    padding: 48px 0 44px;
  }

  .legal-page-template .privacy-hero h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .legal-page-template .privacy-intro {
    font-size: 16px;
    line-height: 1.75;
  }

  .legal-page-template .privacy-body {
    padding: 44px 0 64px;
  }

  .legal-page-template .privacy-toc {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .legal-page-template .privacy-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-page-template .privacy-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 36px;
    margin-bottom: 36px;
    scroll-margin-top: 96px;
  }

  .legal-page-template .privacy-section-number {
    width: 42px;
    height: 42px;
  }

  .legal-page-template .privacy-section h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 30px;
  }

  .legal-page-template .privacy-copy {
    font-size: 15px;
    line-height: 1.75;
  }
}

/* =========================================================
   WHATSAPP + CONTACT LINKS
   ========================================================= */

/* WhatsApp icon in main navigation. */
.homepage-template .site-nav .nav-whatsapp {
  min-width: 44px;
  padding-inline: 12px;
  color: var(--page-primary);
}

.homepage-template .site-nav .nav-whatsapp svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .site-nav .nav-whatsapp:hover,
.homepage-template .site-nav .nav-whatsapp:focus-visible {
  color: var(--page-accent);
}

/* Direct phone and WhatsApp links shown only in Contact mode. */
.homepage-template .request-direct-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.homepage-template .request-section[data-mode="analysis"] .request-direct-contact {
  display: none;
}

.homepage-template .request-direct-contact-link {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--page-border);
  border-radius: 12px;
  background: #faf9f7;
  color: var(--page-primary);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.homepage-template .request-direct-contact-link:hover,
.homepage-template .request-direct-contact-link:focus-visible {
  border-color: rgba(198, 161, 91, 0.7);
  background: rgba(198, 161, 91, 0.07);
  transform: translateY(-2px);
}

.homepage-template .request-direct-contact-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.11);
  color: var(--page-accent);
}

.homepage-template .request-direct-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-template .request-direct-contact-link > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.homepage-template .request-direct-contact-link small {
  color: var(--page-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.homepage-template .request-direct-contact-link strong {
  overflow: hidden;
  color: var(--page-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .homepage-template .site-nav .nav-whatsapp {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .homepage-template .request-direct-contact {
    grid-template-columns: 1fr;
  }

  .homepage-template .request-direct-contact-link strong {
    font-size: 13px;
  }
}

/* Phone card: static on desktop/tablet, tel: link only on mobile. */
.homepage-template .request-direct-contact-phone-mobile {
  display: none;
}

.homepage-template .request-direct-contact-phone-desktop {
  cursor: default;
}

.homepage-template .request-direct-contact-phone-desktop:hover {
  border-color: var(--page-border);
  background: #faf9f7;
  transform: none;
}

/* Keep footer columns balanced when the social-media column is absent. */
.homepage-template .footer-grid.without-socials {
  grid-template-columns:
    minmax(320px, 1.45fr)
    minmax(180px, 0.75fr)
    minmax(220px, 0.9fr);
  column-gap: clamp(50px, 6vw, 90px);
}

.homepage-template .footer-grid.without-socials > * {
  justify-self: start;
}

@media (max-width: 1180px) {
  .homepage-template .footer-grid.without-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .homepage-template .footer-grid.without-socials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .homepage-template .request-direct-contact-phone-desktop {
    display: none;
  }

  .homepage-template .request-direct-contact-phone-mobile {
    display: flex;
  }
}
