/* ========================================
   Adsharp, INC. Design System
   Font: Plus Jakarta Sans only
   ======================================== */

:root {
  --ink: #0a1628;
  --ink-soft: #132337;
  --navy: #16325c;
  --teal: #1a8f8a;
  --teal-deep: #147370;
  --teal-soft: #e6f4f3;
  --sand: #eef1f4;
  --surface: #f7f8fa;
  --white: #ffffff;
  --text: #15202b;
  --text-muted: #5a6572;
  --border: #e2e6eb;
  --border-strong: #cdd3db;
  --focus: #1a8f8a;
  --danger: #b42318;

  --font: "Plus Jakarta Sans", sans-serif;
  --ls-body: 0.012em;
  --ls-btn: 0.02em;
  --ls-label: 0.06em;
  --ls-heading: -0.015em;

  --lh-body: 1.7;
  --lh-heading: 1.15;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-soft: 0 12px 40px rgba(10, 22, 40, 0.08);
  --shadow-card: 0 4px 24px rgba(10, 22, 40, 0.06);

  --header-h: 76px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.625rem); }
h3 { font-size: 1.125rem; font-weight: 700; }

p {
  max-width: 62ch;
  color: var(--text-muted);
}

/* Focus */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: var(--ls-btn);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-center .section-intro {
  text-align: center;
}

.section-intro {
  margin-top: 1.15rem;
  font-size: 1.0625rem;
}

.section-intro-left {
  max-width: 58ch;
}

.label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--teal);
}

.label-light {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.icon {
  flex-shrink: 0;
  display: block;
}

.icon-accent {
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: var(--ls-btn);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn-lg {
  min-height: 50px;
  padding: 15px 24px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

.logo:hover {
  opacity: 0.88;
  color: var(--white);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--teal) 0%, #2bb5ae 100%);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px 6px 7px 12px;
  border: 2px solid var(--white);
  border-left: none;
  border-radius: 0 3px 3px 0;
  transform: skewX(-12deg);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), font-weight 0.2s;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
  color: var(--white);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, black 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 55%;
  height: 70%;
  top: -10%;
  right: -5%;
  background:
    radial-gradient(ellipse at center, rgba(26, 143, 138, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 80%, rgba(22, 50, 92, 0.5) 0%, transparent 55%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48fr 52fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-content .label {
  margin-bottom: 1.1rem;
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.35rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.125rem;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
}

.trust-badges .icon {
  color: var(--teal);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 4px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About */
.about {
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.split-about {
  grid-template-columns: 44fr 56fr;
  align-items: center;
}

.about-media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

.about-collage {
  position: relative;
  padding-bottom: 2.5rem;
  width: 100%;
}

.about-more {
  text-decoration: none;
  color: var(--white);
}

.about-more:hover {
  color: var(--white);
}

.about-img-main {
  width: 85%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
}

.about-badge {
  position: absolute;
  left: 1rem;
  bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  min-width: 110px;
}

.about-badge-years {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: var(--ls-heading);
  line-height: 1;
  color: var(--teal);
}

.about-badge-text {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  max-width: 9ch;
  line-height: 1.35;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.about-copy > p {
  margin-bottom: 1rem;
}

.about-points {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.about-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.about-point h3 {
  margin-bottom: 0.35rem;
}

.about-point p {
  font-size: 0.9375rem;
}

/* Services */
.services {
  background: var(--surface);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.85rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.35rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.9375rem;
  max-width: none;
}

/* Why */
.why {
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem;
  background: var(--sand);
  border-radius: var(--radius-lg);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-deep);
  border: 1px solid var(--border);
}

.why-card h3 {
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.975rem;
  max-width: none;
}

/* Stats */
.stats {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--ink) 55%, #0e2a3a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.stats-inner {
  position: relative;
  display: grid;
  grid-template-columns: 36fr 64fr;
  align-items: center;
  gap: 3rem;
}

.stats h2 {
  color: var(--white);
  max-width: 14ch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

.stat-value {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: var(--ls-heading);
  line-height: 1.1;
  color: var(--white);
}

.stat-label {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.015em;
}

/* Testimonials */
.testimonials {
  background: var(--surface);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.testimonial > p {
  flex: 1;
  font-size: 1rem;
  color: var(--text);
  max-width: none;
  margin-bottom: 1.75rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.testimonial-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.testimonial-role {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* FAQ */
.faq {
  background: var(--sand);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.faq-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 100%;
}

.faq-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
}

.faq-index-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.faq-entry-body h2,
.faq-entry-body h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.faq-entry-body p {
  font-size: 0.95rem;
  max-width: none;
}

/* Contact */
.contact {
  background: var(--sand);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.split-contact {
  grid-template-columns: 42fr 58fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.contact-info h1,
.contact-info h2 {
  margin-bottom: 1rem;
  max-width: 16ch;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-company {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.contact-details > p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.contact-details .icon {
  margin-top: 0.2rem;
  color: var(--teal);
}

.contact-address {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-details a {
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--teal-deep);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  letter-spacing: var(--ls-body);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: var(--lh-body);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6572' 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 1rem center;
  padding-right: 2.5rem;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--border-strong);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 143, 138, 0.18);
  outline: none;
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--danger);
}

.form-status {
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.form-status.is-error {
  background: #fef3f2;
  color: var(--danger);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-left: auto;
}

.footer-links a,
.footer-links button {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

/* Subpages */
.page-sub .site-header {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-sub .nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
}

.page-sub .nav-link:hover,
.page-sub .nav-link.is-active {
  color: var(--white);
}

.page-sub .header-cta {
  color: var(--white);
  text-decoration: none;
}

.page-shell {
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background: var(--surface);
  min-height: 70vh;
}

.page-contact,
.page-faq {
  background: var(--sand);
}

.page-faq .page-lead {
  margin-bottom: 2.75rem;
}

.page-contact .contact-info h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-shell .container {
  max-width: 800px;
}

.page-contact .container,
.page-faq .container {
  max-width: var(--container);
}

.page-kicker {
  margin-bottom: 0.85rem;
}

.page-shell h1 {
  margin-bottom: 1rem;
  max-width: 18ch;
}

.page-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.page-updated {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.content-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.content-block h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
  max-width: 68ch;
}

.content-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.content-block a {
  color: var(--teal-deep);
}

.content-block a:hover {
  color: var(--ink);
}

.about-page-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-page-card {
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-page-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-page-card p {
  font-size: 0.975rem;
  max-width: none;
  color: var(--text-muted);
}

.about-contact {
  margin-top: 0.5rem;
}

.about-contact-intro {
  margin-bottom: 1.25rem;
}

.about-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 420px;
}

.about-contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1px solid transparent;
}

.about-contact-row:hover {
  background: var(--teal-soft);
  border-color: rgba(26, 143, 138, 0.2);
  color: inherit;
}

.about-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal-deep);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.about-contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.about-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--teal);
}

.about-contact-value {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  word-break: break-word;
}

@media (min-width: 721px) {
  .about-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: rise 0.9s var(--ease) both;
  }

  .hero-visual {
    animation: rise 0.9s var(--ease) 0.15s both;
  }

  .service-card,
  .why-card,
  .testimonial,
  .faq-entry {
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.35s var(--ease);
  }

  .service-card:hover,
  .why-card:hover,
  .testimonial:hover,
  .faq-entry:hover {
    transform: translateY(-3px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner,
  .split-about,
  .split-contact,
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .faq-index {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-visual {
    justify-content: center;
    order: -1;
  }

  .hero-frame {
    width: min(100%, 420px);
    aspect-ratio: 16 / 11;
    clip-path: none;
    border-radius: var(--radius-lg);
  }

  .about-collage {
    max-width: 480px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav.is-open .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  body {
    font-size: 1rem;
  }

  .services-grid,
  .why-grid,
  .form-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-img-main {
    width: 100%;
  }

  .about-img-accent {
    width: 42%;
    border-width: 4px;
  }

  .about-badge {
    left: 0.75rem;
    bottom: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stats-inner {
    gap: 2.25rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
