/* Palette and type taken from the original GoDaddy theme */
:root {
  --text: rgb(27, 27, 27);
  --muted: rgb(89, 89, 89);
  --accent: rgb(127, 117, 105);      /* warm taupe headings/links */
  --accent-btn: rgb(159, 149, 138);  /* buttons */
  --accent-dark: rgb(75, 70, 64);
  --border: rgb(226, 226, 226);
  --alt-bg: rgb(247, 245, 243);
  --footer-bg: rgb(22, 22, 22);
  --footer-text: rgb(219, 219, 219);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0; }

.container { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(640px, 100% - 3rem); }

/* Header */
.site-header {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: #fff;
}
.logo-link img { width: 120px; height: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}
.hero-content { position: relative; z-index: 1; padding: 2rem 1.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font: 600 0.9rem/1 var(--serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent-btn);
  border: 1px solid var(--accent-btn);
  border-radius: 0;
  padding: 1rem 2.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-light { background: #fff; color: var(--text); border-color: #fff; }
.btn-light:hover, .btn-light:focus-visible { background: transparent; color: #fff; border-color: #fff; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--alt-bg); }
.section-title {
  font-family: var(--script);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--accent);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.cards {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card { text-align: center; }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.5rem;
}
.card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.card p { margin: 0; color: var(--muted); }
.card-text {
  background: #fff;
  border-top: 3px solid var(--accent-btn);
  padding: 2.25rem 1.75rem;
}

.overlay-card {
  position: relative;
  min-height: 340px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg) center / cover no-repeat;
}
.overlay-card h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.overlay-card p { margin: 0; }

/* Contact */
.form-title { text-align: center; font-size: 1.35rem; margin-bottom: 2rem; }
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field span { font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea {
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-color: rgb(153, 143, 133);
  border-radius: 0;
  padding: 0.85rem 1rem;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-btn); outline-offset: 0; }
.contact-form .btn { justify-self: stretch; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; text-align: center; }
.form-status.ok { color: rgb(46, 125, 50); }
.form-status.err { color: rgb(183, 28, 28); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 3rem 0;
}
.footer-name { font-size: 1.2rem; margin: 0 0 0.5rem; color: #fff; }
.copyright { margin: 0; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
