/* ============================================================
   Web Design Mansfield — Simon Says Web Design
   Shared stylesheet
   Fonts: Space Grotesk (headings) + Work Sans (body) — Google Fonts
   ============================================================ */

:root {
  --brand: #ff4400;
  --brand-dark: #e63a00;
  --brand-soft: #fff1ec;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate: #475569;
  --slate-light: #64748b;
  --paper: #fafaf8;
  --white: #ffffff;
  --line: #e7e5e4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --container: 1200px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--white);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section__title {
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 16px;
}

.section__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 48px;
}

.section--dark .section__lead {
  color: #cbd5e1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 68, 0, 0.3);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 68, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.site-nav__link:hover {
  color: var(--brand);
}

.site-nav__link:hover::after {
  width: 100%;
}

.site-nav__cta {
  padding: 10px 20px;
  font-size: 14px;
}

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

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero__content {
  flex: 1 1 50%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__title-accent {
  color: var(--brand);
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero__stat-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--slate-light);
}

.hero__visual {
  flex: 1 1 50%;
  position: relative;
}

.hero__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero__card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.hero__card-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero__card-sub {
  font-size: 13px;
  color: var(--slate-light);
}

/* ---------- Services ---------- */
.services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 68, 0, 0.3);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card__text {
  color: var(--slate);
  font-size: 15px;
}

/* ---------- About ---------- */
.about__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about__visual {
  flex: 1 1 45%;
}

.about__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.about__content {
  flex: 1 1 55%;
}

.about__list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
}

.about__list-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Design styles ---------- */
.styles__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.style-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.style-card__num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
}

.style-card__title {
  font-size: 18px;
  margin-bottom: 8px;
}

.style-card__text {
  color: var(--slate);
  font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.75));
  z-index: 1;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band__title {
  color: var(--white);
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 16px;
}

.cta-band__text {
  color: #cbd5e1;
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card__stars {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  color: var(--ink-2);
  font-size: 15px;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--slate-light);
}

/* ---------- Contact ---------- */
.contact__inner {
  display: flex;
  gap: 64px;
}

.contact__info {
  flex: 1 1 40%;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact__method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.contact__method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__method-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact__method-value {
  color: var(--slate);
  font-size: 15px;
}

.contact__form-wrap {
  flex: 1 1 60%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.contact__input,
.contact__textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 68, 0, 0.12);
}

.contact__textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s ease;
}

.faq__question:hover {
  color: var(--brand);
}

.faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  color: var(--slate);
  font-size: 15px;
}

/* ---------- Areas ---------- */
.areas__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.area-card {
  flex: 1 1 calc(25% - 24px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.area-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.area-card__body {
  padding: 20px 24px;
}

.area-card__title {
  font-size: 18px;
  margin-bottom: 6px;
}

.area-card__text {
  color: var(--slate);
  font-size: 14px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 16px;
}

.page-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--slate);
  max-width: 680px;
}

/* ---------- Content blocks (SEO page) ---------- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  margin: 48px 0 16px;
}

.content-block h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.content-block p {
  color: var(--slate);
  margin-bottom: 16px;
}

.content-block ul {
  margin: 16px 0 24px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-block ul li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}

.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
}

.content-block strong {
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 64px 0 32px;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand {
  flex: 1 1 300px;
}

.site-footer__brand .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer__desc {
  font-size: 15px;
  max-width: 320px;
}

.site-footer__col {
  flex: 1 1 180px;
}

.site-footer__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__link {
  color: #cbd5e1;
  font-size: 15px;
}

.site-footer__link:hover {
  color: var(--brand);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  font-size: 14px;
  color: #94a3b8;
}

.site-footer__areas {
  font-size: 13px;
  color: #64748b;
}

/* ---------- Responsive ---------- */
@media (max-width: 1119px) {
  .hero__inner,
  .about__inner {
    gap: 40px;
  }

  .service-card,
  .style-card,
  .testimonial-card {
    flex-basis: calc(50% - 24px);
  }

  .area-card {
    flex-basis: calc(33.333% - 24px);
  }
}

@media (max-width: 1023px) {
  .section {
    padding: 72px 0;
  }

  .hero__inner,
  .about__inner {
    flex-direction: column;
  }

  .hero__content,
  .hero__visual,
  .about__visual,
  .about__content {
    flex: 1 1 100%;
  }

  .hero__visual {
    margin-top: 24px;
  }

  .contact__inner {
    flex-direction: column;
    gap: 40px;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .site-nav__link {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__stats {
    gap: 24px;
  }

  .service-card,
  .style-card,
  .testimonial-card {
    flex-basis: 100%;
  }

  .area-card {
    flex-basis: calc(50% - 24px);
  }

  .contact__form-wrap {
    padding: 24px;
  }

  .cta-band {
    padding: 64px 0;
  }
}

@media (max-width: 479px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__card {
    left: 8px;
    bottom: -16px;
    padding: 12px 16px;
  }

  .area-card {
    flex-basis: 100%;
  }

  .site-footer__grid {
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}