/* Clover Imaging México — digital business card
   Shared by / (es-MX) and /en/ (en). Plain CSS, no dependencies. */

:root {
  --green: #04AF44;        /* official corporate green, rgb(4,175,68) — rules and accents only */
  --green-dark: #027A2E;   /* darker shade of the same green for buttons and text links (5.5:1 on white) */
  --green-darker: #01601F; /* hover */
  --heading: #23262B;
  --body: #4A4F57;
  --muted: #5F646C;
  --bg: #FFFFFF;
  --band: #F5F6F7;
  --line: #E1E4E8;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1, h2 { color: var(--heading); margin: 0; font-weight: 700; }

p { margin: 0; }

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green-darker); }

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--heading);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* 1. Header */
.site-header { border-bottom: 1px solid var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}

.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: 168px; height: auto; }

.lang {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lang a,
.lang [aria-current] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover { color: var(--heading); text-decoration: underline; }

.lang [aria-current] {
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.lang .sep { color: #A3A8AF; font-weight: 400; }

/* 2. Introduction */
.intro { padding: clamp(48px, 7vw, 96px) 0; }

.intro .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.intro h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.intro p + p { margin-top: 14px; }

.intro .actions { margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  background: var(--green-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.button:hover { background: var(--green-darker); color: #fff; }

.intro figure { margin: 0; }
.intro figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* 3. Company and contact */
.company {
  background: var(--band);
  padding: clamp(48px, 6vw, 80px) 0;
}

.company .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.company h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.company h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--green);
}

.contact-name {
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-list { margin: 0; }

.contact-list div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
}
.contact-list div:last-child { border-bottom: 1px solid var(--line); }

.contact-list dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.contact-list dd { margin: 0; color: var(--heading); }

.contact-list a { display: inline-block; padding: 10px 0; }

/* 4. Footer */
.site-footer { padding: 28px 0; font-size: 14px; color: var(--muted); }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 104px; height: auto; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a,
.footer-links span { display: inline-flex; align-items: center; min-height: 44px; }

/* Mobile */
@media (max-width: 860px) {
  .intro .wrap,
  .company .wrap { grid-template-columns: minmax(0, 1fr); }

  .button { display: flex; width: 100%; }

  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
  .contact-list a { display: flex; align-items: center; min-height: 44px; padding: 0; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand img { width: 136px; }
  .site-header .wrap { min-height: 72px; }
}
