@charset "UTF-8";
/* ==========================================================================
   TRAVELNEST — Contact
   Loaded after style.css and destination.css: tokens, top bar, breadcrumb,
   page hero and the footer come from those two. The site's practical
   endpoint — four ways in, one real form beside the office card, and a
   genuine tile map of the Porto office in its own document.
   Two things here are functional rather than decorative: the form (the
   region select decides which planner receives the note) and the map
   (an iframe onto contact-map.html, kept a separate document on purpose —
   map libraries need a normal document and predictable script timing).
   --------------------------------------------------------------------------
   01. Page tokens and shared section furniture
   02. Four ways in
   03. Write, and a person writes back
   04. The map
   05. Responsive — 1500 / 1200 / 1000 / 760 / 430
   ========================================================================== */

/* ==========================================================================
   01. Page tokens and shared section furniture
   ========================================================================== */

.page-contact {
  --ct-hot-tint: rgba(192, 82, 27, 0.05);
  --ct-on-accent: #FFFFFF;
  --ct-map-bg: #EDE7DC;
}

[data-theme="dark"] .page-contact {
  --ct-hot-tint: rgba(226, 102, 31, 0.08);
  --ct-on-accent: #1A1A1A;
}

/* nothing softens on this page: every 2px rule keeps full ink on dark paper,
   which is what the dark prototype does — the cards are the page's structure */

.secthead {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 34px 0 24px;
}

.secthead__stack {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  min-width: 0;
}

.secthead .display--about { font-size: 92px; }

.secthead .script--about {
  font-size: 66px;
  padding-top: 0;
  padding-bottom: 18px;
}

.secthead__note {
  margin: 0 0 0 auto;
  max-width: 380px;
  padding-bottom: 10px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  opacity: 0.8;
  text-wrap: pretty;
}

.pstrip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 var(--gutter) 22px;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.22);
  list-style: none;
}

.pcell2 {
  flex: 1 1 180px;
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 20px;
  border-left: 1px solid rgba(var(--ink-rgb), 0.22);
}

.pcell2:first-child { padding-left: 0; border-left: 0; }
.pcell2:last-child { padding-right: 0; }

.pcell2__value {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.pcell2__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}


/* ==========================================================================
   02. Four ways in
   ========================================================================== */

.ways-sec { padding: 0 0 62px; }

/* auto-fit: the four cards reflow to 2×2 and then one column with no
   breakpoint of their own */
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 var(--gutter);
  padding: 0;
  list-style: none;
}

.way {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
}

/* the recommended route */
.way--hot {
  border: 3px solid var(--accent);
  background: var(--ct-hot-tint);
}

.way__head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ab-panel);
  padding: 11px 18px;
  color: var(--ab-panel-ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.way--hot .way__head {
  background: var(--accent);
  color: var(--ct-on-accent);
}

.way__tag {
  margin-left: auto;
  color: var(--ab-panel-accent);
}

.way--hot .way__tag { color: inherit; }

.way__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 20px 22px;
}

/* on a phone the value is the action, so it is a real mailto:/tel: link */
.way__value {
  color: inherit;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.08;
}

.way--hot .way__value { color: var(--accent); }

.way__copy {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.8;
  text-wrap: pretty;
}

.way__facts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 2px dotted rgba(var(--ink-rgb), 0.4);
}

.way--hot .way__facts { border-top-color: rgba(var(--accent-rgb), 0.5); }

.way__fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.way__key {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.way__val {
  margin-left: auto;
  font-size: 19px;
  font-weight: 700;
}

.way__val--accent {
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 500;
}


/* ==========================================================================
   03. Write, and a person writes back
   ========================================================================== */

.write-sec { padding: 0 0 62px; }

.writerow {
  display: flex;
  align-items: stretch;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
}

.noteform {
  flex: 1 1 780px;
  min-width: min(600px, 100%);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
}

.noteform__head,
.officecard__head,
.getting__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.noteform__head {
  background: var(--ab-panel);
  padding: 14px 26px;
  color: var(--ab-panel-ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.noteform__title { color: var(--ab-panel-accent); }

.noteform__note {
  margin-left: auto;
  opacity: 0.6;
}

.noteform__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 26px 26px;
}

.frow3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.cfld {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cfld__label {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cfld__line {
  border: 0;
  border-bottom: 2px solid rgba(var(--ink-rgb), 0.5);
  background: none;
  padding: 0 0 11px;
  color: inherit;
  font-family: inherit;
  font-size: 21px;
  font-weight: 500;
}

/* the select keeps the house caret rather than the platform's */
.cfld__wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid rgba(var(--ink-rgb), 0.5);
  padding-bottom: 11px;
}

.cfld__select {
  flex: 1 1 auto;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 23px;
  font-weight: 500;
  cursor: pointer;
}

.cfld__caret {
  margin-left: auto;
  color: var(--accent);
  font-size: 21px;
}

.cfld__area {
  border: 2px solid rgba(var(--ink-rgb), 0.35);
  background: none;
  padding: 16px 18px;
  height: 150px;
  min-height: 150px;
  color: inherit;
  font-family: inherit;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  resize: vertical;
}

.cfld__line::placeholder,
.cfld__area::placeholder {
  color: inherit;
  opacity: 0.45;
}

.cfld__hint {
  font-size: 17px;
  font-weight: 500;
  opacity: 0.55;
}

.noteform__send {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.consent {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.consent__box {
  flex: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--accent);
  background: none;
  cursor: pointer;
}

.consent__box:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%23C0521B' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

[data-theme="dark"] .consent__box:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%23E2661F' stroke-width='2.4'/%3E%3C/svg%3E");
}

.consent__text {
  font-size: 19px;
  font-weight: 500;
  opacity: 0.75;
}

.noteform__terms {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.noteform__cta {
  margin-left: auto;
  border: 0;
  background: var(--accent);
  padding: 15px 34px;
  color: var(--ct-on-accent);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.noteform__cta:hover,
.noteform__cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.reassure {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px dashed rgba(var(--ink-rgb), 0.3);
  font-size: 18px;
  font-weight: 500;
  opacity: 0.7;
}

.reassure__star { color: var(--accent); }

.officecol {
  flex: 0 1 400px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.officecard {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
}

.officecard__head {
  gap: 10px;
  background: var(--ab-panel);
  padding: 13px 22px;
  color: var(--ab-panel-ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.officecard__title { color: var(--ab-panel-accent); }

.officecard__since {
  margin-left: auto;
  opacity: 0.6;
}

.officecard__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 22px;
}

.officecard__addr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.officecard__street {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.06;
}

.officecard__where {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.7;
}

.orows {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.orow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.18);
}

.orow:last-child { border-bottom: 0; }

.orow__key {
  font-size: 19px;
  font-weight: 600;
}

.orow__val {
  margin-left: auto;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.orow__val--accent { color: var(--accent); }

.ocontacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 2px dotted rgba(var(--ink-rgb), 0.4);
}

.ocontact {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ocontact__key {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}

.ocontact__val {
  margin-left: auto;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 21px;
  font-weight: 500;
}

.ocontact__val--accent { color: var(--accent); }

.olicence {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed rgba(var(--ink-rgb), 0.3);
}

.olicence__key {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}

.olicence__val {
  font-size: 19px;
  font-weight: 600;
}

.getting {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.getting__head { align-items: baseline; }

.getting__label {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.getting__note {
  margin-left: auto;
  font-size: 17px;
  font-weight: 500;
  opacity: 0.6;
}

.getting__text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.75;
  text-wrap: pretty;
}


/* ==========================================================================
   04. The map
   ========================================================================== */

.map-sec { padding: 0 0 62px; }

/* a genuine tile map, not a picture of one — its own document in an iframe,
   because map libraries want a normal page and predictable script timing */
.mapframe {
  position: relative;
  height: 600px;
  margin: 0 var(--gutter);
  border: 2px solid var(--ink);
  background: var(--ct-map-bg);
}

.mapframe__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* the caption strip closes the section, so it carries no bottom margin, and
   its figures run two points smaller than the promise strip at the top */
.pstrip--map {
  margin-top: 22px;
  margin-bottom: 0;
}

.pstrip--map .pcell2__value { font-size: 26px; }

/* the button overflows its cell's line box on purpose, exactly as drawn —
   the cell keeps the strip's own rhythm and the button sits proud of it */
.pcell2--cta {
  flex: 0 1 auto;
  display: block;
  padding: 13px 0 13px 20px;
}

.mapcta {
  border: 2px solid var(--accent);
  padding: 12px 26px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.mapcta:hover,
.mapcta:focus-visible {
  background: var(--accent);
  color: var(--cta-label);
}


/* ==========================================================================
   05. Responsive — 1500 / 1200 / 1000 / 760 / 430
   ========================================================================== */

@media (max-width: 1500px) {
  .secthead .display--about { font-size: 74px; }
}

@media (max-width: 1200px) {
  .secthead__stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .secthead .script--about {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .officecol { flex: 1 1 100%; min-width: 0; }
}

@media (max-width: 1000px) {
  .ways-sec,
  .write-sec,
  .map-sec { padding-bottom: 40px; }

  .secthead { padding: 26px 0 20px; gap: 14px; }

  .secthead__note {
    margin-left: 0;
    padding-bottom: 0;
    text-align: left;
    font-size: 18px;
    max-width: none;
  }

  .pcell2 { flex: 1 1 150px; padding: 10px 14px; }
  .pcell2__label { font-size: 14px; }

  .noteform__head,
  .officecard__head { gap: 12px; padding: 12px 20px; font-size: 14px; }

  .noteform__body { padding: 20px 20px 22px; }
  .officecard__body { padding: 18px 20px 20px; }

  /* 600px is right on a desk, not on a phone */
  .mapframe { height: 380px; }
}

@media (max-width: 760px) {
  /* stacked cells are divided top to bottom, never by a stray left rule */
  .pstrip { display: block; }

  .pcell2 {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), 0.22);
  }

  .pcell2:first-child { border-top: 0; }
  .pcell2--cta { padding-bottom: 14px; }

  .noteform__cta { margin-left: 0; }
  .reassure { gap: 6px 14px; }
}

@media (max-width: 430px) {
  .secthead .display--about { font-size: clamp(30px, 8.5vw, 48px); }
  .secthead .script--about { font-size: clamp(30px, 9vw, 46px); padding-top: 46px; }
  .way__value { font-size: 23px; }
  .way__fact { flex-wrap: wrap; gap: 2px 10px; }
  .way__val,
  .way__val--accent { margin-left: 0; }
  .officecard__street { font-size: 25px; }
  .ocontact { flex-wrap: wrap; gap: 2px 12px; }
  .ocontact__val { margin-left: 0; }
  .orow { flex-wrap: wrap; gap: 2px 12px; }
  .orow__val { margin-left: 0; }
  .mapframe { height: 320px; }
}
