@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&family=Source+Serif+4:ital,opsz,wght@0,8..60,500;0,8..60,600;0,8..60,700&display=swap');

:root {
  --pu-teal: #0d7c7c;
  --pu-teal-dark: #0a6565;
  --pu-teal-deep: #084f4f;
  --pu-teal-light: #e8f5f5;
  --pu-orange: #e07a3d;
  --pu-orange-hover: #c96a32;
  --pu-cream: #f7f4f0;
  --pu-white: #ffffff;
  --pu-text: #1a2b3c;
  --pu-muted: #5c6b7a;
  --pu-border: #dde5e5;
  --pu-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pu-shadow: 0 8px 32px rgba(13, 124, 124, 0.1);
  --pu-shadow-lg: 0 24px 56px rgba(13, 124, 124, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--pu-white);
  color: var(--pu-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-display { font-family: 'Source Serif 4', Georgia, serif; }

.container {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility bar */
.utility-bar {
  background: var(--pu-teal-deep);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
}
.utility-bar a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.utility-bar a:hover { color: #fff; }

/* Header */
.site-header {
  background: var(--pu-teal);
  color: #fff;
  transition: box-shadow 0.3s var(--pu-ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.18); }

.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.nav-dropdown-chevron {
  transition: transform 0.25s var(--pu-ease);
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 16rem;
  background: var(--pu-white);
  box-shadow: var(--pu-shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--pu-ease), visibility 0.2s var(--pu-ease);
  z-index: 60;
  padding: 0.5rem;
}

.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--pu-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-link:hover { background: var(--pu-teal-light); color: var(--pu-teal-dark); }

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pu-orange);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: all 0.25s var(--pu-ease);
}
.btn-orange:hover { background: var(--pu-orange-hover); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.25s var(--pu-ease);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pu-teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: none;
  transition: all 0.25s var(--pu-ease);
}
.btn-teal:hover { background: var(--pu-teal-dark); }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--pu-ease);
}
.mobile-menu.open { max-height: 24rem; }

/* Hero (reference-inspired) */
.hero-section {
  position: relative;
  min-height: 85vh;
  background: var(--pu-cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--pu-teal-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg--home {
  background-image: url('../images/generated/hero-home.jpg');
}
.hero-bg img {
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,79,79,0.55) 0%, rgba(8,79,79,0.2) 50%, rgba(8,79,79,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 14rem;
}
.hero-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  max-width: 14ch;
}
.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  max-width: 36rem;
  line-height: 1.6;
}

/* Floating cards */
.hero-floats {
  position: relative;
  z-index: 10;
  margin-top: -10rem;
  padding-bottom: 4rem;
}
.hero-float-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hero-float-grid { grid-template-columns: 1fr 1.2fr; }
}

.float-card {
  background: var(--pu-white);
  box-shadow: var(--pu-shadow-lg);
  overflow: hidden;
}
.float-card-image {
  height: 10rem;
  overflow: hidden;
}
.float-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-card-body { padding: 1.75rem; }
.float-card h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pu-text);
  margin-bottom: 0.5rem;
}
.float-card p {
  color: var(--pu-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.teal-panel {
  background: var(--pu-teal);
  color: #fff;
  padding: 2rem;
  box-shadow: var(--pu-shadow-lg);
  height: 100%;
}
.teal-panel h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.35;
}
.teal-panel p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.local-highlight {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.local-highlight img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--pu-orange);
  border-radius: 50%;
}

/* Consultation + about band */
.consult-band {
  background: var(--pu-cream);
  padding: 5rem 0;
}
.consult-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .consult-grid { grid-template-columns: 1fr 1.1fr; }
}

.consult-form-box {
  background: var(--pu-teal);
  color: #fff;
  padding: 2.5rem;
}
.consult-form-box h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: rgba(255,255,255,0.9);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--pu-text);
  font-family: inherit;
  font-size: 0.9375rem;
}
.form-field textarea { min-height: 6rem; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--pu-orange);
  outline-offset: 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pu-teal);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--pu-text);
  line-height: 1.25;
}

/* Services grid */
.services-section { padding: 5rem 0; }
.service-tile {
  background: var(--pu-white);
  border: 1px solid var(--pu-border);
  overflow: hidden;
  transition: transform 0.3s var(--pu-ease), box-shadow 0.3s var(--pu-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--pu-shadow-lg);
}
.service-tile img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
.service-tile-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-tile h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-tile p {
  color: var(--pu-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  flex: 1;
}
.service-tile a {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pu-orange);
}

/* Stats */
.stats-bar {
  background: var(--pu-teal);
  color: #fff;
  padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: 'Source Serif 4', serif;
  font-size: 2.25rem;
  font-weight: 700;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--pu-teal-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--startups { background-image: url('../images/generated/service-startups.jpg'); }
.page-hero--accounting { background-image: url('../images/generated/service-accounting.jpg'); }
.page-hero--taxation { background-image: url('../images/generated/service-taxation.jpg'); }
.page-hero--admin { background-image: url('../images/generated/service-admin.jpg'); }
.page-hero--about { background-image: url('../images/generated/hero-about.jpg'); }
.page-hero--contact { background-image: url('../images/generated/hero-contact.jpg'); }

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,79,79,0.85) 0%, rgba(8,79,79,0.35) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  color: #fff;
}
.page-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

/* Content */
.content-section { padding: 4rem 0; }
.content-prose {
  max-width: 48rem;
  color: var(--pu-muted);
  line-height: 1.75;
  font-size: 1rem;
}
.content-prose p { margin-bottom: 1.25rem; }
.content-prose h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pu-text);
  margin: 2rem 0 1rem;
}
.content-prose ul {
  margin: 1rem 0 1.5rem 1.25rem;
}
.content-prose li { margin-bottom: 0.5rem; }

.content-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .content-split { grid-template-columns: 1fr 1fr; }
}
.content-split img {
  width: 100%;
  box-shadow: var(--pu-shadow-lg);
}

/* CTA band */
.cta-band {
  background: var(--pu-teal-deep);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}
.cta-band p {
  margin-top: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #0a1f1f;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--pu-orange); }
.footer-link { display: block; margin-bottom: 0.5rem; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--pu-ease), transform 0.6s var(--pu-ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

