:root {
  --color-primary: #0e7490;
  --color-secondary: #0ea5e9;
  --color-secondary-light: color-mix(in srgb, var(--color-secondary) 15%, transparent);
  --color-accent: #facc15;
  --color-background: #ecfeff;
  --color-paragraph: #164e63;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-paragraph);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: filter 0.2s ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary:hover {
  filter: brightness(1.1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 1rem 3rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--color-paragraph);
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-background);
  padding: 0 2rem;
  max-width: 800px;
}

.hero__content h1 {
  color: var(--color-background);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* About */
.about {
  padding: 5rem 2rem;
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.about__text h2 {
  font-size: 1.75rem;
}

.about__text p {
  font-size: 1.05rem;
}

/* Products */
.products {
  background: var(--color-secondary-light);
  padding: 5rem 2rem;
}

.products__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.products__inner h2 {
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  text-align: left;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  padding-bottom: 1.5rem;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 1.5rem;
}

.product-card h3 {
  text-align: center;
  font-size: 1.3rem;
  margin: 0 2rem 1rem;
}

.product-card p {
  margin: 0 2rem;
  font-size: 1rem;
}

/* Contact */
.contact {
  padding: 4rem 2rem;
}

.contact__inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact__inner h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

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

.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.hidden-field {
  display: none;
}

/* Footer */
.site-footer {
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.site-footer__contact p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
}

.site-footer__contact a:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-paragraph);
}

@media (max-width: 720px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 1rem;
  }

  .nav {
    gap: 1rem;
  }
}
