/**
 * TMY Main Widget — base styles.
 * All Elementor "Style" tab controls override these via generated,
 * widget-scoped CSS (selectors use {{WRAPPER}}) — nothing here is inline.
 *
 * Covers only: Hero, Description, Towboats-for-Every-Operation, and CTA.
 * Features + Inventory styles live entirely in inventory.css now.
 */

.tmy-container {
	--tmy-blue: #002586;
	--tmy-blue-light: rgba(0, 37, 134, 0.07);
	--tmy-blue-border: rgba(0, 37, 134, 0.13);
	--tmy-text-dark: #121826;
	--tmy-text-body: #2c3e4e;
	--tmy-text-muted: #3a5478;
	--tmy-bg: #ffffff;
	--tmy-bg-soft: #fafcff;

	max-width: 1280px;
	margin: 0 auto;
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--tmy-text-dark);
	line-height: 1.5;
}

.tmy-container h1,
.tmy-container h2,
.tmy-container h3,
.tmy-container h4 {
	font-family: 'Bebas Neue', cursive, sans-serif;
	letter-spacing: 0.02em;
	margin: 0;
}

.tmy-container * {
	box-sizing: border-box;
}

/* ── HERO ── */
.tmy-hero {
	position: relative;
	background: var(--tmy-blue);
	border-radius: 40px;
	overflow: hidden;
	padding: 4rem 3.5rem;
	margin-bottom: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.tmy-hero::before {
	content: '';
	position: absolute;
	right: -60px;
	top: -60px;
	width: 420px;
	height: 420px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 50%;
	pointer-events: none;
}

.tmy-hero::after {
	content: '';
	position: absolute;
	right: 80px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 50%;
	pointer-events: none;
}

.tmy-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 0.35rem 1rem;
	border-radius: 40px;
	width: fit-content;
	position: relative;
	z-index: 1;
}

.tmy-hero h1 {
	font-size: 5.5rem;
	color: #ffffff;
	line-height: 1;
	letter-spacing: 0.03em;
	position: relative;
	z-index: 1;
}

.tmy-hero-image {
	max-width: 100%;
	border-radius: 24px;
	margin-top: 0.5rem;
	position: relative;
	z-index: 1;
	display: block;
}

.tmy-hero-desc {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.78);
	max-width: 100%;
	line-height: 1.7;
	position: relative;
	z-index: 1;
}

.tmy-btn {
	display: inline-block;
	width: fit-content;
	background: #ffffff;
	color: var(--tmy-blue);
	font-weight: 700;
	text-decoration: none;
	padding: 0.9rem 1.75rem;
	border-radius: 40px;
	position: relative;
	z-index: 1;
	transition: all 0.25s ease;
}

.tmy-hero-stats {
	display: flex;
	gap: 2.5rem;
	margin-top: 0.5rem;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.tmy-hero-stat {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.tmy-hero-stat strong {
	font-family: 'Bebas Neue', cursive;
	font-size: 2.4rem;
	color: #ffffff;
	letter-spacing: 0.03em;
	line-height: 1;
}

.tmy-hero-stat span {
	font-size: 0.78rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.tmy-hero-divider {
	width: 1px;
	height: 48px;
	background: rgba(255, 255, 255, 0.2);
	align-self: center;
}

/* ── SECTION LABEL / HEADING ── */
.tmy-section-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--tmy-blue);
	margin-bottom: 0.6rem;
}

.tmy-section-heading {
	font-size: 2.8rem;
	color: var(--tmy-blue);
	margin-bottom: 1rem;
	line-height: 1.05;
}

.tmy-section-heading-line {
	display: block;
	width: 52px;
	height: 4px;
	background: var(--tmy-blue);
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

/* ── DESCRIPTION BLOCK ── */
.tmy-description-block {
	background: var(--tmy-bg-soft);
	border: 1px solid var(--tmy-blue-border);
	border-radius: 36px;
	padding: 2.5rem 3rem;
	margin-bottom: 2.5rem;
}

.tmy-description-block p {
	font-size: 1.05rem;
	color: var(--tmy-text-body);
	line-height: 1.8;
	margin-bottom: 1.1rem;
}

.tmy-description-block p:last-child {
	margin-bottom: 0;
}

.tmy-description-block strong {
	color: var(--tmy-blue);
	font-weight: 600;
}

/* ── TOWBOAT GRID ── */
.tmy-towboats-section {
	margin-bottom: 2.5rem;
}

.tmy-towboat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.tmy-towboat-card {
	background: #fff;
	border: 1px solid var(--tmy-blue-border);
	border-radius: 28px;
	padding: 1.8rem 1.6rem;
	transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.tmy-towboat-card:hover {
	border-color: var(--tmy-blue);
	transform: translateY(-6px);
	box-shadow: 0 20px 36px -12px rgba(0, 37, 134, 0.18);
}

.tmy-towboat-card-image {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
}

.tmy-towboat-icon {
	font-size: 2.5rem;
	margin-bottom: 0.25rem;
}

.tmy-towboat-card h3 {
	font-size: 1.65rem;
	color: var(--tmy-blue);
	line-height: 1.1;
}

.tmy-towboat-card p {
	font-size: 0.92rem;
	color: var(--tmy-text-muted);
	line-height: 1.6;
	flex: 1;
}

.tmy-badge-spec {
	display: inline-block;
	background: var(--tmy-blue-light);
	color: var(--tmy-blue);
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.7rem;
	border-radius: 30px;
	letter-spacing: 0.3px;
	margin-top: 0.5rem;
	width: fit-content;
}

/* ── CTA ROW ── */
.tmy-cta-row {
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding: 2rem 1.5rem;
	background: var(--tmy-bg-soft);
	border-radius: 32px;
	border: 1px solid var(--tmy-blue-border);
}

.tmy-cta-row p {
	color: var(--tmy-text-body);
	font-weight: 500;
	font-size: 1rem;
}

.tmy-text-link {
	color: var(--tmy-blue);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--tmy-blue-border);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
	.tmy-towboat-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.tmy-hero {
		padding: 2.5rem 2rem;
		border-radius: 28px;
	}

	.tmy-hero h1 {
		font-size: 3.8rem;
	}

	.tmy-towboat-grid {
		grid-template-columns: 1fr;
	}

	.tmy-description-block {
		padding: 1.8rem 1.5rem;
		border-radius: 24px;
	}

	.tmy-section-heading {
		font-size: 2.2rem;
	}

	.tmy-hero-stats {
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.tmy-hero h1 {
		font-size: 2.8rem;
	}

	.tmy-towboat-card h3 {
		font-size: 1.45rem;
	}
}
