* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #263322; background: #fbfaf6; font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.topbar { height: 160px; padding: 14px clamp(24px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; background: #fbfaf6; position: relative; z-index: 2; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; }
.brand { display: flex; align-items: center; width: 270px; height: 100px; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-tagline { max-width: 400px; margin: 5px 0 0 2px; color: #404a38; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: .035em; }
.topbar nav { display: flex; align-items: center; gap: 27px; }
.contact-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; background: #20341d; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .13em; transition: background .2s; }
.contact-cta:hover { background: #405837; }
.contact-cta span { font-size: 15px; line-height: 1; }
.group-link { font-size: 12px; letter-spacing: .18em; font-weight: 700; text-decoration: none; color: #263322; }
.group-link span { font-size: 20px; margin-left: 7px; vertical-align: -2px; }
.language { height: 38px; width: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid #d5d8ce; border-radius: 24px; text-decoration: none; }
.language svg { width: 24px; height: 16px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(38, 51, 34, .12); }
.hero { min-height: 560px; height: min(64vw, 690px); max-height: 720px; position: relative; display: flex; align-items: center; overflow: hidden; background: #374832 url("https://azzayt.es/wp-content/uploads/2022/10/Quienes-somos-1024x576.jpg") center 48%/cover no-repeat; color: white; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18, 29, 15, .76), rgba(18, 29, 15, .46) 38%, rgba(18, 29, 15, .06)), linear-gradient(0deg, rgba(12, 20, 9, .22), transparent 40%); }
.hero-content { position: relative; z-index: 2; max-width: 100%; padding: 50px clamp(28px, 9.2vw, 140px); }
.eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: 11px; font-weight: 700; color: #6c7d49; margin: 0 0 18px; }
.eyebrow.light { color: #e2e8c5; }
.hero h1 { font: 500 clamp(44px, 6.1vw, 78px)/1.05 "Playfair Display", Georgia, serif; letter-spacing: -.035em; text-transform: uppercase; margin: 0 0 22px; max-width: 100%; }
.hero-location { position: absolute; right: clamp(24px, 6vw, 88px); bottom: 26px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: white; }
.location-dot { display: inline-block; width: 7px; height: 7px; background: #c9d869; border-radius: 50%; margin-right: 8px; }
.metrics { padding: 58px clamp(24px, 5.5vw, 80px) 62px; background: #fff; }
.metrics-heading { text-align: center; margin: 0 auto 30px; }
.metrics-heading h2 { font: 700 clamp(17px, 2vw, 21px)/1.25 "DM Sans", Arial, sans-serif; color: #263322; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.metrics-heading p { font: 500 clamp(18px, 2vw, 22px)/1.3 "Playfair Display", Georgia, serif; color: #58604f; margin: 8px 0 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1440px; margin: 0 auto; }
.metric { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 132px; padding: 20px 18px; border-right: 1px solid #d9ddd2; border-bottom: 1px solid #d9ddd2; }
.metric:nth-child(4n) { border-right: 0; }
.metric:nth-child(n+5) { border-bottom: 0; }
.metric strong { font: 600 clamp(20px, 2.4vw, 30px)/1.15 "Playfair Display", Georgia, serif; color: #20341d; }
.metric span { margin-top: 9px; color: #53594d; font-size: 12px; line-height: 1.45; letter-spacing: .04em; text-transform: uppercase; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); padding: 64px clamp(24px, 5vw, 76px) 70px; background: #fbfaf6; gap: 0 12px; }
.service-card { text-align: center; position: relative; padding: 0 16px 12px; border-right: 1px solid #d9ddd2; }
.service-card:last-child { border-right: 0; }
.service-card > img, .service-photo > img:first-child { width: 100%; height: 205px; object-fit: cover; display: block; }
.service-photo { position: relative; }
.branded-truck .truck-logo { position: absolute; left: 53%; top: 54%; width: min(28%, 112px); height: auto; object-fit: contain; padding: 0; background: transparent; box-shadow: none; opacity: .56; mix-blend-mode: multiply; transform: translate(-50%, -50%) perspective(240px) rotateY(-7deg) rotate(7deg) scaleX(.94); }
.service-icon { position: relative; width: 78px; height: 78px; margin: -40px auto 6px; border-radius: 50%; background: #f8f8f0; display: grid; place-items: center; }
.service-icon svg { width: 42px; height: 42px; fill: none; stroke: #20341d; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-card h2 { font: 600 20px "Playfair Display", Georgia, serif; text-transform: uppercase; letter-spacing: .04em; margin: 5px 0 10px; }
.service-card h2:after { content: ""; display: block; width: 35px; height: 1px; background: #7e8b63; margin: 11px auto; }
.service-card p { font-size: 14px; line-height: 1.55; color: #4c5049; max-width: 220px; margin: 0 auto; }
.story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 390px; margin: 32px 0; background: #f0f0e8; }
.story-image { min-height: 390px; background: url("https://static.tildacdn.com/tild3336-6464-4461-b936-663365346666/OLIVOS.jpg") center 48%/cover no-repeat; }
.story-copy { padding: 68px clamp(36px, 7vw, 104px); align-self: center; max-width: 720px; }
.story-copy .eyebrow { margin-bottom: 5px; color: #263322; }
.azzayt-logo { display: block; width: min(250px, 74%); height: 80px; object-fit: contain; object-position: left center; margin: 0 0 13px; }
.story-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.75; color: #444a40; margin: 0 0 16px; }
.button-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 5px; padding: 13px 18px; background: #20341d; color: white; text-decoration: none; text-transform: uppercase; font-size: 10px; letter-spacing: .16em; border-radius: 2px; transition: background .2s; }
.button-link:hover { background: #405837; }
.certifications { background: #fff; margin: 32px 0; padding: 58px clamp(28px, 6vw, 88px) 64px; }
.certifications-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #d9ddd2; }
.certifications-heading h2 { font: 600 clamp(20px, 2.4vw, 28px)/1.15 "Playfair Display", Georgia, serif; margin: 0; color: #263322; }
.certifications-heading > a { color: #20341d; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.certifications-heading > a:hover { text-decoration: underline; }
.certification-strip { width: 100%; padding-top: 28px; }
.certification-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 22px 18px; width: min(100%, 1240px); margin: 0 auto; }
.certification { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; text-align: center; }
.certification img { display: block; width: 100%; height: 64px; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.certification span { color: #263322; font-size: 11px; line-height: 1.3; }
.footer { position: relative; overflow: hidden; background: #20341d; color: white; min-height: 370px; }
.footer:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #20341d 0%, #20341d 100%); }
.footer:after { content: ""; position: absolute; z-index: 0; inset: 0 0 0 auto; width: 43%; background: linear-gradient(90deg, #20341d 0%, rgba(32,52,29,.56) 28%, rgba(32,52,29,.04) 100%), url("https://images.unsplash.com/photo-1723967626504-3d1ac213845e?fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.0.3&q=60&w=3000") center 46%/cover no-repeat; }
.footer-inner { position: relative; z-index: 1; width: 100%; margin: 0; padding: 42px clamp(28px, 6vw, 88px) 26px; }
.footer-brands { width: 70%; min-height: 100px; display: flex; align-items: center; gap: 20px; padding-bottom: 18px; }
.footer-brands img:first-child { width: 190px; height: 72px; object-fit: contain; background: transparent; padding: 0; }
.footer-brands img:last-child { width: 180px; height: 68px; object-fit: contain; background: transparent; padding: 0; }
.brand-part { flex: 0 0 auto; color: rgba(255,255,255,.9); text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.footer-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 70%; border-top: 1px solid rgba(255, 255, 255, .38); padding: 28px 0 26px; }
.contact-block { padding: 4px 0 4px 20px; border-left: 1px solid rgba(255, 255, 255, .35); }
.contact-block h2 { font: 600 15px "DM Sans", Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.contact-block address, .contact-label { font-style: normal; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .84); margin: 0 0 7px; }
.contact-block address a { color: inherit; text-decoration: none; }
.contact-block address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-label { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #d8e0be; margin-bottom: 5px; }
.phone-link { display: inline-block; margin-top: 8px; color: white; text-decoration: none; font-size: 16px; letter-spacing: .04em; }
.email-link { display: block; width: fit-content; margin-top: 9px; color: rgba(255, 255, 255, .84); text-decoration: none; font-size: 15px; }
.email-link:hover { color: #fff; text-decoration: underline; }
.phone-link:hover, .footer-meta a:hover { text-decoration: underline; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; width: 70%; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 18px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.footer-meta p { margin: 0; }
.footer-meta a { color: white; text-decoration: none; }
@media (max-width: 760px) {
  .topbar { height: auto; min-height: 90px; padding: 10px 20px; }
  .brand { width: 130px; height: 52px; }
  .brand-tagline { max-width: 250px; margin-top: 5px; font-size: 14px; }
  .topbar nav { gap: 10px; }
  .contact-cta { padding: 9px 10px; font-size: 9px; letter-spacing: .07em; }
  .group-link { font-size: 10px; letter-spacing: .1em; }
  .language { width: 42px; flex: 0 0 42px; }
  .hero { height: 620px; min-height: 0; max-height: none; background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(18, 29, 15, .78), rgba(18, 29, 15, .24)), linear-gradient(0deg, rgba(12, 20, 9, .4), transparent 65%); }
  .hero-content { padding: 45px 28px; margin-top: 10px; }
  .hero h1 { font-size: clamp(42px, 10vw, 65px); }
  .hero-location { left: 28px; right: auto; bottom: 20px; font-size: 9px; }
  .metrics { padding: 42px 20px 44px; }
  .metrics-heading { margin-bottom: 22px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 120px; padding: 14px 10px; }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-child(4n) { border-right: 0; }
  .metric:nth-child(n+5) { border-bottom: 1px solid #d9ddd2; }
  .metric:nth-child(n+7) { border-bottom: 0; }
  .services { grid-template-columns: repeat(2, 1fr); padding: 44px 20px 48px; gap: 0; }
  .service-card { padding: 0 9px 24px; border-right: 0; }
  .service-card:nth-child(odd) { border-right: 1px solid #d9ddd2; }
  .service-card:nth-child(n+3) { padding-top: 14px; border-top: 1px solid #d9ddd2; }
  .service-card > img, .service-photo > img:first-child { height: clamp(135px, 36vw, 230px); }
  .service-icon { width: 68px; height: 68px; margin-top: -35px; }
  .service-icon svg { width: 36px; }
  .service-card h2 { font-size: 17px; }
  .service-card p { font-size: 12px; }
  .story { grid-template-columns: 1fr; margin: 24px 0; }
  .story-image { min-height: 290px; }
  .story-copy { padding: 48px 28px 52px; }
  .certifications { margin: 24px 0; padding: 42px 22px 46px; }
  .certifications-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer { min-height: 0; }
  .footer:before { background: linear-gradient(90deg, #20341d 0%, #293e25 100%); }
  .footer:after { width: 100%; opacity: .28; }
  .footer-inner { padding: 30px 24px 26px; }
  .footer-brands { width: 100%; min-height: 92px; height: auto; gap: 12px; flex-wrap: wrap; }
  .footer-brands img:first-child { width: 128px; height: 58px; }
  .footer-brands img:last-child { width: 122px; height: 58px; }
  .brand-part { font-size: 9px; letter-spacing: .08em; }
  .footer-contact-grid, .footer-meta { width: 100%; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 24px; padding: 25px 0; }
}
@media (max-width: 380px) {
  .group-link { font-size: 10px; }
  .brand { width: 100px; }
  .topbar nav { gap: 6px; }
  .contact-cta { padding: 7px 8px; font-size: 8px; letter-spacing: .04em; }
  .group-link { font-size: 9px; letter-spacing: .06em; }
  .language { width: 36px; flex-basis: 36px; }
  .services { padding-left: 9px; padding-right: 9px; }
  .metrics { padding-left: 14px; padding-right: 14px; }
  .metric strong { font-size: 20px; }
  .metric span { font-size: 10px; }
  .certifications { padding-left: 14px; padding-right: 14px; }
  .footer-brands { gap: 8px; }
  .footer-brands img:first-child { width: 104px; height: 48px; }
  .footer-brands img:last-child { width: 100px; height: 48px; }
  .brand-part { font-size: 8px; letter-spacing: .05em; }
}
@media (max-width: 600px) {
  .topbar { height: auto; min-height: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 20px 15px; }
  .brand { width: 188px; height: 65px; }
  .brand-tagline { max-width: 100%; margin-top: 5px; font-size: 14px; }
  .topbar nav { width: 100%; justify-content: space-between; gap: 12px; }
  .contact-cta { padding: 10px 13px; font-size: 9px; letter-spacing: .08em; }
  .group-link { font-size: 10px; letter-spacing: .1em; }
  .language { width: 42px; flex: 0 0 42px; }
}
@media (max-width: 380px) {
  .footer-brands { gap: 8px; }
  .footer-brands img:first-child { width: 104px; }
  .footer-brands img:last-child { width: 100px; }
  .brand-part { font-size: 8px; letter-spacing: .05em; }
}
/* IE 11 fallback: it does not support CSS Grid, custom properties, clamp(),
   min()/max(), object-fit, or the modern inset shorthand. */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .topbar { height: 160px; padding: 14px 6%; }
  .brand { width: 270px; height: 100px; }
  .brand img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
  .topbar nav a { margin-left: 18px; }
  .hero { height: 650px; min-height: 560px; background-position: center 48%; background-size: cover; }
  .hero-shade { top: 0; right: 0; bottom: 0; left: 0; }
  .hero-video { display: none; }
  .hero-content { width: 100%; padding: 50px 9.2%; }
  .hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: 78px; line-height: 1.05; }
  .hero-location { right: 6%; }
  .metrics { padding: 58px 5.5% 62px; }
  .metrics-heading h2 { font-size: 21px; }
  .metrics-heading p { font-size: 22px; }
  .metrics-grid { display: flex; flex-wrap: wrap; }
  .metric { display: flex; width: 25%; }
  .metric strong { font-size: 30px; }
  .services { display: flex; flex-wrap: wrap; padding: 64px 5% 70px; }
  .service-card { width: 25%; }
  .service-card > img, .service-photo > img:first-child { width: 100%; height: auto; max-height: 205px; }
  .branded-truck .truck-logo { width: 100px; height: auto; }
  .service-icon { display: flex; align-items: center; justify-content: center; }
  .story { display: flex; }
  .story-image { width: 54%; background-size: cover; }
  .story-copy { width: 46%; padding: 68px 5%; }
  .azzayt-logo { width: 250px; max-width: 74%; height: auto; }
  .certifications { padding: 58px 6% 64px; }
  .certifications-heading { display: flex; }
  .certification-grid { display: flex; flex-wrap: wrap; width: 100%; max-width: 1240px; }
  .certification { width: 10%; margin: 0 1.1% 20px 0; }
  .certification img { width: auto; max-width: 100%; height: auto; max-height: 64px; }
  .footer:before { top: 0; right: 0; bottom: 0; left: 0; }
  .footer:after { top: 0; right: 0; bottom: 0; left: auto; background-size: cover; background-position: center 46%; background-repeat: no-repeat; }
  .footer-brands { width: 70%; }
  .footer-brands img, .footer-brands .brand-part { margin-right: 18px; }
  .footer-brands img:first-child { width: 190px; height: 72px; }
  .footer-brands img:last-child { width: 180px; height: 68px; }
  .footer-contact-grid { display: flex; }
  .contact-block { width: 50%; }
  .email-link { width: auto; }
}
@media screen and (-ms-high-contrast: active) and (max-width: 760px), screen and (-ms-high-contrast: none) and (max-width: 760px) {
  .topbar { height: auto; min-height: 90px; padding: 10px 20px; }
  .brand { width: 130px; height: 52px; }
  .hero { height: 620px; }
  .hero-content { padding: 45px 28px; }
  .hero h1 { font-size: 60px; }
  .metrics-grid { display: flex; }
  .metric { width: 50%; }
  .services { padding: 44px 20px 48px; }
  .service-card { width: 50%; margin-bottom: 24px; }
  .service-card > img, .service-photo > img:first-child { width: 100%; height: auto; max-height: 200px; }
  .story { display: block; }
  .story-image, .story-copy { width: 100%; }
  .story-image { height: 290px; }
  .story-copy { padding: 48px 28px 52px; }
  .certification { width: 28%; margin-right: 4%; }
  .footer-brands, .footer-contact-grid { width: 100%; }
  .footer-contact-grid { display: block; }
  .contact-block { width: 100%; margin-bottom: 24px; }
}
@media screen and (-ms-high-contrast: active) and (max-width: 600px), screen and (-ms-high-contrast: none) and (max-width: 600px) {
  .topbar { display: block; padding: 12px 20px 15px; }
  .brand-lockup { margin-bottom: 10px; }
  .topbar nav { display: flex; justify-content: space-between; }
  .topbar nav a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
  .hero-video { display: none; }
}
