/* Generic interior-page layout (About, Services, How it works, Weddings,
   Contact, etc.) — a reusable block pattern (Cabo: Generic Page) inserted
   into each page's own content. Loaded only on standard Pages, never on
   the front page (which has its own richer home-v3.css system). */

.cabo-page__hero {
  background: var(--cabo-site-black);
  color: var(--cabo-site-white);
  padding: 64px 0 56px;
  margin-bottom: 0;
}

.cabo-page__hero-inner {
  max-width: var(--cabo-site-content);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 64px);
}

.cabo-page__eyebrow {
  color: var(--cabo-site-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.cabo-page__hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 720px;
}

.cabo-page__hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: #c5c8ce;
  max-width: 640px;
  margin: 0;
}

.cabo-page__section {
  padding-block: clamp(56px, 7vw, 96px);
}

.cabo-page__section--warm {
  background: var(--cabo-site-warm);
}

.cabo-page__inner {
  max-width: var(--cabo-site-content);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 64px);
}

.cabo-page__section-heading {
  max-width: 640px;
  margin: 0 0 40px;
}

.cabo-page__section-heading h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
}

.cabo-page__section-heading p {
  color: var(--cabo-site-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

.cabo-page__card {
  background: var(--cabo-site-white);
  border: 1px solid var(--cabo-site-line);
  border-radius: 20px;
  padding: 28px;
}

.cabo-page__card-index {
  color: var(--cabo-site-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.cabo-page__card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.cabo-page__card p {
  color: var(--cabo-site-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cabo-page__prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cabo-site-ink);
}

.cabo-page__prose p {
  margin: 0 0 18px;
}

.cabo-page__cta {
  background: var(--cabo-site-black);
  color: var(--cabo-site-white);
  border-radius: 28px;
  padding: 48px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cabo-page__cta h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
}

.cabo-page__cta p {
  color: #c5c8ce;
  margin: 0;
  max-width: 480px;
}

.cabo-page__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--cabo-site-orange);
  color: var(--cabo-site-black);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cabo-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Wireframe placeholder for a real photo to be inserted later — a plain
   dashed box instead of a broken <img>, so an editor sees exactly where a
   photo belongs (and its recommended dimensions) without the page looking
   broken in the meantime. Swap for a real wp:image block when the photo is
   ready; nothing else on the page depends on this class. */
/* Real photo, same footprint/rounding as the placeholder above but no
   dashed border — used once an actual wp:image block replaces it. */
.cabo-page__photo {
  margin: 32px 0;
}

.cabo-page__photo img {
  border-radius: 16px;
  display: block;
  height: auto;
  width: 100%;
}

.cabo-page__image-placeholder {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: var(--cabo-site-soft);
  border: 2px dashed var(--cabo-site-line);
  border-radius: 16px;
  color: var(--cabo-site-muted);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  margin: 32px 0;
  padding: 24px;
  text-align: center;
}

/* [cabo_contact_form] — the honeypot field (.cabo-contact-form__hp) is
   hidden with position/size instead of display:none, since some spam bots
   specifically skip fields hidden that way but still fill in ones merely
   moved off-screen. */
.cabo-contact-form {
  margin: 0 auto;
  max-width: 560px;
}

.cabo-contact-form__hp {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cabo-contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.cabo-contact-form__row label {
  color: var(--cabo-site-ink);
  font-size: 13px;
  font-weight: 700;
}

.cabo-contact-form__row input,
.cabo-contact-form__row textarea {
  border: 1px solid var(--cabo-site-line);
  border-radius: 12px;
  font: inherit;
  padding: 12px 14px;
}

.cabo-contact-form__row textarea {
  resize: vertical;
}

.cabo-contact-form__submit {
  background: var(--cabo-site-orange);
  border: 0;
  border-radius: 999px;
  color: var(--cabo-site-black);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 28px;
}

.cabo-contact-form__success {
  background: #eaf7ee;
  border: 1px solid #b9e6c4;
  border-radius: 12px;
  color: #1a5c2c;
  font-weight: 700;
  padding: 16px 20px;
}

.cabo-contact-form__error {
  background: #fff4e8;
  border: 1px solid #ffc184;
  border-radius: 12px;
  color: #8a4b00;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 16px 20px;
}
