/* Magnusson Woodworks additions on top of the Davis template */
.brand-logo { height: 44px; width: auto; flex-shrink: 0; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }
.hero-ghost { color: white !important; border-color: rgba(255,255,255,0.6) !important; }
.hero-ghost:hover { background: rgba(255,255,255,0.12) !important; }
.hero .eyebrow, .hero h1 .accent, .hero-trust svg { color: #e8c48e; }
.hero::before { background-position: center 40%; }

.about { background: var(--color-surface-offset); }
.about-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; } }

.order-steps { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.order-steps div { display: flex; gap: var(--space-3); align-items: center; }
.order-steps strong { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-sm); }
.order-steps span { color: var(--color-text-muted); }
.form-hint { font-size: var(--text-xs); margin: var(--space-3) 0 0; text-align: center; max-width: none; }

.gallery-more-note { text-align: center; margin: var(--space-6) auto 0; font-size: var(--text-sm); }
.gallery-grid > figure:first-child { grid-column: span 1; grid-row: span 1; }
.gallery-grid > figure.wide { grid-column: span 2; }
@media (max-width: 560px) { .gallery-grid > figure.wide { grid-column: span 1; } }
.contact-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .contact-grid-3 { grid-template-columns: 1fr; } }
.contact-card .value { overflow-wrap: anywhere; }
@media (max-width: 560px) { .hide-sm { display: none !important; } }
.services-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5, 1.25rem); }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.gallery-grid { grid-auto-flow: dense; }
.hero-trust { gap: var(--space-3) var(--space-6); }
.show-sm { display: none; }
@media (max-width: 560px) {
  .show-sm { display: inline; }
  .nav-brand .brand-sub { display: none; }
  .nav-brand { font-size: 0.98rem; }
}

/* Contact page */
.hero.hero-page { min-height: 0; padding-block: clamp(var(--space-16), 9vw, 7.5rem); }
.hero.hero-page::before { background-image: url("../images/gallery/flags-1.jpg"); background-position: center 55%; }
.contact-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .contact-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .contact-grid-4 { grid-template-columns: 1fr; } }
.contact-card .hint { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.nav-links a[aria-current="page"] { color: var(--color-accent); }
.section-head p a, .quote p a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-grid-4 .contact-card .value { font-size: 1.1rem; overflow-wrap: normal; word-break: normal; }
@media (max-width: 1240px) and (min-width: 1081px) { .contact-grid-4 .contact-card .value { font-size: 1rem; } }
.card-actions { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-3); }
.btn.btn-sm { padding: 0.45rem 1rem; font-size: var(--text-xs); min-height: 0; }
.contact-card .value a { color: inherit; }
.phone-row { padding: var(--space-3) 0; }
.phone-row + .phone-row { border-top: 1px solid var(--color-border); }
.phone-name { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); }
.phone-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--color-primary); }
.card-actions { margin-top: var(--space-2); }
.contact-card .card-actions .btn-primary { color: var(--color-text-inverse); }
.contact-card .card-actions .btn-outline { color: var(--color-primary); }
