/* A&M Premium Property Services: shared finishing layer for every page.
 * Palette: black #0A0A0A / #050505 / #121212, gold #D9B66A / #B8893E / #9A7232,
 * ivory #F3EFE7 / #E9DFC9, soft gray #CFC9BD / #9A948A.
 */

::selection { background: #D9B66A; color: #0A0A0A; }

body { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 400; line-height: 1.6; }

/* Headings, section titles, and card titles: Cormorant Garamond */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif !important; letter-spacing: 0.005em; }
/* Small labels styled as uppercase eyebrows stay in DM Sans */
h2[style*="text-transform: uppercase"],
h3[style*="text-transform: uppercase"],
h4[style*="text-transform: uppercase"] { font-family: 'DM Sans', system-ui, sans-serif !important; }

/* FAQ questions read as headings */
details > summary { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px !important; font-weight: 600 !important; letter-spacing: 0.005em; }
details > summary:hover { color: #D9B66A; }

/* Buttons: gold gradient primary, outlined secondary, subtle hover */
a[style*="linear-gradient(180deg,#E9C77E"], button[style*="linear-gradient(180deg,#E9C77E"] {
  transition: filter .25s ease, box-shadow .25s ease, transform .25s ease;
}
a[style*="linear-gradient(180deg,#E9C77E"]:hover, button[style*="linear-gradient(180deg,#E9C77E"]:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(201, 154, 71, 0.22);
  transform: translateY(-1px);
}
a[style*="border: 1.5px solid"], button[data-am-back] { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
a[style*="border: 1.5px solid"]:hover, button[data-am-back]:hover { background-color: rgba(217, 182, 106, 0.1); border-color: #D9B66A !important; }
nav a { transition: color .2s ease, border-color .2s ease; }
footer a:hover { color: #D9B66A !important; }

/* Cards: thin gold edge on hover */
.am-card, .am-lift { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.am-card:hover, .am-lift:hover { transform: translateY(-3px); border-color: #B8893E !important; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }

/* Photos: one warm, consistent grade */
.am-photo { filter: sepia(0.14) saturate(0.9) contrast(1.03) brightness(0.95); }
.am-shade { position: relative; display: block; overflow: hidden; }
.am-shade::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, 0.45) 100%); }
.am-card .am-photo { transition: transform .6s ease; }
.am-card:hover .am-photo { transform: scale(1.03); }

/* Forms: luxury fields, gold focus, large tap targets */
form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
form select, form textarea { transition: border-color .2s ease, box-shadow .2s ease; color: #1A1A1A; }
form input:not([type=checkbox]):not([type=radio]):focus:not(.am-invalid),
form select:focus:not(.am-invalid), form textarea:focus:not(.am-invalid) {
  outline: none; border-color: #B8893E !important; box-shadow: 0 0 0 1px #B8893E !important;
}
form label:has(> input[type=checkbox]):hover, form label:has(> input[type=radio]):hover { border-color: #B8893E !important; }
form label:has(> input[type=checkbox]:checked), form label:has(> input[type=radio]:checked) { border-color: #B8893E !important; background: #FBF6EA !important; }
form legend { font-family: inherit; }
form .am-form-title { font-family: 'Cormorant Garamond', Georgia, serif; }
@media (max-width: 720px) {
  form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), form select { height: 54px !important; font-size: 16px !important; }
  form textarea { font-size: 16px !important; }
  form button { min-height: 56px; }
}

/* Responsive grids used across pages */
.am-grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .am-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .am-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.am-grid-4x2 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1180px) { .am-grid-4x2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.am-ind-grid { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .am-ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
