/* Diablo Grills Landing — styles. Tokens match the Shopify theme and static site. */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Titan One'; src: url('../fonts/titan-one-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
	--dg-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--dg-font-display: 'Titan One', var(--dg-font);
	--dg-accent: #ea580c;
	--dg-accent-dark: #c2410c;
	--dg-accent-light: #fb923c;
	--dg-accent-soft: #fff1ea;
	--dg-accent-tint: #fff7f2;
	--dg-accent-border: #fed7c3;
	--dg-navy: #2d3242;
	--dg-text: #111827;
	--dg-text-2: #374151;
	--dg-text-3: #4b5563;
	--dg-muted: #6b7280;
	--dg-on-dark: #d1d5db;
	--dg-surface: #ffffff;
	--dg-surface-muted: #f4f4f5;
	--dg-border: #e5e7eb;
	--dg-border-strong: #d1d5db;
	--dg-success: #047857;
	--dg-error: #b91c1c;
	--dg-radius-sm: 8px;
	--dg-radius: 12px;
	--dg-radius-lg: 16px;
	--dg-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
	--dg-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--dg-surface);
	color: var(--dg-text);
	font-family: var(--dg-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dg-accent-dark); }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--dg-accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.dg-skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; border-radius: var(--dg-radius-sm);
	background: var(--dg-text); color: #fff;
}
.dg-skip-link:focus { top: 16px; }

.dg-container { max-width: calc(var(--dg-width) + 48px); margin: 0 auto; padding-inline: 24px; }
.dg-container--narrow { max-width: 808px; }
.dg-section { padding: 80px 0; scroll-margin-top: 72px; }
.dg-section--muted { background: var(--dg-surface-muted); }
.dg-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.dg-h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.8px; }
.dg-h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.8px; text-wrap: balance; }
.dg-h3 { font-size: 22px; line-height: 1.25; font-weight: 800; }
.dg-accent { color: var(--dg-accent); }
.dg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--dg-accent-dark); }
.dg-strong { font-weight: 600; }
.dg-link { font-size: 14px; font-weight: 600; color: var(--dg-accent-dark); text-decoration: none; }
.dg-link:hover { text-decoration: underline; }

.dg-pill {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	padding: 6px 12px; border-radius: 999px;
	background: var(--dg-accent-soft); color: var(--dg-accent-dark);
	font-size: 13px; font-weight: 600; line-height: 1.4;
}
.dg-pill--on-dark { background: rgba(234, 88, 12, 0.18); color: #fdba8c; }

.dg-icon-circle {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--dg-accent-soft); color: var(--dg-accent);
}

.dg-section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.dg-section-head--center { align-items: center; text-align: center; }
.dg-section-head--center .dg-pill { align-self: center; }
.dg-section-head__text { font-size: 16px; line-height: 1.6; color: var(--dg-text-3); max-width: 620px; }

/* Buttons */
.dg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px;
	border: 1px solid transparent; border-radius: var(--dg-radius-sm);
	font-size: 14px; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dg-btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.dg-btn--block { width: 100%; }
.dg-btn--primary { background: var(--dg-accent); color: #fff; }
.dg-btn--primary:hover { background: var(--dg-accent-dark); color: #fff; }
.dg-btn--navy { background: var(--dg-navy); color: #fff; }
.dg-btn--navy:hover { background: #1f2330; color: #fff; }
.dg-btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; font-weight: 600; }
.dg-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dg-btn--subtle { background: #fff; border-color: var(--dg-border-strong); color: var(--dg-text); font-weight: 600; }
.dg-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.dg-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--dg-border); }
.admin-bar .dg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dg-header { top: 0; } }
.dg-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.dg-header__logo { display: flex; flex-shrink: 0; }
.dg-header__logo .dg-logo { height: 44px; width: auto; }
.dg-header__nav { flex: 1; display: flex; justify-content: center; }
.dg-header__menu { display: flex; gap: 28px; }
.dg-header__menu a { color: var(--dg-text-2); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 0; }
.dg-header__menu a:hover { color: var(--dg-accent); }
.dg-header__cta { flex-shrink: 0; margin-left: auto; }
@media (max-width: 960px) { .dg-header__nav { display: none; } }

/* Hero */
.dg-hero { background: var(--dg-navy); color: #fff; overflow: hidden; }
.dg-hero__inner { display: flex; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.dg-hero__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.dg-hero__heading { font-size: clamp(40px, 5vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -1.4px; text-wrap: balance; }
.dg-hero__heading .dg-accent { color: var(--dg-accent-light); }
.dg-hero__text { font-size: 18px; line-height: 1.6; color: var(--dg-on-dark); max-width: 560px; }
.dg-hero__calls { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.dg-hero__calls-label { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #9ca3af; }
.dg-hero__call-list { display: flex; flex-wrap: wrap; gap: 10px; }
.dg-call-chip {
	display: inline-flex; flex-direction: column; gap: 2px; min-width: 150px;
	padding: 10px 16px; border-radius: 10px;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff; text-decoration: none;
}
.dg-call-chip:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.dg-call-chip__name { font-size: 13px; color: var(--dg-on-dark); }
.dg-call-chip__phone { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dg-hero__media { position: relative; width: 460px; max-width: 100%; flex-shrink: 0; }
.dg-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--dg-radius-lg); }
.dg-hero__badge {
	position: absolute; left: -20px; bottom: -22px;
	display: flex; align-items: center; gap: 12px; padding: 14px 18px;
	border-radius: var(--dg-radius); background: #fff; color: var(--dg-text);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.dg-hero__badge-title { font-size: 15px; font-weight: 800; color: var(--dg-accent-dark); }
.dg-hero__badge-text { font-size: 13px; color: var(--dg-text-3); }

/* Promotions */
.dg-promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dg-promo {
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--dg-border); border-radius: var(--dg-radius-lg);
	box-shadow: var(--dg-shadow);
}
.dg-promo__media { position: relative; aspect-ratio: 16 / 10; background: var(--dg-border); }
.dg-promo__media img { width: 100%; height: 100%; object-fit: cover; }
.dg-promo__tag {
	position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 6px;
	background: var(--dg-accent); color: #fff;
	font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
}
.dg-promo__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px; }
.dg-promo__title { font-size: 22px; line-height: 1.2; font-weight: 800; }
.dg-promo__offer { font-size: 15px; line-height: 1.55; color: var(--dg-text-2); }
.dg-promo__fine { font-size: 12px; line-height: 1.5; color: var(--dg-muted); }
.dg-promo__meta {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	margin-top: auto; padding-top: 10px; border-top: 1px solid #f3f4f6;
}
.dg-promo__ends { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #9a3412; }
.dg-promo__where { font-size: 12px; color: var(--dg-muted); }
.dg-placeholder, .dg-cat__placeholder {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	color: var(--dg-muted); font-size: 13px;
}
.dg-admin-note {
	padding: 16px 20px; border: 1px dashed var(--dg-border-strong); border-radius: var(--dg-radius);
	background: #fff; color: var(--dg-text-3); font-size: 14px; text-align: center;
}

/* Locations */
.dg-store-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.dg-store-tab {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px;
	border: 2px solid var(--dg-border); border-radius: var(--dg-radius);
	background: #fff; text-align: left; cursor: pointer;
}
.dg-store-tab[aria-selected='true'] { border-color: var(--dg-accent); background: var(--dg-accent-tint); }
.dg-store-tab__dot {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--dg-surface-muted); color: var(--dg-text-3);
}
.dg-store-tab[aria-selected='true'] .dg-store-tab__dot { background: var(--dg-accent); color: #fff; }
.dg-store-tab__text { display: flex; flex-direction: column; gap: 2px; }
.dg-store-tab__name { font-size: 17px; font-weight: 800; }
.dg-store-tab__city { font-size: 13px; color: var(--dg-muted); }

.dg-store-panels { display: flex; flex-direction: column; gap: 24px; }
.dg-store-panel {
	display: flex; overflow: hidden;
	border: 1px solid var(--dg-border); border-radius: var(--dg-radius-lg);
}
.dg-store-panel__info { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.dg-store-panel__name { font-size: 28px; font-weight: 800; }
.dg-icon-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--dg-text-2); }
.dg-icon-line .dg-icon { color: var(--dg-accent); flex-shrink: 0; margin-top: 1px; }
.dg-hours { display: grid; grid-template-columns: auto auto; column-gap: 16px; row-gap: 4px; }
.dg-hours dt { color: var(--dg-text-3); }
.dg-hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.dg-store-panel__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.dg-store-panel__map { flex: 1; min-height: 360px; background: #e8ecef; }
.dg-store-panel__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Categories */
.dg-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dg-cat {
	position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
	border-radius: var(--dg-radius-lg); background: var(--dg-border-strong);
	color: #fff; text-decoration: none;
}
.dg-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.dg-cat:hover img { transform: scale(1.03); }
.dg-cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 24, 39, 0) 40%, rgba(17, 24, 39, 0.82) 100%); }
.dg-cat__placeholder { position: absolute; inset: 0; align-items: flex-start; justify-content: flex-end; padding: 14px; color: var(--dg-text-3); }
.dg-cat__text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.dg-cat__title { font-size: 22px; font-weight: 800; }
.dg-cat__sub { font-size: 14px; color: #e5e7eb; }

/* Inquiry */
.dg-inquiry__grid { display: flex; gap: 48px; align-items: flex-start; }
.dg-inquiry__intro { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.dg-inquiry__text { font-size: 16px; line-height: 1.65; color: var(--dg-text-3); }
.dg-inquiry__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.dg-card { flex: 1; min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--dg-border); border-radius: var(--dg-radius-lg); box-shadow: 0 4px 20px rgba(17, 24, 39, 0.06); }
.dg-form { display: flex; flex-direction: column; gap: 18px; }
.dg-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dg-label { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.dg-input {
	min-height: 48px; padding: 0 12px; width: 100%;
	border: 1px solid var(--dg-border-strong); border-radius: var(--dg-radius-sm);
	background: #fff; font-size: 16px;
}
textarea.dg-input { padding: 12px; resize: vertical; }
.dg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dg-store-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dg-store-choice {
	display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
	border: 2px solid var(--dg-border); border-radius: 10px; background: #fff;
	font-size: 14px; font-weight: 600; cursor: pointer;
}
.dg-store-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--dg-accent); }
.dg-store-choice:has(input:checked) { border-color: var(--dg-accent); background: var(--dg-accent-tint); }
.dg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg-error { padding: 12px 14px; border-radius: var(--dg-radius-sm); background: #fef2f2; color: var(--dg-error); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.dg-success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 8px; text-align: center; }
.dg-success p { color: var(--dg-text-3); max-width: 420px; }
.dg-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dg-accent-soft); color: var(--dg-accent); }

/* Footer */
.dg-footer { background: var(--dg-navy); color: #fff; }
.dg-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.dg-footer__top { display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.dg-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.dg-footer__brand p { font-size: 14px; color: var(--dg-on-dark); }
.dg-footer__logo { display: inline-flex; align-self: flex-start; padding: 10px 14px; border-radius: 10px; background: #fff; }
.dg-footer__logo .dg-logo { height: 40px; width: auto; }
.dg-footer__group { display: flex; flex-direction: column; gap: 12px; }
.dg-footer__heading { font-size: 14px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #fdba8c; }
.dg-social { display: flex; gap: 8px; }
.dg-social a {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #fff;
}
.dg-social a:hover { background: rgba(255, 255, 255, 0.18); }
.dg-review-links { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; }
.dg-review-links a {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 20px;
	color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.dg-review-links .dg-icon { color: #fdba8c; fill: #fdba8c; }
.dg-footer__stores {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.dg-footer__store { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; }
.dg-footer__store h3 { font-size: 17px; font-weight: 800; }
.dg-footer__address { color: var(--dg-on-dark); }
.dg-footer__phone { color: #fdba8c; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.dg-footer__hours { color: #9ca3af; font-size: 13px; }
.dg-footer__directions { color: #fff; font-size: 13px; font-weight: 600; }
.dg-footer__legal { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: #9ca3af; text-align: center; }

/* Plain pages */
.dg-content { padding: 64px 0; }
.dg-entry + .dg-entry { margin-top: 32px; }
.dg-prose { margin-top: 16px; }
.dg-prose p + p { margin-top: 12px; }

/* Responsive */
@media (max-width: 960px) {
	.dg-hero__inner, .dg-inquiry__grid, .dg-store-panel { flex-direction: column; align-items: stretch; }
	.dg-hero__media, .dg-inquiry__intro, .dg-store-panel__info { width: 100%; }
	.dg-hero__badge { left: 12px; }
	.dg-promo-grid, .dg-footer__stores { grid-template-columns: minmax(0, 1fr); }
	.dg-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.dg-container { padding-inline: 16px; }
	.dg-section { padding: 56px 0; }
	.dg-store-tabs, .dg-store-choices, .dg-form-grid { grid-template-columns: minmax(0, 1fr); }
	.dg-header__cta span { display: none; }
	.dg-header__cta { padding: 0 14px; }
	.dg-hero__inner { padding-top: 48px; }
	.dg-card { padding: 20px; }
	.dg-cat__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
