/* ==========================================================================
   bLMs marketing site — shared styles
   Layout/components follow the tendela.help design system; colours and
   type follow the bLMs Brand Identity Guidelines v1.0 (docs/).
   Mobile-first: base styles target small screens, min-width queries add up.
   ========================================================================== */

:root {
  /* Brand palette (Brand Guidelines §3) — do not add colours outside it */
  --teal-dark: #1B4F5C;   /* primary: headers, accent bars, buttons */
  --teal-mid: #2E7D8C;    /* titles, links, secondary actions */
  --teal-light: #A8D0D8;  /* taglines, decorative elements */
  --teal-deep: #163E4A;   /* decorative circles, deep shadow areas */
  --teal-pale: #D6EEF2;   /* text on dark, background washes */
  --teal-muted: #7A9EA6;  /* footer text, secondary captions (on dark) */
  --off-white: #F5F7F7;   /* light surfaces */
  --grey-teal: #D0DFE2;   /* dividers, borders */
  --ink: #1A1A1A;         /* body copy on white */
  --white: #FFFFFF;

  --ink-soft: rgba(26, 26, 26, 0.72);
  --shadow-sm: 0 5px 20px rgba(22, 62, 74, 0.06);
  --shadow-lg: 0 15px 40px rgba(22, 62, 74, 0.12);
  --radius: 15px;
  --radius-lg: 20px;
  --nav-h: 72px;

  /* Brand Guidelines §4: Arial / Helvetica */
  --font: Arial, Helvetica, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal-dark);
  margin: 0 0 .75rem;
}

p { margin: 0 0 1rem; }

a { color: var(--teal-mid); }
a:hover { color: var(--teal-dark); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--teal-dark); color: var(--white);
  padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .75rem 1.5rem; border-radius: 50px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn i { font-size: 1.15em; }
.btn-lg { padding: .9rem 1.85rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }

.btn-primary { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 5px 15px rgba(27, 79, 92, 0.3); }

.btn-outline { background: transparent; border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 5px 15px rgba(27, 79, 92, 0.3); }

.btn-light { background: var(--white); border-color: var(--white); color: var(--teal-dark); }
.btn-light:hover { background: var(--teal-pale); border-color: var(--teal-pale); color: var(--teal-deep); transform: translateY(-2px); }

.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-2px); }

.btn-group { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 576px) { .btn-group { flex-direction: row; flex-wrap: wrap; } }
.btn-group.center { justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }

.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; padding: .5rem 0; }
.brand img { height: 42px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.05); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--grey-teal); border-radius: 10px;
  background: var(--white); color: var(--teal-dark); font-size: 1.5rem; cursor: pointer;
}

.nav-menu {
  display: none; width: 100%;
  padding: .5rem 0 1rem; border-top: 1px solid var(--grey-teal);
}
.nav-menu.open { display: block; }

.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; position: relative;
  padding: .7rem .25rem; color: var(--ink); font-weight: 700; text-decoration: none;
  transition: color .3s ease;
}
.nav-link:hover { color: var(--teal-mid); }
.nav-link[aria-current="page"] { color: var(--teal-mid); }

.nav-actions { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .navbar .container { flex-wrap: nowrap; }
  .nav-menu {
    display: flex !important; align-items: center; justify-content: space-between;
    width: auto; flex: 1; padding: 0; border: 0; margin-left: 2rem;
  }
  .nav-links { display: flex; gap: .25rem; margin: 0 auto; }
  .nav-link { padding: .5rem .6rem; }
  .nav-link::after {
    content: ''; position: absolute; left: .6rem; right: .6rem; bottom: 0;
    height: 2px; background: var(--teal-mid); transform: scaleX(0);
    transform-origin: left; transition: transform .3s ease;
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-actions { flex-direction: row; margin: 0; }
  .brand img { height: 48px; }
}

main { padding-top: var(--nav-h); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(135deg, rgba(214, 238, 242, 0.55) 0%, rgba(245, 247, 247, 0.6) 100%);
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero::before { top: -40%; right: -15%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46, 125, 140, 0.14) 0%, transparent 70%); }
.hero::after { bottom: -35%; left: -15%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168, 208, 216, 0.35) 0%, transparent 70%); }

.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) {
  .hero { padding: 96px 0 88px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  padding: .35rem .9rem; border-radius: 50px;
  background: var(--teal-pale); color: var(--teal-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.hero-title {
  font-size: 2.1rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--teal-dark);
}
@media (min-width: 768px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1200px) { .hero-title { font-size: 3.4rem; } }

.hero-subtitle { font-size: 1.1rem; color: var(--ink-soft); max-width: 600px; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-tagline { font-style: italic; color: var(--teal-mid); margin: -0.5rem 0 1.25rem; }

/* Compact page header (inner pages without imagery) */
.page-header {
  padding: 64px 0 56px; text-align: center; color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
}
.page-header h1 { color: var(--white); font-size: 2rem; margin-bottom: .75rem; }
.page-header p { color: var(--teal-pale); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
@media (min-width: 768px) { .page-header { padding: 88px 0 72px; } .page-header h1 { font-size: 2.6rem; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--off-white); }
.section-wash { background: linear-gradient(135deg, rgba(214, 238, 242, 0.45) 0%, rgba(245, 247, 247, 0.7) 100%); }
@media (min-width: 992px) { .section { padding: 88px 0; } }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: .75rem; }
.section-title i { color: var(--teal-mid); margin-right: .35rem; }
.section-subtitle { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } .section-head { margin-bottom: 3rem; } }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-auto { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- Feature card ---------- */
.card {
  height: 100%; background: var(--white);
  border: 1px solid var(--grey-teal); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-title { font-size: 1.2rem; margin-bottom: .75rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card p + p { margin-top: .75rem; }
.card-link { display: inline-flex; align-items: center; gap: .25rem; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.card-link:hover { gap: .5rem; }

.icon-tile {
  width: 60px; height: 60px; border-radius: 15px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
}
.icon-tile.mid { background: linear-gradient(135deg, var(--teal-mid) 0%, var(--teal-dark) 100%); }
.icon-tile.light { background: linear-gradient(135deg, var(--teal-pale) 0%, var(--teal-light) 100%); color: var(--teal-deep); }

/* Compact list-card used for many short items */
.mini-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--grey-teal); border-radius: 12px;
  padding: 1.25rem; height: 100%;
}
.mini-card i {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-pale); color: var(--teal-dark); font-size: 1.3rem;
}
.mini-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.mini-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split (image / text) sections ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.reverse > :first-child { order: 2; }
}
.split + .split { margin-top: 4rem; }
.split-title { font-size: 1.6rem; }
@media (min-width: 768px) { .split-title { font-size: 2rem; } }
.split-lead { font-size: 1.1rem; color: var(--teal-mid); font-weight: 700; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li { position: relative; padding: .4rem 0 .4rem 2rem; }
.check-list li::before {
  content: '\2713'; position: absolute; left: 0; top: .55rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-pale); color: var(--teal-dark); font-size: .8rem; font-weight: 700;
}
.check-list strong { color: var(--teal-dark); }

/* ---------- Screenshot frame ---------- */
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--grey-teal);
  box-shadow: 0 20px 40px rgba(22, 62, 74, 0.12);
}
.shot-bar {
  display: flex; gap: 6px; align-items: center; padding: 10px 14px;
  background: var(--off-white); border-bottom: 1px solid var(--grey-teal);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-teal); }
.shot img { width: 100%; }
.shot figcaption { padding: .75rem 1rem; font-size: .9rem; font-style: italic; color: var(--ink-soft); border-top: 1px solid var(--grey-teal); }
button.shot-zoom { all: unset; display: block; cursor: zoom-in; width: 100%; }
button.shot-zoom:focus-visible { outline: 3px solid var(--teal-mid); outline-offset: -3px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; max-width: 960px; margin: 0 auto; }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.carousel-slide { flex: 0 0 100%; }
.carousel-btn {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.95); color: var(--teal-dark); font-size: 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--teal-dark); color: var(--white); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
@media (min-width: 1100px) { .carousel-btn.prev { left: -64px; } .carousel-btn.next { right: -64px; } }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grey-teal); transition: background-color .3s, width .3s;
}
.carousel-dots button[aria-current="true"] { background: var(--teal-dark); width: 26px; border-radius: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .shot { box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.gallery .shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery figcaption { font-style: normal; font-weight: 700; color: var(--teal-dark); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(22, 62, 74, 0.92);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; background: var(--white); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: var(--teal-pale); margin-top: .75rem; }
.lightbox-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.15); color: var(--white); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Badges / platform cards ---------- */
.badge {
  display: inline-block; padding: .25rem .75rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--teal-pale); color: var(--teal-dark);
}
.badge.solid { background: var(--teal-dark); color: var(--white); }
.badge.outline { background: transparent; border: 1px solid var(--teal-light); color: var(--teal-mid); }

.platform-card { text-align: center; }
.platform-card .icon-tile { margin: 0 auto 1.25rem; }
.platform-card .badge { margin-bottom: .9rem; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--grey-teal); box-shadow: var(--shadow-sm);
}
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; }
.table thead th { background: var(--teal-dark); color: var(--white); font-weight: 700; }
.table tbody tr:nth-child(even) { background: var(--off-white); }
.table tbody td { border-top: 1px solid var(--grey-teal); }
.table tbody th { color: var(--teal-dark); border-top: 1px solid var(--grey-teal); }

/* ---------- Steps ---------- */
.step { text-align: center; padding: 1rem; }
.step-number {
  width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-dark); color: var(--white); font-size: 1.4rem; font-weight: 700;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Callout ---------- */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem; border-radius: 12px;
  background: var(--teal-pale); border-left: 4px solid var(--teal-dark); color: var(--teal-deep);
}
.callout i { font-size: 1.5rem; color: var(--teal-dark); line-height: 1.2; }
.callout p { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  padding: 72px 0; background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
}
.cta::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: var(--teal-deep); opacity: .55;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: var(--white); font-size: 1.85rem; }
.cta p { color: var(--teal-pale); font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; }
@media (min-width: 768px) { .cta { padding: 88px 0; } .cta h2 { font-size: 2.4rem; } }

/* ---------- Docs layout ---------- */
.docs-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .docs-layout { grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; } }

.toc {
  background: var(--off-white); border: 1px solid var(--grey-teal); border-radius: var(--radius);
  padding: 1.25rem;
}
@media (min-width: 992px) { .toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; } }
.toc-title { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc ol ol { padding-left: .9rem; margin: .25rem 0 .5rem; border-left: 2px solid var(--grey-teal); }
.toc a { display: block; padding: .3rem .5rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.toc a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.toc a.active { background: var(--teal-dark); color: var(--white); }
.toc > ol > li > a { font-weight: 700; }

.doc-content { min-width: 0; max-width: 780px; font-size: 1.03rem; line-height: 1.75; }
.doc-content section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--grey-teal); }
.doc-content section:last-child { border-bottom: 0; }
.doc-content h2 { font-size: 1.75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--teal-dark); margin-bottom: 1.25rem; }
.doc-content h3 { font-size: 1.2rem; color: var(--teal-mid); margin-top: 1.75rem; }
.doc-content ul { padding-left: 1.25rem; }
.doc-content li { margin-bottom: .35rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--grey-teal); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field label { display: block; font-weight: 700; margin-bottom: .4rem; color: var(--teal-dark); }
.field .req { color: var(--teal-mid); }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--grey-teal); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-mid); box-shadow: 0 0 0 3px rgba(46, 125, 140, 0.2); }
.field.invalid input, .field.invalid textarea { border-color: var(--ink); border-width: 2px; }
.field-error { display: none; margin-top: .35rem; font-size: .9rem; font-weight: 700; color: var(--ink); }
.field.invalid .field-error { display: block; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; }
.form-status.show { display: block; }

.contact-card {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
  color: var(--teal-pale); border-radius: var(--radius-lg); padding: 2rem; height: 100%;
}
.contact-card h2 { color: var(--white); font-size: 1.35rem; }
.contact-card a { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-list i {
  flex: 0 0 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 1.15rem;
}
.contact-list strong { display: block; color: var(--white); }

/* ---------- Legal page ---------- */
.legal { max-width: 800px; margin: 0 auto; line-height: 1.75; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.legal .meta { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-dark); color: var(--teal-pale); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; } }
.footer-logo img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-about { color: var(--teal-pale); font-size: .95rem; }
.footer-tagline { font-style: italic; color: var(--teal-light); font-size: .95rem; }
.footer-title { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: var(--teal-pale); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--teal-light); margin-top: .15rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(214, 238, 242, 0.15);
  display: flex; flex-direction: column; gap: .5rem; text-align: center;
  font-size: .9rem; color: var(--teal-muted);
}
.footer-bottom a { color: var(--teal-pale); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- Scroll-to-top ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 1080;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-dark); color: var(--white); font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(22, 62, 74, 0.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-deep); }

/* ---------- Reveal on scroll (replaces AOS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .gallery .shot:hover { transform: none; }
}
