/* Page-specific styles for contact.html */
/* Hero */
      .hero {
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
        background: radial-gradient(1200px 500px at 70% -10%, rgba(217,181,69,0.08), transparent),
          linear-gradient(var(--bg), var(--bg));
        min-height: 320px;
        display: flex;
        align-items: center;
      }
      .hero-background {
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: 0;
      }
      .hero-background picture {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
      }
      .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
        position: absolute;
        inset: 0;
        display: block;
        transform: none;
        filter: saturate(110%);
      }
      .hero-background::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 35%, rgba(10,10,10,0.45) 60%, rgba(10,10,10,0.2) 80%, rgba(10,10,10,0.08) 100%);
        z-index: 2;
      }
      .hero-blur-layer {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
      }
      .hero-overlay {
        position: relative;
        z-index: 1;
        width: 100%;
        padding: 66px 0;
      }
      .hero-inner { text-align: center; max-width: 1350px; margin: 0 auto; }
      .eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 1.2em; margin-bottom: 10px; }
      .hero h1 { font-size: 48px; line-height: 1.15; margin: 0 0 20px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.25), 0 6px 12px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15); }
      .hero p { font-size: 1.3em; line-height: 1.4; color: var(--muted); margin: 0; }

      /* Content Sections */
      section { padding: 15px 0; }
      .section-title { font-size: 36px; margin: 0 0 20px; text-align: center; }
      .section-subtitle { font-size: 1.2em; color: var(--muted); text-align: center; margin: 0 0 60px; max-width: 600px; margin-left: auto; margin-right: auto; }

      /* Contact layout: Get in touch | form, map full width below */
      .contact-top {
        display: grid;
        grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
        gap: 30px;
        align-items: stretch;
        margin-bottom: 30px;
        min-width: 0;
      }
      .contact-info { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; height: 100%; min-width: 0; max-width: 100%; }
      .contact-portrait { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
      .contact-portrait img {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid rgba(217, 181, 69, 0.55);
      }
      .contact-portrait-copy { display: flex; flex-direction: column; gap: 4px; }
      .contact-portrait-copy strong { font-size: 18px; line-height: 1.2; }
      .contact-portrait-copy span { color: var(--muted); font-size: 14px; }
      .contact-info h3 { font-size: 28px; margin: 0 0 24px; color: var(--accent); }
      .contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
      .contact-item:last-child { margin-bottom: 0; }
      .contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--accent-contrast); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
      .contact-details h4 { margin: 0 0 4px; font-size: 18px; }
      .contact-details p { margin: 0; color: var(--muted); font-size: 16px; }
      .contact-details a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 0;
        line-height: 1.3;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
      }

      /* Contact Card */
      .contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
      .contact-card h3 { font-size: 28px; margin: 0 0 18px; }
      .contact-card p { color: var(--muted); margin: 0 0 16px; }
      .contact-card ul { margin: 0 0 20px 18px; color: var(--muted); line-height: 1.5; }
      .contact-card li + li { margin-top: 6px; }
      .contact-card .btn-primary { display: inline-flex; justify-content: center; width: auto; padding: 12px 20px; }
      .contact-card .note { margin-top: 14px; font-size: 13px; }

      /* Button Primary */
      .btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; background: var(--accent); color: #131313; border-radius: 12px; font-weight: 700; border: none; cursor: pointer; font-size: 16px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
      .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,181,69,0.3); }

      /* Office Hours */
      .office-hours { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; margin-top: 40px; }
      .office-hours h3 { font-size: 24px; margin: 0 0 20px; color: var(--accent); }
      .hours-grid { display: grid; gap: 12px; }
      .hours-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
      .hours-row:last-child { border-bottom: none; }
      .hours-day { font-weight: 600; font-size: 16px; }
      .hours-time { color: var(--muted); font-size: 16px; }

      /* Map Section */
      .map-section { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; width: 100%; }
      .map-section h3 { font-size: 24px; margin: 0 0 24px; color: var(--accent); text-align: center; }
      #map { height: 420px; width: 100%; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); min-height: 420px; overflow: hidden; }
      #map .maplibregl-map { font-family: inherit; background: #333333; }
      #map .maplibregl-canvas {
        filter: none;
      }
      #map .maplibregl-ctrl-bottom-right { z-index: 500; }
      #map .maplibregl-popup-content {
        background: #fff;
        color: #111;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 12px 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
      }
      #map .maplibregl-popup-close-button {
        color: #111;
        font-size: 18px;
        padding: 4px 8px;
      }
      #map .lgs-map-popup,
      #map .lgs-map-popup strong {
        color: #111;
      }
      #map .lgs-map-popup a {
        color: #6b5618;
      }
      #map .maplibregl-popup-tip {
        border-top-color: #fff;
      }
      .lgs-map-pin {
        background: none;
        border: none;
        width: 22px;
        height: 22px;
        cursor: pointer;
      }
      .lgs-map-pin span {
        display: block;
        width: 18px;
        height: 18px;
        background: #d9b545;
        border: 2px solid #fff;
        border-radius: 50% 50% 50% 0;
        transform: rotate(-45deg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
      }

      /* Salesforce web-to-lead (visitor fields only) */
      .enquiry-wrap { margin: 0; min-width: 0; max-width: 100%; height: 100%; }
      .lgs-lead-form { margin: 0; height: 100%; display: flex; min-width: 0; max-width: 100%; }
      .lgs-lead-form .form-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 16px;
        border-top: 3px solid var(--accent);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
        overflow: hidden;
        text-align: left;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
      }
      .lgs-lead-form .grid { flex: 1; }
      .lgs-lead-form .form-head { padding: 32px 40px 24px; }
      .lgs-lead-form .form-kicker {
        margin: 0 0 8px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-size: 12px;
        font-weight: 600;
      }
      .lgs-lead-form .form-card h2 {
        margin: 0;
        font-size: 28px;
        line-height: 1.2;
        color: var(--accent);
      }
      .lgs-lead-form .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 18px;
        padding: 8px 40px 8px;
      }
      .lgs-lead-form .field { min-width: 0; }
      .lgs-lead-form .field--full { grid-column: 1 / -1; }
      .lgs-lead-form label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 8px;
      }
      .lgs-lead-form input[type="text"],
      .lgs-lead-form input[type="email"],
      .lgs-lead-form input[type="tel"],
      .lgs-lead-form textarea {
        width: 100%;
        background: var(--bg);
        color: var(--text);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px 16px;
        outline: none;
        font: inherit;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
      }
      .lgs-lead-form input::placeholder,
      .lgs-lead-form textarea::placeholder { color: #8a8a8a; }
      .lgs-lead-form textarea { min-height: 132px; resize: none; }
      .lgs-lead-form .field-message-box { position: relative; }
      .lgs-lead-form .field-message textarea {
        height: 132px;
        max-height: 132px;
        overflow-y: auto;
        padding-bottom: 28px;
      }
      .lgs-lead-form .char-count {
        position: absolute;
        right: 12px;
        bottom: 8px;
        pointer-events: none;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--muted);
      }
      .lgs-lead-form .char-count.is-limit { color: var(--accent); }
      .lgs-lead-form input:hover,
      .lgs-lead-form textarea:hover { border-color: #4d4e54; }
      .lgs-lead-form input:focus,
      .lgs-lead-form textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(217, 181, 69, 0.18);
      }
      .lgs-lead-form .form-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 20px;
        padding: 22px 40px 32px;
        border-top: 1px solid var(--border);
        background: rgba(0, 0, 0, 0.12);
      }
      .lgs-lead-form .check {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        max-width: 42ch;
        min-height: 44px;
      }
      .lgs-lead-form .check input {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        margin: 11px 0 0;
        accent-color: var(--accent);
        flex-shrink: 0;
      }
      .lgs-lead-form .check label {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
        line-height: 1.45;
        color: var(--muted);
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 0;
      }
      .lgs-lead-form .form-foot .btn-primary {
        flex-shrink: 0;
        appearance: none;
        font-family: inherit;
      }
      @media (max-width: 720px) {
        .lgs-lead-form .form-head,
        .lgs-lead-form .grid,
        .lgs-lead-form .form-foot { padding-left: 22px; padding-right: 22px; }
        .lgs-lead-form .grid { grid-template-columns: 1fr; }
        .lgs-lead-form .field--full { grid-column: auto; }
        .lgs-lead-form .form-foot { flex-direction: column; align-items: stretch; }
        .lgs-lead-form .form-foot .btn-primary { width: 100%; }
      }

      
      /* Editable text highlighting */
      [contenteditable="true"] {
        outline: 1px dashed rgba(217, 181, 69, 0.3);
        outline-offset: 2px;
        cursor: text;
      }
      [contenteditable="true"]:hover {
        outline: 1px dashed rgba(217, 181, 69, 0.6);
        background: rgba(217, 181, 69, 0.05);
      }
      [contenteditable="true"]:focus {
        outline: 2px solid var(--accent);
        background: rgba(217, 181, 69, 0.08);
      }


      /* Responsive */
      @media (max-width: 1400px) {
        .logo-container { gap: 250px; }
      }
      @media (max-width: 1200px) {
        .logo-container { gap: 200px; }
      }
      @media (max-width: 960px) {
        .logo-container { gap: 150px; }
        .contact-top { grid-template-columns: 1fr; gap: 40px; }
        .hero h1 { font-size: 36px; }
      }
        @media (max-width: 720px) {
          .logo-container { gap: 100px; }
          .header-top { padding: 12px 20px; }
          .header-bottom { padding: 10px 20px; position: relative; }
          .menu { display: none; }
        .hero h1 { font-size: 28px; }
        .section-title { font-size: 28px; }
        #map { height: 300px; }
        .map-section { padding: 20px; }
        .contact-info { padding: 22px; }
        .office-hours { padding: 22px; }
      }
