/* ABOUT – wide key facts + qualification grid */

.about {
    position: relative;
    padding: 4.5rem 6vw 4.5rem;
    background:
        linear-gradient(135deg, #faf7ed 0%, #ffffff 40%, #fafafa 100%);
    border-top: 1px solid var(--border-light);
}

/* subtle angled gold band behind content */
.about::before {
    content: "";
    position: absolute;
    inset: 18% 0 auto 0;
    height: 38%;
    background: linear-gradient(
        120deg,
        rgba(201, 163, 74, 0.18),
        rgba(201, 163, 74, 0.05)
    );
    opacity: 0.9;
    transform: skewY(-2deg);
    pointer-events: none;
    z-index: 0;
}

.about-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

/* Header row: title + CTA */

.about-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.about-heading h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.6rem;
}

.about-heading p {
    max-width: 520px;
    color: var(--text-muted);
}

.about-cta {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    border: 1px solid var(--gold);
    background: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition:
        background 0.2s ease-out,
        color 0.2s ease-out,
        box-shadow 0.2s ease-out,
        transform 0.1s ease-out;
}

.about-cta::after {
    content: "↗";
    font-size: 0.8em;
}

.about-cta:hover,
.about-cta:focus-visible {
    background: var(--gold);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* KEY FACTS – full width */

.about-facts {
    margin-bottom: 3rem;
}

.about-facts h3,
.about-quals h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
}

.about-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.about-fact-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-fact-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    border-radius: 999px;
    background: var(--gold);
    opacity: 0.7;
}

.fact-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.fact-main {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fact-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Staggered reveal for key facts */
.about-fact-card[data-reveal] {
    transition-delay: 0.0s;
}

.about-fact-card:nth-child(2)[data-reveal] {
    transition-delay: 0.16s;
}

.about-fact-card:nth-child(3)[data-reveal] {
    transition-delay: 0.32s;
}

.about-fact-card:nth-child(4)[data-reveal] {
    transition-delay: 0.64s;
}

/* QUALIFICATIONS GRID */

.about-quals {
    margin-top: 1rem;
}

.about-qual-frame {
    margin-top: 1.2rem;
    background: #111111; /* softer black */
    border-radius: 18px;
    padding: 0.9rem;
    border: 3px solid var(--gold);
}

/* inner grid area with white lines */

.about-qual-grid {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: hidden;
    padding: 0.5rem 0.5rem 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

/* vertical line, starting below headline row */
.about-qual-grid::before {
    content: "";
    position: absolute;
    top: calc(100% / 2); /* start below headline row */
    bottom: 8%;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(-0.5px);
    pointer-events: none;
}

/* grid cells */

.about-qual-cell {
    position: relative;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0.95rem 1rem;
    text-align: left;
    font: inherit;
    cursor: pointer;
    border: 0;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    transition:
        background 0.2s ease-out,
        transform 0.1s ease-out;
}

.about-qual-cell:nth-child(2n) {
  border-right: 0;
}

.about-qual-cell:last-child {
  border-bottom: 0;
}
    
.about-qual-grid::before,
.about-qual-grid::after {
  content: none !important;
}

/* headline cell spans full width */

.about-qual-cell--headline {
    grid-column: 1 / -1;
    padding: 1.1rem 1.15rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-right: 0 !important;
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 0 0 2px rgba(201, 163, 74, 0.35),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-qual-cell--headline:last-child {
  border-bottom: 0;
}

/* subtle gold glow behind the headline */
.about-qual-cell--headline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(201, 163, 74, 0.12),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.about-qual-headline-main {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.about-qual-headline-sub {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 0.55rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

/* title text inside normal cells */

.about-qual-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* inner white lines (not touching the outer border) */
.about-qual-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* remove bottom border from last row cells */
.about-qual-cell:nth-last-child(-n + 2):not(.about-qual-cell--headline) {
    border-bottom: none;
}

/* hover / active state */

.about-qual-cell:hover,
.about-qual-cell:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.about-qual-cell--active {
    background: rgba(255, 255, 255, 0.12);
}

/* detail panel beneath grid */

.about-qual-details {
    margin-top: 1rem;
    padding: 1.6rem 1.8rem;
    border-radius: 14px;
    background: #f5f5f5;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: height 220ms ease;
    will-change: height;
}

.about-qual-details-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.about-qual-details-body {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    line-height: 1.55;
}

.about-text-link {
    font-size: 0.9rem;
    color: var(--gold);
    text-decoration: none;
}

.about-text-link:hover,
.about-text-link:focus-visible {
    text-decoration: underline;
}

/* REVEAL ON SCROLL – base state */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
    will-change: opacity, transform;
}

/* When visible */
[data-reveal].reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variants */
[data-reveal="up"] {
    transform: translateY(24px);
}

[data-reveal="fade"] {
    transform: translateY(0);
    opacity: 0;
}

[data-reveal="fade"].reveal-visible {
    opacity: 1;
}

[data-reveal="scale"] {
    transform: scale(0.97);
}

[data-reveal="scale"].reveal-visible {
    transform: scale(1);
}

/* CONTACT */

.contact {
    background-color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.7rem;
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* contact methods list */

.contact-method-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.contact-link {
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--gold);
}

.contact-link:hover,
.contact-link:focus-visible {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}


/* Location map widget (About page aside) */
.location-widget{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.page-section--light .location-widget{
  border-top-color: rgba(0,0,0,.10);
}

.location-widget__heading{
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.location-widget__map{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  background: rgba(255,255,255,.04);
}

.page-section--light .location-widget__map{
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
}

.location-widget__map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-widget__meta{
  margin: 10px 0 8px;
  font-size: 0.95rem;
  opacity: 0.92;
}

.location-widget__link{
  display: inline-block;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
  transition: opacity .2s ease, transform .2s ease;
}

.page-section--light .location-widget__link{
  border-bottom-color: rgba(0,0,0,.35);
}

.location-widget__link:hover{
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Make sure it behaves nicely on small screens */
@media (max-width: 560px){
  .location-widget__map{
    border-radius: 12px;
    aspect-ratio: 16 / 11;
  }
}

/* form */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.5rem;
}

.form-row {
    display: flex;
    gap: 0.9rem;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-field label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    font: inherit;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    outline: none;
    transition:
        border-color 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background-color 0.15s ease-out;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 74, 0.25);
    background-color: #fffdf7;
}

.contact-submit {
    align-self: flex-start;
    margin-top: 0.3rem;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: none;
    background: var(--gold);
    color: #111;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition:
        background 0.2s ease-out,
        box-shadow 0.15s ease-out,
        transform 0.1s ease-out;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: #b48f3b;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.contact-small-print {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive contact */




/* ---------- PAGE / INNER PAGES ---------- */

/* Compact hero variant for subpages */
.hero.hero--compact {
    min-height: 50vh;
    align-items: flex-end;
    padding-bottom: 3.5rem;
}

/* Small kicker + lead in hero */
.page-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.3rem;
    color: var(--gold-soft);
}

.page-lead {
    margin-top: 0.8rem;
    font-size: 1rem;
    max-width: 38rem;
}

/* Generic page section */

.page-section {
    padding: 3.5rem 6vw;
}

.page-section--light {
    background-color: #fafafa;
}

.page-section--dark {
    background: #111;
    color: #f5f5f5;
}

.page-section--narrow {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.page-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page headings */

.page-section-heading {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.7rem;
}

.page-section-intro {
    max-width: 640px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Two-column layout with aside */

.page-two-column {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

/* Aside style reused for about and services */

.page-aside {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.page-aside-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.7rem;
}

/* Key list (label/value pairs) */

.page-key-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.page-key-list .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.page-key-list .value {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Aside CTA */

.page-aside-cta {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    font-weight: 600;
}

.page-aside-cta:hover,
.page-aside-cta:focus-visible {
    background: var(--gold);
    color: #fff;
}

/* Timeline on about page */

.timeline {
    margin-top: 1.2rem;
    border-left: 2px solid var(--border-light);
    padding-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 1.4rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.52rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 3px #ffffff;
}

.timeline-year {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.timeline-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Testimonials */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.testimonial-quote {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.testimonial-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Page CTA row */

.page-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Breadcrumbs */

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumbs a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.breadcrumbs-current {
    color: var(--text-main);
}

/* Service page layout */

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.service-main {
    min-width: 0;
}

.service-subheading {
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.service-list,
.service-steps {
    margin-left: 1.1rem;
}

.service-list li,
.service-steps li {
    margin-bottom: 0.4rem;
}

.service-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.6rem;
}

.scenario-card {
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 0.9rem 1rem;
    background: #ffffff;
}

.scenario-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Sidebar for service page */

.service-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 6rem;
    align-self: flex-start;
}

.service-contact-box {
    margin-top: 1rem;
    font-size: 0.9rem;
}

ul, ol {
  padding-left: 1.5em;
}

.service-contact-box ul {
    margin: 0.4rem 0 0.7rem 1.1rem;
}

/* CLICK-TO-CALL FLOATING BUTTON (MOBILE) */
.call-fab {
    position: fixed;
    right: 1.2rem;
    bottom: 4.2rem; /* leave room for back-to-top if present */
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition:
        background 0.2s ease-out,
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out;
}

/* slight “press” on hover/focus */
.call-fab:hover,
.call-fab:focus-visible {
    background: #b48f3b;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Responsive: page layouts */
@media (hover: none) and (pointer: coarse) {
    .call-fab {
        display: inline-block;
    }
}

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-two-column,
    .service-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-sidebar {
        position: static;
    }

    .page-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
  .about-qual-details {
    transition: none;
  }
}