/* Pinecrest Solutions — single-page site
   Brand: teal + orange (from logo), Inter typeface */

:root {
	--teal: #17939e;
	--teal-dark: #0b4f56;
	--teal-deep: #093a40;
	--orange: #f29a1f;
	--ink: #14262a;
	--body: #3d5257;
	--muted: #6b8288;
	--bg: #ffffff;
	--bg-soft: #f2f7f8;
	--line: #dbe7e9;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(9, 58, 64, 0.08);
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font);
	color: var(--body);
	background: var(--bg);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 700; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 68px;
	gap: 24px;
}

.brand img { height: 44px; width: auto; display: block; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav a {
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
}

.site-nav a:hover { color: var(--teal); text-decoration: none; }

.nav-cta {
	background: var(--teal);
	color: #fff !important;
	padding: 9px 18px;
	border-radius: 999px;
}

.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle, .nav-toggle-btn { display: none; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-block;
	font-weight: 600;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-accent { background: var(--orange); color: var(--teal-deep); font-family: var(--font); }
.btn-accent:hover { background: #ffad33; }

/* ---------- Hero ---------- */

.hero {
	background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 55%, var(--teal) 130%);
	color: #cfe6e9;
	padding: 96px 0 88px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 13px;
	font-weight: 700;
	color: var(--orange);
	margin-bottom: 18px;
}

.hero h1 {
	color: #fff;
	font-size: clamp(34px, 5.5vw, 58px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 22px;
}

.hero .accent { color: var(--orange); }

.lede {
	max-width: 640px;
	font-size: 18px;
	margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	border-top: 1px solid rgba(255,255,255,.15);
	padding-top: 30px;
}

.hero-stats strong {
	display: block;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.hero-stats span { font-size: 14px; color: #9fc5ca; }

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-alt { background: var(--bg-soft); }

.section-head { max-width: 620px; margin-bottom: 48px; }

.section-head h2 {
	font-size: clamp(26px, 3.5vw, 36px);
	letter-spacing: -0.015em;
	margin-bottom: 10px;
}

.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Cards (services) ---------- */

.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow);
}

.card-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--bg-soft);
	color: var(--teal);
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; }

/* ---------- Products ---------- */

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.product {
	background: var(--bg);
	border: 1px solid var(--line);
	border-top: 4px solid var(--teal);
	border-radius: var(--radius);
	padding: 36px 32px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.product:nth-child(2) { border-top-color: var(--orange); }

.product-badge {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--teal-dark);
	background: var(--bg-soft);
	padding: 5px 12px;
	border-radius: 999px;
}

.product h3 { font-size: 28px; letter-spacing: -0.01em; }

.product-tag { font-weight: 600; color: var(--teal); }

.product p:not(.product-tag) { font-size: 15.5px; }

.product .btn { margin-top: auto; }

/* ---------- Quotes ---------- */

.quote {
	background: var(--bg-soft);
	border-left: 4px solid var(--orange);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 26px 24px;
	font-size: 15px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.quote footer { font-weight: 600; color: var(--ink); font-size: 14px; }

/* ---------- Contact ---------- */

.section-dark {
	background: linear-gradient(160deg, var(--teal-deep), var(--teal-dark));
	color: #cfe6e9;
}

.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #9fc5ca; }

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}

.contact-details h3 { color: #fff; margin-bottom: 14px; }
.contact-details p { margin-bottom: 18px; }
.contact-details strong { color: #fff; }
.contact-details a { color: var(--orange); }

.contact-form {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--radius);
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #cfe6e9;
}

.contact-form input,
.contact-form textarea {
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
	background: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 11px 13px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--orange);
	outline-offset: 1px;
}

.contact-form .btn { align-self: flex-start; }

.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.form-note { padding: 12px 16px; border-radius: 8px; font-weight: 600; font-size: 14.5px; }
.form-success { background: rgba(46, 160, 67, .18); color: #b8f0c3; }
.form-error { background: rgba(214, 69, 69, .18); color: #ffc4c4; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--teal-deep);
	color: #9fc5ca;
	font-size: 14px;
	border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bar {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #cfe6e9; }
.footer-links a:hover { color: var(--orange); text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.card-grid.four { grid-template-columns: repeat(2, 1fr); }
	.card-grid.three { grid-template-columns: 1fr; }
	.product-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.desktop-br { display: none; }
}

@media (max-width: 700px) {
	.section { padding: 64px 0; }
	.hero { padding: 72px 0 64px; }
	.hero-stats { gap: 28px; }
	.card-grid.four { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }

	/* Mobile nav */
	.nav-toggle-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 42px;
		padding: 8px;
		cursor: pointer;
	}

	.nav-toggle-btn span {
		display: block;
		height: 2.5px;
		background: var(--ink);
		border-radius: 2px;
		transition: transform .2s ease, opacity .2s ease;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

	.site-nav a {
		padding: 15px 24px;
		border-top: 1px solid var(--line);
	}

	.nav-cta {
		border-radius: 0;
		text-align: center;
	}

	.nav-toggle:checked ~ .site-nav { display: flex; }
	.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
	.nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
