@layer reset, tokens, base, components, layout, utilities, motion;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  figure,
  blockquote {
    margin: 0;
  }

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

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  a {
    color: inherit;
  }

  ul[role="list"],
  ol[role="list"] {
    list-style: none;
    padding: 0;
  }
}

@layer tokens {
  :root {
    --hgc-green-deep: #14281d;
    --hgc-green-hover: #0e1e16;
    --hgc-gold: #cdb36e;
    --hgc-gold-light: #e8d8a7;
    --hgc-gold-hover: #b89c57;
    --hgc-bg-cream: #faf8f5;
    --hgc-card-bg: #ffffff;
    --hgc-text-dark: #1a1a1a;
    --hgc-text-muted: #556059;
    --green-950: #061712;
    --green-900: #0a231c;
    --green-800: #12382e;
    --green-700: #245344;
    --gold-600: #9b7a35;
    --gold-500: #b79751;
    --gold-300: #d9c28a;
    --cream-100: #f8f3e8;
    --cream-50: #fcfaf5;
    --white: #fff;
    --ink: #13201c;
    --muted: #5f6d67;
    --line: rgba(205, 179, 110, 0.25);
    --danger: #8a2d2d;
    --success: #206644;
    --serif: "Cormorant Garamond", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.9rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
    --step-1: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
    --step-2: clamp(1.55rem, 1.32rem + 1.1vw, 2.25rem);
    --step-3: clamp(2.1rem, 1.62rem + 2.2vw, 3.7rem);
    --step-4: clamp(2.1rem, 1.4rem + 3.4vw, 5.2rem);
    --s1: 0.5rem;
    --s2: 1rem;
    --s3: 1.5rem;
    --s4: 2rem;
    --s5: 3rem;
    --s6: 4rem;
    --s7: 6rem;
    --radius-sm: 4px;
    --radius-md: 10px;
    --shadow: 0 18px 55px rgb(6 23 18 / 0.12);
    --max: 1240px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@layer base {
  body {
    font: 400 var(--step-0)/1.65 var(--sans);
    color: var(--ink);
    background: var(--white);
    text-rendering: optimizeLegibility;
  }
  
  main{
      overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  h1 {
    font-size: var(--step-4);
  }

  h2 {
    font-size: var(--step-3);
  }

  h3 {
    font-size: var(--step-2);
  }

  h4 {
    font-size: var(--step-1);
  }

  p {
    max-width: 68ch;
  }
  
  .full-width-section p {
    max-width: none;
  }
  .container {
    width: min(calc(100% - 2rem), var(--max));
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-weight: 800;
    color: var(--gold-600);
    margin-bottom: 1rem;
  }

  .lead {
    font-size: var(--step-1);
    line-height: 1.48;
    color: var(--muted);
  }

  .muted {
    color: var(--muted);
  }

  .skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 999;
    transform: translateY(-160%);
    background: var(--white);
    color: var(--green-900);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow);
  }

  .skip-link:focus {
    transform: none;
  }

  :focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 4px;
  }

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

@layer components {
  .utility {
    background: var(--hgc-green-deep);
    color: var(--hgc-gold);
    font-size: 0.76rem;
  }

  .utility__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .utility__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .utility a {
    font-weight: 750;
    text-decoration: none;
  }

  .utility__whatsapp {
    padding-left: 1rem;
    border-left: 1px solid rgb(255 255 255 / 0.22);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
  }

  .nav {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: max-content;
  }

  .brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
  }

  .brand strong,
  .brand span {
    display: block;
  }

  .brand strong {
    font: 750 1.15rem/1.15 var(--serif);
  }

  .brand span {
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.2rem;
  }

  .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.5vw, 1.5rem);
  }

  .nav__links > a:not(.button) {
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 0.7rem 0;
    position: relative;
  }

  .nav__links > a:not(.button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0.4rem;
    height: 1px;
    background: var(--gold-500);
    transition: right 0.25s var(--ease);
  }

  .nav__links > a:hover::after,
  .nav__links > a[aria-current="page"]::after {
    right: 0;
  }

  .menu-button {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: transparent;
    align-items: center;
    justify-content: center;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    content: "";
    display: block;
    width: 21px;
    height: 1px;
    background: var(--green-900);
    position: absolute;
    transition: 0.2s;
  }

  .menu-button::before {
    transform: translateY(-6px);
  }

  .menu-button::after {
    transform: translateY(6px);
  }

  .menu-button[aria-expanded="true"] span {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"]::before {
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }

  .button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.78rem 1.15rem;
    background: var(--gold-500);
    color: var(--green-950);
    border: 1px solid var(--gold-500);
    border-radius: 3px;
    font-size: 0.83rem;
    font-weight: 450;
    text-decoration: none;
    transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s;
    text-transform: uppercase;
    letter-spacing: 1.1px;
  }

  .button:hover {
    transform: translateY(-2px);
    background: var(--gold-300);
    border-color: var(--gold-300);
  }

  .button--green {
    background: var(--green-900);
    border-color: var(--green-900);
    color: #fff;
  }

  .button--green:hover {
    background: var(--green-800);
    border-color: var(--green-800);
  }

  .button--ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
  }

  .button--ghost:hover {
    background: var(--hgc-green-deep);
    border-color: var(--hgc-green-deep);
    color: #fff;
  }

  .button svg,
  .text-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    border-bottom: 1px solid var(--gold-500);
    padding-bottom: 0.2rem;
  }

  .text-link svg {
    transition: transform 0.2s;
  }

  .text-link:hover svg {
    transform: translateX(4px);
  }

  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
  }

  .section-head > p:last-child {
    color: var(--muted);
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .service-card {
    background: #fff;
    padding: 2rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: background 0.25s, color 0.25s, transform 0.25s;
  }

  .service-card:hover {
    background: var(--cream-50);
    transform: translateY(-3px);
  }

  .service-card__num {
    color: var(--gold-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .service-card h3 {
    font-size: 1.65rem;
    margin: 2.4rem 0 0.8rem;
  }

  .service-card p {
    font-size: 0.9rem;
    color: var(--muted);
  }

  .service-card .text-link {
    margin-top: auto;
    align-self: flex-start;
  }

  .media-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--green-900);
    color: #fff;
    overflow: hidden;
  }

  .media-card picture {
    min-height: 430px;
  }

  .media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .media-card__body {
    padding: clamp(2rem, 5vw, 4.8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .media-card__body p {
    color: #ced9d4;
    margin: 1rem 0 1.8rem;
  }

  .trust-strip {
    background: var(--cream-100);
    border-block: 1px solid #e7ddc5;
  }

  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.4rem;
    border-right: 1px solid #ded4be;
  }

  .trust-item:last-child {
    border: 0;
  }

  .trust-item svg {
    width: 28px;
    height: 28px;
    flex: none;
    fill: none;
    stroke: #cdb36e;
    stroke-width: 1.5;
  }

  .trust-item:first-child svg {
    fill: #cdb36e;
    stroke: none;
  }

  .trust-item strong,
  .trust-item span {
    display: block;
  }

  .trust-item strong {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 550;
  }

  .trust-item span {
    font-size: 0.72rem;
    color: var(--muted);
  }

  .finder {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
  }

  .finder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .finder-grid a {
    min-height: 132px;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: 0.22s;
  }

  .finder-grid a:hover {
    background: var(--green-900);
    color: #fff;
    transform: translateY(-2px);
  }

  .finder-grid strong {
    font: 400 1.2rem/1.18 var(--serif);
  }

  .finder-grid small {
    color: var(--muted);
  }

  .finder-grid a:hover small {
    color: #cbd8d2;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    border-top: 1px solid rgb(255 255 255 / 0.3);
    padding-top: 1.4rem;
  }

  .step b {
    font: 400 2rem var(--serif);
    color: var(--gold-300);
  }

  .step h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.4rem;
  }

  .step p {
    color: #c7d4ce;
  }

  .faq {
    max-width: 860px;
    margin-inline: auto;
  }

  .faq details {
    border-top: 1px solid var(--line);
    padding: 1.35rem 0;
  }

  .faq details:last-child {
    border-bottom: 1px solid var(--line);
  }

  .faq summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-right: 2.5rem;
    cursor: pointer;
    list-style: none;
    font: 400 1.3rem/1.3 var(--serif);
    position: relative;
  }

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

  .faq summary::after {
    content: "+";
    position: absolute;
    right: 0.2rem;
    color: var(--gold-600);
  }

  .faq details[open] summary::after {
    content: "–";
  }

  .faq p {
    padding-top: 0.8rem;
    color: var(--muted);
  }

  .form {
    display: grid;
    gap: 1rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .field {
    display: grid;
    gap: 0.4rem;
  }

  .field label {
    font-size: 0.8rem;
    font-weight: 800;
  }

  .field input,
  .field textarea,
  .field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #b9c4bf;
    background: #fff;
    padding: 0.8rem;
    color: var(--ink);
    border-radius: 0;
  }

  .field textarea {
    min-height: 150px;
    resize: vertical;
  }

  .field small {
    color: var(--muted);
  }

  .notice {
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--gold-500);
    background: var(--cream-50);
    font-size: 0.87rem;
  }

  .breadcrumb {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--muted);
  }

  .breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
  }

  .breadcrumb li + li::before {
    content: "./";
    margin-right: 0.5rem;
  }

  .page-hero {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--green-900);
    color: #fff;
  }

  .page-hero .eyebrow {
    color: var(--gold-300);
  }

  .page-hero p:last-child {
    color: #d0dcd6;
    margin-top: 1.4rem;
    font-size: var(--step-1);
  }

  .prose {
    max-width: 780px;
  }

  .prose h2 {
    margin: 2.5rem 0 1rem;
    font-size: 2.3rem;
  }

  .prose h3 {
    margin: 2rem 0 0.8rem;
    font-size: 1.65rem;
  }

  .prose p,
  .prose li {
    color: var(--muted);
  }

  .prose ul {
    padding-left: 1.2rem;
  }

  .footer {
    background: var(--green-950);
    color: #d4ddd9;
    padding: 4.5rem 0 1.5rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer h2 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
  }

  .footer a {
    display: block;
    text-decoration: none;
    font-size: 0.84rem;
    margin: 0.48rem 0;
  }

  .footer a:hover {
    text-decoration: underline;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .footer-brand strong,
  .footer-brand span {
    display: block;
  }

  .footer-brand strong {
    font: 400 1.25rem var(--serif);
    color: #fff;
  }

  .footer-brand span {
    font-size: 0.72rem;
    color: #afc0b8;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgb(255 255 255 / 0.14);
    font-size: 0.72rem;
  }

  .mobile-cta {
    display: none;
  }

  /* Custom Hero Quick Finder */
  .hero-quick-finder {
    margin-top: 24px;
    padding: 16px;
    background: rgba(253, 246, 229, 0.9);
    border: 1px solid #cdb36e;
    border-radius: 8px;
    max-width: 480px;
  }

  .hero-quick-finder label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #14281d;
    margin-bottom: 8px;
  }

  .finder-controls {
    display: flex;
    gap: 8px;
  }

  .finder-controls select {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cdb36e;
    border-radius: 4px;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 15px;
  }

  .finder-controls button,
  .finder-controls .btn-gold {
    background-color: #14281d;
    color: #cdb36e;
    border: 1px solid #cdb36e;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .finder-controls button:hover,
  .finder-controls .btn-gold:hover {
    background-color: #cdb36e;
    color: #14281d;
    border-color: #cdb36e;
    box-shadow: 0 4px 12px rgba(205, 179, 110, 0.25);
  }

  .finder-controls button:active,
  .finder-controls .btn-gold:active {
    transform: translateY(1px);
  }

  /* Hero Selector Strip */
  .hero-selector-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0.8rem 0.6rem 1.2rem;
    border-radius: 50px;
    max-width: 540px;
    margin-top: 1.8rem;
  }

  .strip-label {
    color: rgba(255, 255, 255, 0.85);
    font-family: "Cormorant Garamond", serif;
    font-size: 0.95rem;
    font-style: italic;
    white-space: nowrap;
    letter-spacing: 0.3px;
  }

  .strip-input-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 0.5rem;
  }

  .strip-select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23C5A059' stroke-width='1.5' d='M1 1l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 1.8rem;
  }

  .strip-select option {
    background-color: #121814;
    color: #ffffff;
    padding: 10px;
  }

  .strip-button {
    background: #c5a059;
    color: #0f170f;
    border: none;
    outline: none;
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .strip-button:hover {
    background: #d4af37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  }

  .strip-button svg {
    width: 35px;
    margin: -10px;
  }
}

@layer layout {
  .hero {
    position: relative;
    background: url(../images/HGC-store.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    color: var(--white);
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    min-height: 670px;
    padding-block: 4rem;
  }

  .hero-copy {
    padding-right: 1rem;
  }

  .hero .eyebrow {
    color: var(--gold-300);
  }

  .hero .lead {
    color: var(--cream-50);
    max-width: 650px;
    margin-top: 1.5rem;
  }

  .hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .hero-actions .button:first-child {
    background: var(--gold-600);
    border-color: var(--gold-600);
    color: #fff;
  }

  .hero-actions .button:first-child:hover {
    background: var(--green-800);
    border-color: var(--green-800);
  }

  .hero-actions .button--ghost {
    color: var(--white);
    border-color: var(--gold-300);
  }

  .hero-actions .button--ghost:hover {
    color: #fff;
  }

  .hero-meta {
    font-size: 0.78rem;
    color: var(--cream-50);
    margin-top: 1rem;
  }

  .hero-meta strong {
    color: var(--cream-100);
  }

  .hero-media {
    position: relative;
  }

  .hero-media picture {
    position: relative;
    z-index: 1;
    display: block;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--cream-100);
  }

  .hero-media img {
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover;
  }

  .hero-caption {
    position: relative;
    z-index: 2;
    background: var(--green-800);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    color: #fff;
  }

  .hero-caption span {
    font-size: 0.7rem;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .hero-caption strong {
    font: 400 0.95rem var(--serif);
    text-align: right;
  }

  /* Hero Mosaic Grid */
  .hero-mosaic-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 180px 180px;
    gap: 12px;
    width: 100%;
    max-width: 550px;
  }

  .mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(205, 179, 110, 0.3);
  }

  .mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mosaic-item.main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .mosaic-item.sub-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .mosaic-item.sub-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .green-section {
    background: var(--green-900);
    color: #fff;
  }

  .cream-section {
    background: var(--cream-50);
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
  }

  .image-frame img {
    width: 100%;
    aspect-ratio: 1.12/1;
    object-fit: cover;
  }

  .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 2rem;
  }

  .feature {
    border-top: 1px solid var(--gold-500);
    padding-top: 1rem;
  }

  .feature strong {
    display: block;
    font: 400 1.2rem var(--serif);
  }

  .feature span {
    font-size: 0.8rem;
    color: var(--muted);
  }

  .cta {
    background: var(--green-800);
    color: #fff;
    padding-block: 4.5rem;
  }

  .cta-grid {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
  }

  .cta-grid p {
    color: #cfdad5;
    margin-top: 1rem;
  }

  .cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    flex: none;
  }

  .area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .area-card {
    border: 1px solid var(--line);
    padding: 1.5rem;
    text-decoration: none;
    transition: 0.2s;
  }

  .area-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
  }

  .area-card strong {
    font: 400 1.25rem var(--serif);
  }

  .area-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.4rem;
  }

  .content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 5rem;
  }

  .side-card {
    background: var(--cream-100);
    padding: 2rem;
    position: sticky;
    top: 110px;
  }

  .side-card h2 {
    font-size: 1.8rem;
  }

  .side-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 1rem 0 1.5rem;
  }

  .review-band {
    background: #fff;
  }

  .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .review {
    border: 1px solid var(--line);
    padding: 2rem;
  }

  .review p {
    font: 400 1.25rem/1.45 var(--serif);
  }

  .review cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-size: 0.74rem;
    color: var(--muted);
  }
}

@layer utilities {
  .mt-1 {
    margin-top: 1rem;
  }

  .mt-2 {
    margin-top: 2rem;
  }

  .center {
    text-align: center;
    margin-inline: auto;
  }

  .stack > * + * {
    margin-top: 1rem;
  }

  .nowrap {
    white-space: nowrap;
  }
}

@layer motion {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  }

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

  @media (prefers-reduced-motion:reduce) {
    html {
      scroll-behavior: auto;
    }

    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Media Queries */
@media (max-width: 1060px) {
  .nav__links {
    position: fixed;
    inset: 127px 0 auto;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1rem 2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > a:not(.button) {
    padding: 0.85rem;
  }

  .menu-button {
    display: flex;
    position: relative;
  }

  .hero {
    background-position: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 4rem;
  }

  .hero-media {
    max-width: 720px;
  }

  .finder,
  .section-head,
  .split,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid #ded4be;
  }

  .media-card {
    grid-template-columns: 1fr;
  }

  .media-card picture {
    min-height: 320px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 240px;
  }

  .mosaic-item.sub-top,
  .mosaic-item.sub-bottom {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    width: min(calc(100% - 1.4rem), var(--max));
  }

  .utility__inner {
    min-height: 48px;
  }

  .utility__inner > p {
    font-size: 0.68rem;
    line-height: 1.25;
    max-width: 220px;
  }

  .utility__actions span,
  .utility__actions a[href^="tel"] {
    display: none;
  }

  .nav {
    height: 76px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .nav__links {
    inset: 125px 0 auto;
  }

  .hero-grid {
    padding-block: 3rem;
    gap: 2.5rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-caption strong {
    text-align: left;
  }

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

  .finder-grid a {
    min-height: 112px;
    padding: 1rem;
  }

  .card-grid,
  .steps,
  .reviews,
  .area-grid,
  .feature-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
  }

  .trust-item:nth-child(3) {
    border-bottom: 1px solid #ded4be;
  }

  .section {
    padding-block: 4.2rem;
  }

  .section-head {
    gap: 1.2rem;
  }

  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    z-index: 120;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.55rem;
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.26);
  }

  .mobile-cta a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 750;
  }

  .mobile-cta a:first-child {
    background: #fff;
    color: var(--green-900);
  }

  .mobile-cta a:last-child {
    background: var(--gold-500);
    color: var(--green-950);
  }
}

/* ==========================================================================
   BLOG & SINGLE POST SYSTEM STYLES (COMPLETE)
   ========================================================================== */

/* 1. Layout & Containers */
.blog-container, 
.single-post-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-post-container {
    max-width: 820px;
}

/* 2. Header Tools & Category Filters */
.blog-header-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.blog-search-box .search-form {
    display: flex;
    gap: 8px;
}

.blog-search-box .search-field {
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.blog-search-box .search-field:focus {
    border-color: #000;
}

.blog-search-box .search-submit {
    padding: 9px 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s;
}

.blog-search-box .search-submit:hover {
    background: #222;
}

.blog-categories-filter .category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.blog-categories-filter .category-list li a {
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.blog-categories-filter .category-list li a:hover,
.blog-categories-filter .category-list .current-cat a,
.blog-categories-filter .category-list li.active a {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

/* 3. Blog Grid & Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.blog-card-thumbnail {
    overflow: hidden;
    background: #f8f9fa;
}

.blog-card-thumbnail img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumbnail img {
    transform: scale(1.03);
}

.blog-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 4. Meta & Typography */
.blog-meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta .blog-date {
    color: #888;
}

.blog-meta .meta-sep {
    color: #ccc;
    font-size: 0.7rem;
}

.blog-meta .blog-cat a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.blog-meta .blog-cat a:hover {
    color: #000;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-card-title a {
    text-decoration: none;
    color: #111;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #000;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-btn {
    margin-top: auto;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.read-more-btn:hover {
    gap: 8px;
}

.no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #777;
    font-size: 1rem;
}

/* 5. Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* 6. Single Post Specific Styles */
.single-post-content {
    background: #fff;
}

.post-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin: 10px 0 0 0;
}

.post-hero-image img {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.post-entry-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2c2c2c;
    margin-bottom: 50px;
}

.post-entry-body p {
    margin-bottom: 24px;
}

.post-entry-body h2, 
.post-entry-body h3 {
    color: #111;
    margin: 35px 0 15px 0;
    line-height: 1.3;
}

/* 7. Post Navigation (Prev / Next Buttons) */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-previous, 
.nav-next {
    max-width: 48%;
}

.nav-previous a, 
.nav-next a {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.nav-previous a:hover, 
.nav-next a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-next {
    margin-left: auto;
    text-align: right;
}