/* Golden Grace Funeral Directors
   Hostinger static rebuild
   -------------------------------------------------- */

:root {
  --charcoal: #1b1b1b;
  --charcoal-soft: #242424;
  --ink: #2a2927;
  --muted: #6f6a63;
  --cream: #f6f2eb;
  --cream-deep: #eee7dc;
  --white: #fffdf9;
  --gold: #b99553;
  --gold-light: #d3b878;
  --line: rgba(185, 149, 83, .32);
  --shadow: 0 20px 55px rgba(0, 0, 0, .10);
  --serif: "Times New Roman", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  background: #fff;
  color: #000;
  padding: .65rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: .91;
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
  line-height: 1.12;
}

p {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: #171717;
}

.button-gold:hover {
  background: var(--gold-light);
}

.button-full {
  width: 100%;
}

.text-link,
.service-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link.light {
  color: var(--white);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(to bottom, rgba(0, 0, 0, .30), rgba(0, 0, 0, 0));
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-color: rgba(185, 149, 83, .2);
  background: rgba(27, 27, 27, .97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.header-inner {
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 155px;
  height: 68px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold-light);
  transition: right .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero */

.hero {
  min-height: 760px;
  height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #222;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    url("https://static.wixstatic.com/media/a56c35_800fc60b5aa84dda9f661f1a331aa9d3f000.jpg/v1/fill/w_1920,h_1080,al_c,q_88/a56c35_800fc60b5aa84dda9f661f1a331aa9d3f000.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .48) 44%, rgba(12, 12, 12, .18) 75%),
    linear-gradient(0deg, rgba(12, 12, 12, .62) 0%, rgba(12, 12, 12, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(90px, 12vh, 145px);
}

.hero-content .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 26px;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 2;
  width: 44px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 24px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translate(-50%, 0); opacity: .2; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 25px); opacity: 0; }
}

/* About */

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

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.story-copy {
  max-width: 660px;
  font-size: 1.06rem;
}

.story-copy p {
  margin-bottom: 22px;
}

/* Team */

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

.center-heading {
  width: min(720px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.center-heading > p:last-child {
  color: var(--muted);
}

.center-heading.inverse {
  color: #fff;
}

.center-heading.inverse > p:last-child {
  color: rgba(255, 255, 255, .7);
}

.team-grid {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  min-height: 310px;
  padding: 46px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 30px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(185, 149, 83, .06), transparent 54%),
    #fff;
}

.team-monogram {
  width: 118px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--charcoal);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: .08em;
}

.team-card-copy h3 {
  margin-bottom: 4px;
}

.team-card-copy .role {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.team-card-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.team-photo-note {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

/* Services */

.services-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(185, 149, 83, .12), transparent 24%),
    var(--charcoal);
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-left: 1px solid rgba(255, 255, 255, .13);
}

.service-card {
  min-height: 420px;
  padding: 38px 30px 34px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  transition: background .25s ease, transform .25s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, .035);
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 58px;
  color: var(--gold-light);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: #fff;
}

.service-card > p {
  color: rgba(255, 255, 255, .67);
  font-size: .93rem;
}

.service-link {
  margin-top: 8px;
}

.service-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Feature grid */

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

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

.feature-card {
  min-height: 520px;
}

.feature-card-image {
  overflow: hidden;
  background: #ddd7ce;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .7s ease;
}

.feature-card-image:hover img {
  transform: scale(1.025);
}

.feature-card-copy {
  padding: clamp(48px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.feature-card-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 480px;
}

/* Testimonials */

.testimonials-section {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.testimonial {
  margin: 0;
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stars {
  margin-bottom: 30px;
  color: var(--gold);
  font-size: .77rem;
  letter-spacing: .2em;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
}

/* Assurance */

.assurance-section {
  padding: 78px 0;
  background: var(--gold);
  color: #171717;
}

.assurance-inner {
  max-width: 930px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 34px;
  align-items: center;
}

.assurance-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.5);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2rem;
}

.assurance-inner p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.42;
}

/* Contact */

.contact-section {
  background: var(--charcoal);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 9vw, 120px);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255,255,255,.68);
}

.contact-details {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.contact-details a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
}

.contact-details span {
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-panel {
  padding: clamp(34px, 5vw, 56px);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfc8bc;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 2px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.form-alternative {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.form-alternative a {
  color: var(--ink);
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-bottom: 22px;
  padding: 12px 14px;
  font-size: .9rem;
}

.form-status-success {
  background: #edf5ed;
  color: #254225;
}

.form-status-error {
  background: #faeeee;
  color: #6d2323;
}

/* Footer */

.site-footer {
  padding: 48px 0 42px;
  background: #111;
  color: rgba(255,255,255,.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand p,
.footer-details p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255,255,255,.72);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-details {
  text-align: right;
  font-size: .78rem;
}

.mobile-call {
  display: none;
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 1020px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card {
    grid-template-columns: 92px 1fr;
    padding: 34px;
  }

  .team-monogram {
    width: 92px;
    height: 128px;
  }

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

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-details {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    height: 74px;
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .brand {
    width: 124px;
    height: 58px;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    padding: 34px 24px 38px;
    display: grid;
    gap: 24px;
    background: rgba(27,27,27,.99);
    border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }

  .site-header.menu-open .primary-nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12,12,12,.78), rgba(12,12,12,.44)),
      linear-gradient(0deg, rgba(12,12,12,.72), rgba(12,12,12,.08));
  }

  .hero-content {
    padding-bottom: 85px;
  }

  .scroll-cue {
    display: none;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

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

  .feature-card {
    min-height: 0;
  }

  .feature-card-image {
    min-height: 380px;
  }

  .feature-card-image img {
    min-height: 380px;
  }

  .feature-grid .feature-card:nth-child(3) {
    order: 4;
  }

  .feature-grid .feature-card:nth-child(4) {
    order: 3;
  }

  .contact-panel {
    padding: 34px 25px;
  }

  .mobile-call {
    position: fixed;
    z-index: 900;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(calc(100% - 28px), 430px);
    min-height: 52px;
    background: var(--gold);
    color: #171717;
    box-shadow: 0 12px 38px rgba(0,0,0,.24);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-call span {
    padding-right: 9px;
    border-right: 1px solid rgba(0,0,0,.3);
  }

  .site-footer {
    padding-bottom: 90px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(3.15rem, 15vw, 4.8rem);
  }

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

  .service-card {
    min-height: 0;
    padding: 32px 26px 36px;
  }

  .service-icon {
    margin-bottom: 32px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-monogram {
    width: 86px;
    height: 108px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-details a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .assurance-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-details {
    grid-column: auto;
    display: grid;
    gap: 4px;
  }
}
