/* Aqua Drilling static site. Colors match the logo blue and the rig red. */
:root {
  --blue: #385e95;
  --blue-dark: #263f66;
  --red: #c8262d;
  --text: #2b2f36;
  --muted: #5d6573;
  --bg: #ffffff;
  --band: #f2f4f7;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { color: var(--blue-dark); font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: .02em; }
h3 { color: var(--blue); font-size: 1.2rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.note { color: var(--muted); font-size: .9em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.top { background: #fff; border-bottom: 4px solid var(--red); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 170px; }
.top-info { display: flex; gap: 40px; }
.info { display: flex; flex-direction: column; font-size: .95rem; }
.info .label { text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.info a { text-decoration: none; font-weight: 600; }

/* Hero */
.hero { position: relative; background: var(--blue-dark); overflow: hidden; }
.hero img { width: 100%; height: clamp(320px, 45vw, 560px); object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 32, 52, .78) 0%, rgba(20, 32, 52, .35) 55%, rgba(20, 32, 52, 0) 100%); }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; z-index: 1; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 3.2rem); text-transform: uppercase; max-width: 14em; }
.hero h1 span { display: block; font-size: .62em; font-weight: 600; letter-spacing: .04em; margin-top: .3em; }
.hero p { font-size: clamp(1rem, 2vw, 1.25rem); margin: 0 0 1.2em; }
.btn { align-self: flex-start; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 4px; }
.btn:hover { background: #a61e24; color: #fff; }

/* Sections */
.about { padding-top: 56px; padding-bottom: 40px; max-width: 860px; text-align: center; }
.services { background: var(--band); padding: 48px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-top: 4px solid var(--blue); border-radius: 4px; padding: 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.card p { margin: 0; color: var(--muted); }
.contact { padding-top: 56px; padding-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.contact-grid p { margin: 0 0 .6em; }
.contact-grid a[href^="tel"] { font-size: 1.3rem; font-weight: 700; text-decoration: none; }

/* Footer */
.foot { background: var(--blue-dark); color: #dfe6f0; padding: 24px 0; font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: #fff; }

@media (max-width: 820px) {
  .top-inner { flex-direction: column; text-align: center; }
  .top-info { flex-direction: column; gap: 12px; }
  .cards, .contact-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: left; }
}
