/* ========================================
   Coventry Speech — Styles
   Palette: Charcoal (#1e293b) + Coral (#f97583)
   Fonts: Playfair Display + Inter
   ======================================== */

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

:root {
  --charcoal: #1e293b;
  --charcoal-light: #334155;
  --charcoal-dark: #0f172a;
  --coral: #f97583;
  --coral-dark: #e55565;
  --coral-light: #fff0f1;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--coral);
  color: var(--charcoal-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--coral);
  color: var(--charcoal-dark);
  border-color: var(--coral);
}

.btn--primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,117,131,0.35);
}

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

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

.btn--outline-light {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

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

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Section Tags ---- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--centered {
  text-align: center;
}

.section-header--centered .section-subtitle {
  margin: 0 auto;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}

.logo:hover {
  color: var(--charcoal);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  padding-top: 72px;
  background: var(--charcoal);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,117,131,0.12);
  color: var(--coral);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(249,117,131,0.2);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.375rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title em {
  color: var(--coral);
  font-style: normal;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--slate-400);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: var(--slate-700);
  flex-shrink: 0;
}

.hero__image {
  position: relative;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--coral);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.6;
}

/* ---- Services ---- */
.services {
  padding: 100px 0;
  background: var(--slate-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--coral-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.card__body {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap var(--transition);
}

.card__link:hover {
  gap: 10px;
}

/* ---- About ---- */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__images {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--coral);
  border-radius: var(--radius-sm);
  z-index: -1;
  opacity: 0.3;
}

.about__content .section-title {
  margin-bottom: 20px;
}

.about__body {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.about__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Process ---- */
.process {
  padding: 100px 0;
  background: var(--charcoal);
}

.process .section-tag {
  color: var(--coral);
}

.process .section-title {
  color: var(--white);
}

.process .section-subtitle {
  color: var(--slate-400);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.step:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--coral);
  transform: translateY(-4px);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step__body {
  font-size: 0.9375rem;
  color: var(--slate-400);
  line-height: 1.7;
}

.step__body a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: rgba(249,117,131,0.3);
  text-underline-offset: 3px;
}

.step__body a:hover {
  text-decoration-color: var(--coral);
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
  background: var(--slate-50);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--slate-200);
  position: relative;
  transition: all var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial__quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
}

.testimonial__text {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__footer {
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

.testimonial__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---- CTA ---- */
.cta {
  padding: 80px 0;
  background: var(--coral);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta__content {
  flex: 1;
  min-width: 280px;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta__body {
  font-size: 1.0625rem;
  color: var(--charcoal);
  line-height: 1.7;
  max-width: 560px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta .btn--primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.cta .btn--primary:hover {
  background: var(--charcoal-dark);
  border-color: var(--charcoal-dark);
  box-shadow: 0 8px 24px rgba(15,23,42,0.4);
}

.cta .btn--outline-light {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.cta .btn--outline-light:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ---- Contact ---- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact__body {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__detail strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.contact__detail a:hover {
  color: var(--coral);
}

.contact__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact__form-wrapper {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-200);
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.contact__form-subtitle {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 28px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form__group label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form__group input,
.form__group select,
.form__group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(249,117,131,0.15);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--slate-400);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.form__success {
  text-align: center;
  padding: 40px 20px;
}

.form__success svg {
  margin: 0 auto 16px;
}

.form__success h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form__success p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--charcoal-dark);
  color: var(--slate-400);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 280px;
}

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

.footer__links strong {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--coral);
}

.footer__contact address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__contact strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__contact a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer__contact a:hover {
  color: var(--coral);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--slate-600);
}

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: var(--charcoal-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

/* ---- Scroll reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__grid {
    gap: 40px;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 1.0625rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 48px 0 64px;
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto 36px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__image {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__image-accent {
    display: none;
  }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about__img-secondary {
    right: 0;
    bottom: -24px;
  }

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

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

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

  .cta__actions {
    justify-content: center;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .hero {
    min-height: auto;
  }

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

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .contact__form-wrapper {
    padding: 24px;
  }
}
