/* Seafood Export Core: palette
   abyss #0E2A35  tide #1F6F78  foam #EEF4F5  shrimp #E8603C  ink #25233F */

@font-face {
	font-family: "Vazirmatn";
	src: local("Vazirmatn"), url("fonts/Vazirmatn-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:lang(fa), :lang(ar) {
	font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

.sec-grid, .sec-blocks {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	margin-block: 1.5rem;
}

.sec-card {
	background: #fff;
	border: 1px solid #d5e2e5;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.sec-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.sec-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.sec-card-body h3 { margin: 0; font-size: 1.15rem; }
.sec-card-body h3 a { color: #0E2A35; text-decoration: none; }
.sec-card-body .sec-btn { margin-block-start: auto; align-self: flex-start; }
.sec-grade { margin: 0; font-weight: 600; color: #1F6F78; }

.sec-btn {
	display: inline-block;
	background: #E8603C;
	color: #fff;
	padding: .65rem 1.25rem;
	border: 0;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.sec-btn:hover { background: #cf4e2c; color: #fff; }
.sec-btn:focus-visible, .sec-form input:focus-visible, .sec-form textarea:focus-visible {
	outline: 3px solid #1F6F78;
	outline-offset: 2px;
}

.sec-blocks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.sec-block {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	justify-content: flex-end;
	min-height: 320px;
	padding: 2rem;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
}
.sec-block-tide { background: #1F6F78; }
.sec-block-ink  { background: #25233F; }
.sec-block-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.1; }
.sec-block-desc  { max-width: 38ch; opacity: .9; }
.sec-block-cta   { font-weight: 600; border-block-end: 2px solid #E8603C; align-self: flex-start; padding-block-end: 2px; }

.sec-table-wrap { overflow-x: auto; }
.sec-specs { width: 100%; border-collapse: collapse; margin-block-end: 1.5rem; }
.sec-specs th, .sec-specs td { padding: .7rem .9rem; border-block-end: 1px solid #d5e2e5; text-align: start; }
.sec-specs th { width: 38%; background: #EEF4F5; color: #0E2A35; font-weight: 600; }

.sec-form { max-width: 640px; }
.sec-form label { display: block; font-weight: 600; margin-block-end: .25rem; }
.sec-form input, .sec-form textarea {
	width: 100%;
	padding: .65rem .75rem;
	border: 1px solid #9db4ba;
	border-radius: 4px;
	font: inherit;
}
.sec-hp { position: absolute; inset-inline-start: -9999px; }
.sec-notice { padding: .8rem 1rem; border-radius: 4px; }
.sec-ok  { background: #e3f3ec; color: #14573a; }
.sec-err { background: #fbe6e1; color: #8a2a14; }

@media (prefers-reduced-motion: no-preference) {
	.sec-btn { transition: background .15s; }
}
