/* Travel by Selva public website. Colours and type follow BRAND.md. */
:root {
  --teal: #1F4E5F; --teal-dark: #163A47; --marigold: #E9A23B; --marigold-deep: #9A5B12;
  --sand: #F4EFE6; --white: #FFFFFF; --ink: #1D2A30; --slate: #46545A; --muted: #5F6B70; --line: #E3DDD3;
  --field: #D8CFC1;
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 var(--sans); }
.site a { color: var(--teal); }
.site a:hover { color: var(--teal-dark); }
.site img { max-width: 100%; display: block; }
.w { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }
.eyebrow { margin: 0 0 10px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold-deep); }
.site h1, .site h2, .site h3 { margin: 0; line-height: 1.15; }
.site .h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 6vw, 58px); line-height: 1.05; color: var(--teal); margin: 0 0 20px; }
.site .h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 38px); color: var(--teal); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--slate); max-width: 540px; margin: 0 0 28px; }
.sub { color: var(--slate); margin: 0 0 32px; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.b { display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--teal); background: var(--teal); color: #fff !important; font-size: 16px; cursor: pointer; font-family: var(--sans); line-height: 1.2; }
.b:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.b.o { background: transparent; color: var(--teal) !important; }
.b.o:hover { background: var(--teal); color: #fff !important; }
.b.sm { padding: 11px 20px; font-size: 15px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.hdr { padding: 22px 0; }
.hdr .w { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--teal) !important; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-weight: 500; font-size: 15px; }
.nav a:not(.b) { color: var(--ink); text-decoration: none; }
.nav a:not(.b):hover { color: var(--teal); text-decoration: underline; }
@media (max-width: 720px) { .nav a:not(.b) { display: none; } }

/* Sections */
.sec { padding: 80px 0; }
.sec.sand { background: var(--sand); }
.sec.tealbg { background: var(--teal); color: #fff; }
.sec.tealbg .h2 { color: #fff; }
.sec.tealbg .sub { color: #D3E2E6; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.trips { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Hero */
.hero { padding: 32px 0 72px; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mosaic .tall { grid-row: span 2; height: 460px; }
.mosaic .short { height: 223px; }
@media (max-width: 520px) { .mosaic .tall { height: 320px; } .mosaic .short { height: 153px; } }

/* Photo slots */
.ph { position: relative; overflow: hidden; border-radius: 20px; background: #7FA7A6; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .credit { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgba(0,0,0,.45); color: #fff; padding: 2px 7px; border-radius: 6px; }
.ph .credit a { color: #fff; }
.tone-a { background: #7FA7A6; } .tone-b { background: #E9A23B; } .tone-c { background: #C9B79C; } .tone-d { background: #A9BFC4; }

/* Cards */
.card { background: #fff; border-radius: 16px; padding: 24px; }
.card h3 { font-size: 19px; margin: 10px 0 6px; }
.card p { margin: 0; color: var(--slate); font-size: 15px; }
.perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--marigold); color: var(--ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.trip { background: #fff; color: var(--ink) !important; border-radius: 18px; overflow: hidden; text-decoration: none; display: block; }
.trip .ph { border-radius: 0; height: 200px; }
.trip .body { padding: 20px 22px 24px; }
.trip .tag { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--marigold-deep); }
.trip h3 { font-size: 21px; margin: 0 0 6px; }
.trip p { margin: 0; font-size: 15px; color: var(--slate); }
.trip.mari { background: var(--marigold); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px; min-height: 300px; }
.trip.mari h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.trip.mari p { color: var(--ink); font-size: 16px; margin-bottom: 16px; }
.arch { border-radius: 200px 200px 20px 20px; height: 440px; flex: 0 1 360px !important; }
.step .n { margin: 0 0 6px; font-family: var(--serif); font-size: 44px; color: var(--marigold); line-height: 1; }
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--slate); font-size: 15px; }

/* Contact */
.socials { display: grid; gap: 12px; max-width: 440px; }
.soc { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink) !important; }
.soc:hover { border-color: var(--teal); }
.soc .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.soc .ic.m { background: var(--marigold); }
.soc strong { display: block; font-size: 16px; }
.soc span span { font-size: 14px; color: var(--muted); }
.cform { background: var(--sand); border-radius: 22px; padding: 32px; display: grid; gap: 16px; align-self: flex-start; }
.cform h3 { font-family: var(--serif); font-size: 26px; color: var(--teal); }
.cform .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.cform label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.cform input[type=text], .cform input[type=email], .cform input[type=tel], .cform select, .cform textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--field); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.cform .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); font-weight: 400; }
.cform .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.cform .err { color: #B3261E; font-size: 14px; margin: 4px 0 0; }
.cform .b { justify-self: start; border: 0; }

/* Footer */
.ftr { background: var(--teal); color: #D3E2E6; padding: 28px 0; font-size: 14px; }
.ftr .w { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.ftr a { color: #fff !important; }
.ftr strong { font-family: var(--serif); font-size: 18px; color: #fff; }

/* Simple inner pages (enquiry, guides, privacy, thanks) */
.page { max-width: 680px; margin: 0 auto; padding: 24px 24px 72px; }
.page .panel { background: var(--sand); border-radius: 22px; padding: 28px; }
.page form p { margin: 0 0 14px; }
.page label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.page input[type=text], .page input[type=email], .page input[type=number], .page select, .page textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; background: #fff; font: inherit; }
.page input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--teal); vertical-align: middle; margin-right: 6px; }
.page p:has(> input[type=checkbox]) label { display: inline; font-weight: 400; }
.page .helptext { display: block; color: var(--muted); font-size: 13px; }
.page .errorlist { color: #B3261E; margin: 4px 0; padding-left: 18px; font-size: 14px; }
.linkbtn { display: block; text-align: center; padding: 15px; margin: 10px 0; border-radius: 999px; background: #fff; border: 2px solid var(--teal); color: var(--teal) !important; text-decoration: none; font-weight: 600; }
.linkbtn.primary { background: var(--teal); color: #fff !important; }
.linkbtn small { display: block; font-weight: 400; font-size: 13px; opacity: .85; }
.perkph { height: 420px; }
@media (max-width: 520px) { .perkph { height: 260px; } .arch { height: 360px; } }
