/* Shared page styles. Responsive overrides are grouped at the end. */
:root {
  --background: #111;
  --text: #f1f1ee;
  --muted: #bdc7c0;
  --accent: #7fcfc4;
  --teal: #7fcfc4;
  --teal-line: #3f8f8a;
  color-scheme: dark;
  font-family: Arial,Helvetica,sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-block: 24px 120px;
}

body {
  margin: 0;
  padding-bottom: calc(110px + env(safe-area-inset-bottom,0px));
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select {
  font: inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

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

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}

.wrap {
  width: min(1080px,calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 14px;
  transform: translateY(-150%);
}

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

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
}

.brand {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 164px;
  height: auto;
}

.hero-photo {
  position: relative;
  max-width: 800px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  max-width: 500px;
  margin-top: 20px;
  margin-bottom: 22px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  background: #1c201d;
  border: 1px solid var(--teal-line);
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}

.action-link:hover {
  background: #232b29;
  border-color: var(--teal);
}

.primary-action {
  background: #f1f1ee;
  border-color: #f1f1ee;
  color: #111;
}

.primary-action:hover {
  background: #d3ece8;
  border-color: #d3ece8;
}

.plain-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.plain-link:hover {
  color: white;
}

.enquiry-section {
  max-width: 640px;
}

.enquiry-inner {
  padding: 18px 24px 24px;
  margin-block: 10px;
  background: #1b1e1c;
  border-radius: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.enquiry-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 7px;
}

.field {
  min-width: 0;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 6px;
}

.field label span,.priorities legend span {
  font-size: 13px;
  color: #abb9ae;
  font-weight: 400;
  padding-left: 5px;
}

.field input,.field select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #55807c;
  background: transparent;
  border-radius: 0;
  color: #f2f4ef;
  font-size: 17px;
  line-height: 1.4;
}

.field input::placeholder {
  color: #aab7ad;
  font-size: 16px;
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fcfc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 18px;
}

.field select option {
  color: #f2f4ef;
  background: #1c221e;
}

.priorities {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  min-width: 0;
}

.priorities legend {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

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

.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  font-size: 16px;
  color: #c7d2ca;
}

.choice-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7fcfc4;
  cursor: pointer;
}

.choice-row input:checked+span {
  color: white;
}

.clear-priority {
  position: absolute;
  top: -36px;
  right: 0;
  font-size: 14px;
}

.whatsapp-sticker.is-hidden {
  display: none;
}

.review-toggle {
  color: var(--accent);
  font-size: 17px;
}

.enquiry-preview #message-preview {
  margin: 14px 0 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.65;
}

.contact-section {
  padding: 20px 0 12px;
  text-align: center;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.portrait-frame {
  display: block;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.2);
}

.profile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.5px;
  line-height: 1.1;
  margin: 0;
}

.profile p {
  font-size: 14px;
  line-height: 1.1;
  color: var(--muted);
  margin: 0;
}

.phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .5px;
}

.phone:hover {
  color: #bfeee8;
}

.site-footer {
  padding: 17px 0 24px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  font-size: 17px;
  font-weight: 500;
  color: #d7dfd9;
}

.social-links a:hover {
  color: white;
}

.social-links svg {
  width: 23px;
  height: 23px;
}

.filled-icon {
  fill: currentColor;
  stroke: none;
}

.whatsapp-sticker {
  width: max-content;
  white-space: nowrap;
  position: fixed;
  z-index: 15;
  right: 26px;
  bottom: calc(22px + env(safe-area-inset-bottom,0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 15px 24px;
  background: #0b6f6a;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 5px 22px #0006, 0 0 0 1px #7fcfc455;
  transition: background .2s;
}

.whatsapp-sticker:hover {
  background: #0e8680;
}

.wa-icon {
  width: 32px;
  height: 32px;
}

.enquiry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #343d36;
}

.enquiry-actions .plain-link {
  white-space: nowrap;
}

.enquiry-send {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  gap: 8px;
  padding: 8px 14px;
  background: #28593f;
  border-radius: 8px;
  text-decoration: none;
}

.enquiry-send:hover {
  background: #316d4d;
}

.send-wa-icon {
  width: 22px;
  height: 22px;
}

.expandable {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .28s ease,opacity .22s ease;
}

.expandable.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.enquiry-content {
  min-height: 0;
  overflow: hidden;
}

.services-band {
  margin-top: 18px;
  padding: 16px 0;
  background: #1b1e1c;
}

.services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.services span {
  white-space: nowrap;
}

.brand-location {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.phone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

.enquiry-controls .plain-link {
  font-size: 16px;
}

@media (max-width: 800px) {

  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 70px;
  }

  .brand img {
    width: 147px;
  }

  .hero-photo {
    width: 100%;
  }

  .hero-actions {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .action-link {
    font-size: 16px;
    padding-inline: 12px;
  }

  .enquiry-inner {
    padding: 14px 16px 22px;
  }

  .contact-section {
    padding-top: 18px;
  }

  .profile {
    gap: 18px;
  }

  .portrait-frame {
    width: 88px;
    height: 88px;
  }

  h1 {
    font-size: 26px;
  }

  .profile p {
    font-size: 13px;
  }

  .phone {
    font-size: 27px;
  }

  .site-footer {
    padding: 12px 0 24px;
  }

  .social-links {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 8px 38px;
    margin: auto;
  }

  .social-links a {
    justify-content: flex-start;
  }

  .whatsapp-sticker {
    right: auto;
    left: 50%;
    bottom: calc(17px + env(safe-area-inset-bottom,0px));
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 600px) {
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .choice-row {
    grid-template-columns: 1fr 1fr;
    gap: 3px 14px;
  }
}

@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero-actions {
    gap: 10px;
  }

  .action-link {
    padding-inline: 9px;
  }

  .profile {
    gap: 13px;
  }

  .portrait-frame {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: 24px;
  }

  .profile p {
    font-size: 12px;
  }

  .phone {
    font-size: 26px;
  }

  .choice-row {
    gap: 3px 8px;
  }

  .choice-row label {
    font-size: 15px;
  }

  .social-links {
    gap: 8px 28px;
  }

  .whatsapp-sticker {
    padding-inline: 20px;
  }

  .services {
    column-gap: 6px;
    font-size: 15px;
  }
}

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

  * {
    transition: none!important;
  }
}
