/* ==========================================================================
   PT Licensing — shared stylesheet
   Simple, professional skeleton styling. Light background, single accent
   colour, generous whitespace, mobile-first responsive layout.
   ========================================================================== */

:root {
  --accent: #1b5e8c;
  --accent-dark: #134a6f;
  --text: #1f2933;
  --text-muted: #52606d;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --max-width: 960px;
  --radius: 6px;
}

/* ---------- Base ---------- */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  color: var(--accent);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 1.9rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.75em;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding: 2rem 0 3rem;
}

section {
  margin-bottom: 2.5rem;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo {
  display: block;
  height: 1.6rem;
  width: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus {
  text-decoration: underline;
}

/* ---------- Buttons / call to action ---------- */

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.button:hover,
.button:focus {
  background: var(--accent-dark);
  color: #fff;
}

.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

/* ---------- Service highlights ---------- */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.service-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.service-list h3 {
  margin: 0 0 0.35em;
}

.service-list p {
  margin: 0 0 0.5em;
  color: var(--text-muted);
}

/* ---------- Cards (case studies) ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-top: 0;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Placeholder marker ---------- */

.placeholder-note {
  background: #fff6e0;
  border: 1px solid #f0d38a;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #7a5c14;
  margin-bottom: 1.5rem;
}

/* ---------- Forms ---------- */

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 32rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

/* ---------- Fees ---------- */

.fee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.fee-list li {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.fee-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.fee-item__head h3 {
  margin: 0;
}

.fee-item__price {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.fee-list li > p {
  margin: 0 0 0.75em;
  color: var(--text-muted);
}

.fee-list .fee-item__note {
  margin: auto 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

/* ---------- Floating WhatsApp button ---------- */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float__icon {
  display: block;
  width: 2rem;
  height: 2rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (min-width: 600px) {
  .service-list,
  .fee-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 700px) {
  h1 {
    font-size: 2.2rem;
  }

  .site-header .container {
    flex-wrap: nowrap;
  }
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
}

.cookie-banner p {
  margin: 0 0 0.75rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .button {
  border: 1px solid var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cookie-banner .button--secondary {
  background: var(--surface);
  color: var(--accent);
}

.cookie-banner .button--secondary:hover,
.cookie-banner .button--secondary:focus {
  background: var(--bg);
  color: var(--accent-dark);
}

/* ---------- About page ---------- */

.lead {
  font-size: 1.15rem;
}

.why-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-grid .card {
  margin: 0;
}

.why-grid .card p {
  margin: 0;
  color: var(--text-muted);
}

.cta p {
  margin: 0.4em 0;
}
