/* Hadaea International: site styles */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/custom-font/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/custom-font/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/custom-font/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/custom-font/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/custom-font/Inter-ExtraBold.woff2") format("woff2"); }

:root {
	--ink: #14202e;
	--muted: #566577;
	--line: #dfe5ec;
	--bg: #ffffff;
	--tint: #f2f6fa;
	--accent: #2f5f8f;
	--accent-dark: #234b73;
	--accent-light: #7aa5d2;
	/* One background for every product photo: a soft blue-grey, dark enough for white products to stand out */
	--stage: linear-gradient(160deg, #dbe4ee 0%, #c8d4e2 100%);
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(20, 32, 46, .05), 0 8px 24px rgba(20, 32, 46, .07);
	--shadow-hover: 0 2px 4px rgba(20, 32, 46, .06), 0 18px 40px rgba(20, 32, 46, .14);
	--gutter: clamp(20px, 4vw, 56px);
	--section: clamp(56px, 7vw, 104px);
	--nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--ink);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
h3 { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 40px; }
.section-head a { font-weight: 600; }
.rule::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 2px; background: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 52ch; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-weight: 600; font-size: 0.95rem; line-height: 1; white-space: nowrap; cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(47, 95, 143, .28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 22px rgba(47, 95, 143, .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: #c5cfda; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--tint); color: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-whatsapp { background: #1f8f4e; color: #fff; }
.btn-whatsapp:hover { background: #18753f; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* Product photos: one background everywhere.
   .cut = transparent cut-out, centred with padding and a soft shadow.
   .full = original studio photo, fills the frame. */
.stage { position: relative; overflow: hidden; background: var(--stage); }
.stage img { width: 100%; height: 100%; transition: transform .35s; }
.stage img.full { object-fit: cover; }
.stage img.cut { object-fit: contain; padding: 13%; filter: drop-shadow(0 16px 14px rgba(28, 44, 70, .3)); }

/* Top bar */
.topbar { background: var(--ink); color: #d5dde6; font-size: 0.8125rem; }
.topbar .container { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; flex: none; }

/* Brand: icon plus the company name as real text */
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 48px; width: auto; flex: none; }
.brand-name { display: flex; flex-wrap: wrap; column-gap: .3em; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name span + span { color: var(--accent); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; gap: 44px; min-height: var(--nav-h); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 16px; border: 0; background: none; border-radius: var(--radius);
	color: var(--ink); font-weight: 500; font-size: 1rem; cursor: pointer; transition: color .18s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-link svg { width: 12px; height: 12px; transition: transform .18s; }
.nav-drop { position: relative; }
.nav-drop[data-open="true"] .nav-link svg { transform: rotate(180deg); }
.nav-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
	display: none;
}
.nav-drop[data-open="true"] .nav-menu { display: block; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 0.95rem; }
.nav-menu a:hover { background: var(--tint); color: var(--accent); }
.nav-menu li:first-child a { font-weight: 600; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	:root { --nav-h: 68px; }
	.topbar .container { justify-content: space-between; gap: 4px 14px; }
	.nav .container { gap: 10px; }
	.brand { margin-right: auto; gap: 10px; }
	.brand img { height: 38px; }
	.nav .brand-name { flex-direction: column; font-size: 0.95rem; }
	.nav-cta { min-height: 40px; padding: 0 12px; font-size: 0.8125rem; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; flex: none;
		width: 42px; height: 42px; padding: 0; background: none;
		border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
	}
	.nav-toggle svg { width: 20px; height: 20px; }
	.nav-links {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0; margin: 0;
		padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line);
		max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
	}
	.nav[data-open="true"] .nav-links { display: flex; }
	.nav-link { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-menu { position: static; border: 0; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
	.nav-menu a { padding: 10px 0; }
}

@media (max-width: 420px) { .topbar .t-long { display: none; } }
@media (min-width: 421px) { .topbar .t-short { display: none; } }

/* Hero */
.hero {
	padding: clamp(40px, 5vw, 80px) 0;
	background:
		radial-gradient(60% 80% at 78% 45%, rgba(122, 165, 210, .38), transparent 70%),
		linear-gradient(120deg, #f4f8fc 0%, #e3edf7 55%, #d3e2f1 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(47, 95, 143, .2); font-size: 0.95rem; }
.hero-contact a { color: var(--ink); font-weight: 600; }
.hero-contact a:hover { color: var(--accent); }

/* Hero category cards */
.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.cat-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--stage); color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { color: var(--accent-dark); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-photo { position: relative; display: block; aspect-ratio: 1 / 1; }
.cat-photo img { position: absolute; left: 14%; top: 14%; width: 72%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(28, 44, 70, .32)); }
.cat-name { padding: 0 12px 16px; text-align: center; font-weight: 700; font-size: clamp(0.875rem, 1.1vw, 1.0625rem); line-height: 1.25; }
.cat-all { align-items: center; justify-content: center; min-height: 120px; background: var(--accent); color: #fff; }
.cat-all:hover { color: #fff; background: var(--accent-dark); }
.cat-all .cat-name { padding: 16px; }

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero h1 { max-width: none; }
}

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-fit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card .stage { aspect-ratio: 1 / 1; }
.card:hover .stage img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.card-cat { color: var(--accent); font-size: 0.8125rem; font-weight: 600; }
.card-desc { color: var(--muted); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 10px; color: var(--accent); font-size: 0.9rem; font-weight: 600; }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
	.grid, .grid-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.card-body { padding: 14px; }
}
@media (max-width: 480px) { .grid, .grid-fit { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about p { margin-top: 22px; color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }
.brand-panel {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	aspect-ratio: 3 / 2; padding: 32px; border-radius: 24px; color: #fff; text-align: center;
	background: radial-gradient(80% 90% at 80% 10%, rgba(122, 165, 210, .55), transparent 65%), linear-gradient(140deg, #2f5f8f, #1d3f63);
	box-shadow: 0 30px 60px rgba(28, 54, 90, .25);
}
.brand-panel svg { width: clamp(96px, 12vw, 170px); height: auto; }
.brand-panel strong { font-size: clamp(1.4rem, 2.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.brand-panel span { color: #cfe0f1; font-size: 1rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Contact strip */
.strip { color: #fff; padding: clamp(44px, 5vw, 72px) 0; background: radial-gradient(60% 120% at 90% 0%, rgba(122, 165, 210, .45), transparent 70%), linear-gradient(120deg, #2f5f8f, #1d3f63); }
.strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.strip p { margin-top: 10px; color: #dbe6f1; font-size: 1.0625rem; }
.strip-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page head */
.page-head { padding: clamp(28px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); background: var(--tint); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.page-head-slim { padding-bottom: clamp(28px, 4vw, 52px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; color: var(--muted); font-size: 0.875rem; }
.crumbs + h1 { margin-top: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #aab5c1; }

/* Catalog */
.catalog { padding: 36px 0 var(--section); }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 18px; border: 1px solid #c5cfda; border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 46px; padding: 0 14px 0 40px; border: 1px solid #c5cfda; border-radius: var(--radius); background: #fff; }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.empty { padding: 48px 0; color: var(--muted); }
.empty h1 { margin-bottom: 12px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: 40px 0 var(--section); }
.product-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.product-info .card-cat { display: inline-block; margin-bottom: 12px; font-size: 0.9rem; }
.product-info p { margin-top: 20px; color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.gallery { width: 100%; max-width: 640px; }
.gallery-main { aspect-ratio: 8 / 7; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.gallery-main img.full { object-fit: contain; }
.gallery-main img.cut { padding: 12%; }
.gallery-nav { position: absolute; top: 50%; margin-top: -23px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); cursor: pointer; transition: color .18s, box-shadow .18s; }
.gallery-nav:hover { color: var(--accent); box-shadow: var(--shadow-hover); }
.gallery-nav svg { width: 16px; height: 16px; }
.gallery-prev { left: 14px; }
.gallery-prev svg { transform: rotate(90deg); }
.gallery-next { right: 14px; }
.gallery-next svg { transform: rotate(-90deg); }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 2px 10px; border-radius: 999px; background: rgba(20, 32, 46, .7); color: #fff; font-size: 0.8125rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.thumb { width: 80px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: border-color .18s; }
.thumb:hover { border-color: var(--accent-light); }
.thumb img.cut { padding: 12%; filter: drop-shadow(0 4px 4px rgba(28, 44, 70, .25)); }
.thumb[aria-current="true"] { border-color: var(--accent); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; padding-top: 28px; } }

/* Contact page */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 44px; padding-bottom: var(--section); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.contact-list a, .contact-list address { color: var(--ink); font-style: normal; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.form { padding: clamp(22px, 3vw, 40px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-hover); }
.form h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c5cfda; border-radius: var(--radius); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { margin-top: 22px; }
.form-error { margin-top: 14px; color: #b3261e; }
.thanks h2 { margin-bottom: 10px; }
.thanks p { color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding-top: 28px; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { flex: none; background: var(--ink); color: #b9c4d0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.footer .brand, .footer .brand:hover { color: #fff; }
.footer .brand-name span + span { color: var(--accent-light); }
.footer-about p { margin-top: 16px; max-width: 32ch; }
.footer h3 { margin-bottom: 16px; color: #fff; font-size: 0.95rem; }
.footer li + li { margin-top: 10px; }
.footer a { color: #b9c4d0; transition: color .18s; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; color: #8e9bab; font-size: 0.875rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 36px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.btn:hover, .card:hover, .cat-card:hover { transform: none; }
}
