/* ═══════════════════════════════════════════════════════════════
   AimHome Realty — Clean Template Page Styles
   SNRS Innovations Inc.
   Design: Minimal Editorial — standard AimHome brand palette.
   Differentiator: white hero, enormous Cormorant headline,
   wide photo below CTA, minimal left-border value cards.
   All 5 page sections. Mobile-first.
   DO NOT edit this file directly — copy the page folder instead.
═══════════════════════════════════════════════════════════════ */


/* ─── SECTION 1: HERO (Editorial) ───────────────────────────── */

/* Base hero — white background, no canvas, no dark overlay */
.hero--clean {
  background-color: var(--color-white);
  padding-block-start: clamp(5rem, 10vw, 8rem);
  padding-block-end: clamp(5rem, 8vw, 7rem);
}

/* Inner: constrained text content, centered */
.hero__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

/* Eyebrow label */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-block-end: 0;
  opacity: 0; /* GSAP entrance target */
}

.hero__city,
.hero__type {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero__dot {
  color: rgba(201, 168, 76, 0.5);
  font-size: 1.2em;
}

/* Gold rule below eyebrow */
.hero__rule {
  opacity: 0; /* GSAP entrance target */
}

/* The defining feature — enormous editorial headline */
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  color: var(--color-text);
  max-width: 16ch;
  margin-inline: auto;
  margin-block-end: var(--space-6);
  opacity: 0; /* GSAP entrance target */
}

/* Last phrase of headline wrapped in <em> — navy italic treatment */
.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-navy);
}

/* Subheadline — muted, readable */
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 52ch;
  overflow-wrap: break-word;
  margin-inline: auto;
  margin-block-start: var(--space-6);
  margin-block-end: 0;
  opacity: 0; /* GSAP entrance target */
}

/* CTA group — centered */
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-block-start: var(--space-8);
  opacity: 0; /* GSAP entrance target */
}

/* Wide hero photo — full-width within container, below CTA */
.hero__photo-wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  margin-block-start: var(--space-16);
}

/* Photo slot — base pattern */
.photo-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(var(--photo-slot-r, 31), var(--photo-slot-g, 78), var(--photo-slot-b, 121), 0.15) 0%,
    rgba(var(--photo-slot-r, 31), var(--photo-slot-g, 78), var(--photo-slot-b, 121), 0.25) 100%
  );
}

.photo-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero photo slot — cinematic 16/9, rounded, dramatic shadow */
.hero__photo-slot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}


/* ─── SECTION 2: VALUE HOOK ──────────────────────────────────── */

.value-hook {
  /* Inherits .section.section--light */
}

/* 1-col mobile → 3-col desktop */
.value-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* Minimal card — left gold border, no fill, no shadow */
.value-card {
  border-left: 2px solid var(--color-gold);
  padding: var(--space-6) var(--space-8);
  background: transparent;
  /* No box-shadow, no hover effect — clean editorial restraint */
}

/* Icon: small circle with gold border, navy svg inside */
.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  background: transparent;
  margin-block-end: var(--space-5);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-navy);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-navy);
  margin-block-end: var(--space-3);
  line-height: 1.2;
}

.value-card__body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 36ch;
}


/* ─── SECTION 3: LEAD FORM ───────────────────────────────────── */

.lead-form-section {
  /* Inherits .section.section--navy — the ONE bold visual moment */
}

/* Form card — frosted glass on navy */
.form-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* 2-col row on tablet+ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.form-required {
  color: var(--color-gold);
  margin-inline-start: 2px;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-text);
  border: 2px solid transparent;
  border-radius: var(--radius-xs);
  font-size: var(--text-base);
  line-height: 1.5;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-muted-light);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.form-input.is-error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-error {
  font-size: var(--text-xs);
  color: #fca5a5;
  min-height: 1.2em;
  line-height: 1.4;
}

/* CASL Checkbox */
.casl-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  cursor: pointer;
}

.casl-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.casl-check-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 2px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.casl-checkbox:checked + .casl-check-custom {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.casl-checkbox:checked + .casl-check-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--color-navy-dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.casl-checkbox:focus-visible + .casl-check-custom {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.casl-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.casl-text strong { color: rgba(255, 255, 255, 0.85); }

/* Submit button */
.form-submit {
  width: 100%;
  margin-block-start: var(--space-2);
  position: relative;
}

.form-submit__loading {
  display: none;
}

.form-submit.is-loading .form-submit__text {
  visibility: hidden;
}

.form-submit.is-loading .form-submit__loading {
  display: block;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-16) var(--space-8);
}

.form-success__icon {
  margin-inline: auto;
  margin-block-end: var(--space-6);
  width: 56px;
  height: 56px;
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-white);
  margin-block-end: var(--space-4);
}

.form-success__body {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 44ch;
  margin-inline: auto;
  line-height: 1.7;
}

.form-success__body strong { color: var(--color-gold); }


/* ─── SECTION 4: TRUST SIGNALS ───────────────────────────────── */

.trust {
  /* Inherits .section.section--light */
}

/* Agent profile — stacked mobile, row on tablet+ */
.agent-profile {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  align-items: flex-start;
  margin-block-end: var(--space-16);
}

@media (min-width: 768px) {
  .agent-profile {
    flex-direction: row;
    gap: var(--space-16);
    align-items: center;
  }
}

.agent-profile__visual {
  flex-shrink: 0;
}

/* Agent photo circle — gold border on off-white background */
.agent-photo-placeholder {
  width: clamp(120px, 20vw, 180px);
  height: clamp(120px, 20vw, 180px);
  border-radius: 50%;
  background: var(--color-navy);
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-navy);
}

.agent-photo {
  width: clamp(120px, 20vw, 180px);
  height: clamp(120px, 20vw, 180px);
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--color-gold);
  box-shadow: var(--shadow-navy);
  display: block;
}

.agent-profile__content {
  flex: 1;
}

.agent-name {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-navy);
  margin-block-end: var(--space-2);
  line-height: 1.1;
}

.agent-title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-gold-dark);
  letter-spacing: 0.03em;
  margin-block-end: var(--space-6);
}

.agent-bio {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 58ch;
  margin-block-end: var(--space-10);
}

.agent-stats {
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.agent-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.agent-stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1;
}

.agent-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Testimonials */
.testimonials-wrap {
  /* No extra container padding */
}

.testimonials-swiper {
  padding-block-end: var(--space-10) !important;
}

.testimonial {
  background: var(--color-white);
  border: 1px solid rgba(201, 168, 76, 0.20);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial__stars {
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  flex: 1;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block-start: var(--space-4);
  border-top: 1px solid rgba(31, 78, 121, 0.10);
}

.testimonial__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.testimonial__detail {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* Swiper pagination — standard brand theme */
.testimonials-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: var(--color-navy) !important;
  opacity: 0.25 !important;
  width: 8px !important;
  height: 8px !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
  transition: width var(--transition-base);
}


/* ─── SECTION 5: FOOTER ──────────────────────────────────────── */

.footer {
  /* Inherits .section--dark.section--sm */
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-16);
  }
}

.footer__brand {
  flex-shrink: 0;
}

.footer__wordmark {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  margin-block-end: var(--space-2);
}

.footer__tagline {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.footer__legal {
  flex: 1;
}

.footer__legal p {
  font-size: var(--text-xs);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  max-width: 66ch;
}

.footer__legal p + p {
  margin-block-start: var(--space-3);
}

.footer__email {
  color: rgba(201, 168, 76, 0.70);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.30);
  transition: color var(--transition-fast);
}

.footer__email:hover {
  color: var(--color-gold);
}


/* ─── Responsive: Large Desktop ─────────────────────────────── */

@media (min-width: 1280px) {
  .section {
    padding-block: var(--space-32);
  }

  .section--sm {
    padding-block: var(--space-20);
  }
}
