/* ===== Cardiff Admin Support – Approachable, friendly design ===== */
:root {
  /* Soft teal + warm neutrals */
  --teal: #2A9D8F;
  --teal-dark: #21867A;
  --teal-soft: #E8F6F3;
  --coral: #E76F51;
  --coral-soft: #FDF0EC;
  --navy: #264653;
  --cream: #FDF8F3;
  --off-white: #FFFCFA;
  --text: #2D3436;
  --text-muted: #5C6B73;
  --border: #E6E0D8;
  --shadow: 0 8px 30px rgba(38, 70, 83, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}

.logo-img {
  height: 56px;        
  width: auto;
  display: block;
}

.logo-icon {
  color: var(--teal);
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a:hover { color: var(--navy); }

.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--teal-dark); color: white !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--off-white) 55%, var(--teal-soft) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero card */
.hero-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-card-inner {
  padding: 1.75rem 1.6rem;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  color: var(--text);
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.hero-card-footer {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
  width: 100%;
}

.btn-outline:hover {
  background: var(--teal-soft);
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

/* ===== Trust strip ===== */
.trust {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
}

.trust-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.services-extra {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 0.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card-featured {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.price-hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-rate {
  font-size: 0.88rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  color: var(--text);
}

.price-card li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--teal);
  font-weight: 700;
}

.pricing-notes {
  margin-top: 2.5rem;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-notes p { margin-bottom: 0.55rem; }
.pricing-notes p:last-child { margin-bottom: 0; }
.pricing-notes strong { color: var(--navy); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin-top: 1.25rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}

.about-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

.about-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-card ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.about-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.about-card li:last-of-type { border-bottom: none; }

.about-card-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a333d 100%);
  color: white;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: var(--coral);
}

.cta-band .btn-primary:hover {
  background: #d45f42;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-details p {
  font-size: 0.98rem;
  color: var(--text);
}

.contact-details strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

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

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.form-privacy {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.75rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
}

.footer-brand p {
  margin-top: 0.6rem;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover { color: white; }

.footer-meta p {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .price-card-featured {
    transform: none;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .menu-toggle { display: flex; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== Admin Cost Calculator ===== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-inputs,
.calc-results {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
}

.calc-inputs h3,
.calc-results h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.calc-field {
  margin-bottom: 1.5rem;
}

.calc-field:last-of-type {
  margin-bottom: 0;
}

.calc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.calc-field-header label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.calc-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal);
}

.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #E8E4DE;
  border-radius: 999px;
  outline: none;
  margin: 0.4rem 0 0.35rem;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.35);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.35);
}

.calc-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.calc-result-card {
  background: var(--navy);
  color: white;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.calc-result-card .calc-result-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.calc-result-big {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: #F4A261;
}

.calc-result-note {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 0.45rem;
  line-height: 1.4;
}

.calc-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.calc-result-mini {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.calc-result-mini .calc-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.calc-result-med {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
}

.calc-result-save {
  background: linear-gradient(135deg, var(--teal) 0%, #1f7a6e 100%);
}

.calc-result-save .calc-result-big {
  color: white;
}

.calc-disclaimer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-result-hours {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}
