/*
Theme Name: Seven Points Group
Theme URI: https://sevenpoints.group/
Author: Seven Points Group
Description: Custom WordPress theme for Seven Points Group apartment rentals in Canal Fulton, Ohio.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: seven-points-group
*/

:root {
  --ink: #172033;
  --muted: #637083;
  --line: #dce3ec;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --brand: #2457ff;
  --brand-dark: #1537a6;
  --accent: #dce8ff;
  --shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 76px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.nav-phone {
  padding: 10px 16px;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  padding: 9px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero picture::after {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero picture::after {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 20, 35, 0.76), rgba(11, 20, 35, 0.32));
}

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

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 120px);
  padding: 70px 0;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bcd0ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button:disabled {
  background: #a8b2c2;
  cursor: not-allowed;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0;
}

.quick-info article,
.rental-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-info article {
  padding: 22px;
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info span {
  margin-top: 6px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split p {
  color: var(--muted);
  font-size: 1.06rem;
}

.rounded-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.rental-card {
  overflow: hidden;
}

.rental-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rental-card div {
  padding: 22px;
}

.rental-card p {
  color: var(--muted);
}

.photo-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 76px);
  background: var(--soft);
}

.photo-band p {
  max-width: 620px;
  color: var(--muted);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.callout {
  justify-content: space-between;
  padding: 52px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
}

.callout .eyebrow {
  color: #bcd0ff;
}

.callout h2 {
  max-width: 760px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.84);
  background: #070b14;
}

.site-footer div,
.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.page-hero {
  padding: 88px clamp(18px, 8vw, 120px);
  background:
    linear-gradient(90deg, rgba(11, 20, 35, 0.84), rgba(11, 20, 35, 0.42)),
    url("assets/photos/hero-apartment.jpg") center / cover;
  color: #fff;
}

.page-hero .eyebrow {
  color: #bcd0ff;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: 30px;
}

.contact-card {
  background: var(--soft);
  box-shadow: none;
}

.contact-card dl,
.contact-card dd {
  margin: 0;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin-top: 4px;
}

.contact-card div + div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.field-group input,
.field-group select,
.field-group textarea,
.captcha-box input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.field-group textarea {
  resize: vertical;
}

.captcha-box {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 16px;
  align-items: center;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.captcha-box span {
  display: block;
  color: var(--muted);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  color: #8a1f11;
  background: #fff0ec;
  border: 1px solid #ffc7ba;
  border-radius: 8px;
  font-weight: 700;
}

.hidden-field,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.success-page {
  min-height: calc(100vh - 82px);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.visible {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .nav-phone {
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .quick-info,
  .split,
  .rental-grid,
  .photo-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    width: 62px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero picture::after {
    background: rgba(11, 20, 35, 0.68);
  }

  h1 {
    font-size: 2.65rem;
  }

  .section {
    padding: 60px 0;
  }

  .callout {
    padding: 30px 22px;
  }

  .field-row,
  .captcha-box {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
