:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --dark: #0d1712;
  --panel: rgba(10, 20, 15, 0.42);
  --panel-strong: rgba(10, 20, 15, 0.72);
  --accent: #c28a4b;
  --accent-light: #e5bd82;
  --footer-bg: #ffffff;
  --footer-text: #455148;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--dark);
}

.page-shell {
  min-height: calc(100vh - 46px);
  background-image: linear-gradient(rgba(4, 12, 8, 0.16), rgba(4, 12, 8, 0.22)), url("assets/cork-oak-hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.site-header {
  width: min(var(--max-width), calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: #2f8a65;
  font-family: "Cinzel", serif;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.logo_img {
  width: 55px;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(7, 15, 11, 0.20);
  backdrop-filter: blur(12px);
}

.nav-links a,
.dropdown-toggle {
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.9;
}

.nav-links a:hover,
.dropdown:hover .dropdown-toggle { color: var(--accent-light); opacity: 1; }

/* Keeps the Products dropdown open while the cursor moves from the menu item to the dropdown panel. */
.dropdown { position: relative; }

.dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 26px;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  padding: 10px;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.dropdown-menu a:hover { background: rgba(255, 255, 255, 0.10); }

.hero {
  min-height: calc(100vh - 128px);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 980px;
  padding: 58px 62px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(10, 20, 15, 0.38), rgba(10, 20, 15, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0.08em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.subtitle {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #8f5526);
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.hero-button:hover { transform: translateY(-1px); }

.site-footer {
  height: 46px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p { margin: 0; }

@media (max-width: 820px) {
  .site-header {
    height: auto;
    padding-top: 20px;
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    border-radius: 24px;
  }

  .hero { min-height: calc(100vh - 180px); }
  .hero-content { padding: 44px 28px; }
  .brand-name { font-size: 0.92rem; }
}

@media (max-width: 540px) {
  .page-shell { min-height: calc(100vh - 68px); }
  .site-header,
  .hero,
  .footer-inner { width: min(100% - 28px, var(--max-width)); }
  .footer-inner { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .site-footer { height: 68px; }
}

.nav-links a.is-active {
  color: var(--accent-light);
  opacity: 1;
}

.about-shell {
  background-image:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(12, 24, 17, 0.72), rgba(12, 24, 17, 0.44)),
    url("assets/cork-oak-hero.jpg");
}

.about-hero {
  min-height: calc(100vh - 128px);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 34px 0 64px;
}

.about-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 68px);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  color: #273027;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(14px);
}

.about-image {
  transform: rotate(-4deg);
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(24, 50, 65, 0.22);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-copy .eyebrow { color: #9c6730; }

.about-copy h1 {
  color: #172018;
  font-size: clamp(2.2rem, 3.0vw, 4.7rem);
  letter-spacing: 0.035em;
  text-shadow: none;
}

.about-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #4f5a51;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .about-card { grid-template-columns: 1fr; }
  .about-image { max-width: 430px; margin: 0 auto; }
}

@media (max-width: 540px) {
  .about-hero { width: min(100% - 28px, var(--max-width)); }
  .about-card { padding: 26px; border-radius: 26px; }
}

.contact-shell {
  background-image:
    linear-gradient(135deg, rgba(8, 15, 11, 0.76), rgba(8, 15, 11, 0.48)),
    url("assets/cork-contact-bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact-hero {
  min-height: calc(100vh - 128px);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 34px 0 64px;
}

.contact-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 62px);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  color: #243028;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
}

.contact-info .eyebrow { color: #9c6730; }

.contact-info h1 {
  color: #172018;
  font-size: clamp(2.35rem, 3vw, 5.1rem);
  letter-spacing: 0.04em;
  text-shadow: none;
}

.contact-intro {
  margin: 24px 0 0;
  color: #4f5a51;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-list article {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(250, 247, 241, 0.78);
  border: 1px solid rgba(150, 110, 64, 0.16);
}

.contact-list span {
  display: block;
  color: #9c6730;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-list p { margin: 0; color: #2d3830; line-height: 1.55; }
.contact-list a { color: #2d3830; text-decoration-color: rgba(156, 103, 48, 0.45); }
.contact-list a:hover { color: #9c6730; }

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 26px;
  background: rgba(15, 28, 19, 0.92);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.contact-form h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: 0.05em;
}

.contact-form > p {
  margin: 10px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #162018;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(229, 189, 130, 0.18);
}

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

.form-button {
  border: 0;
  cursor: pointer;
  width: 100%;
  margin-top: 24px;
}

.form-note {
  min-height: 1.4em;
  margin: 14px 0 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .contact-hero { width: min(100% - 28px, var(--max-width)); }
  .contact-card { padding: 24px; border-radius: 26px; }
}

.dropdown-toggle.is-active {
  color: var(--accent-light);
  opacity: 1;
}

.product-hero {
  min-height: calc(100vh - 128px);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 64px;
  display: grid;
  align-content: center;
  gap: 30px;
}

.product-intro {
  max-width: 900px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  color: #1d261f;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.52);
  backdrop-filter: blur(12px);
}

.product-intro .eyebrow { color: #9c6730; }
.product-intro h1 {
  color: #172018;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  letter-spacing: .045em;
  text-shadow: none;
}
.product-intro p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: #59635b;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, .78fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(26px, 4vw, 52px);
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  color: #263027;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.product-copy p {
  margin: 0 0 16px;
  color: #4b554d;
  font-size: 1rem;
  line-height: 1.8;
}

.spec-list {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.spec-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4efe8;
  border: 1px solid rgba(156, 103, 48, .16);
}
.spec-list dt {
  margin: 0 0 5px;
  color: #8b5d2f;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.spec-list dd {
  margin: 0;
  color: #303a32;
  font-weight: 700;
}

.product-photo {
  transform: rotate(-3deg);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(24,50,65,.24);
  background: #fff;
}
.product-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 920px) {
  .product-card { grid-template-columns: 1fr; }
  .product-photo { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .product-hero { width: min(100% - 28px, var(--max-width)); }
  .spec-list { grid-template-columns: 1fr; }
  .product-intro, .product-card { border-radius: 26px; }
}


.product-photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  transform: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.product-photo-pair img {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(24,50,65,.22);
  transform: rotate(-3deg);
}

.product-photo-pair img:first-child {
  transform: rotate(0deg);
}

.other-products-card {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  color: #263027;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.other-product-panel {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, .78fr);
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
}

.other-product-panel-reverse .other-product-copy { order: 2; }
.other-product-panel-reverse .other-product-image { order: 1; }

.other-product-copy .eyebrow { color: #9c6730; margin-bottom: 10px; }

.other-product-copy h2 {
  margin: 0 0 18px;
  color: #172018;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: .04em;
}

.other-product-copy p:not(.eyebrow) {
  margin: 0;
  color: #4b554d;
  font-size: 1rem;
  line-height: 1.8;
}

.compact-spec-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-product-image,
.featured-product-image {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 60px rgba(24,50,65,.22);
}

.other-product-image img,
.featured-product-image img {
  display: block;
  width: 100%;
  height: auto;
}

.rotated-card,
.featured-product-image {
  transform: rotate(-3deg);
  padding: 14px;
}

.featured-product-image {
  width: min(720px, 100%);
  justify-self: center;
  margin-top: 10px;
}

@media (max-width: 920px) {
  .other-product-panel { grid-template-columns: 1fr; }
  .other-product-panel-reverse .other-product-copy,
  .other-product-panel-reverse .other-product-image { order: initial; }
  .other-product-image { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .other-products-card { border-radius: 26px; }
  .compact-spec-list { grid-template-columns: 1fr; }
}
