/* ========== BASE RESET & VARIABLES ========== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");

:root {
  --primary: #2563eb;
  --accent: #e10600;
  --dark: #020617;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 16px;
  --bg: linear-gradient(to bottom, #ffffff, #f0f4f8, #374151);
  --grey-gradient: linear-gradient(to bottom, #f8f9fa, #f0f4f8, #e5e7eb);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body, h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ========== WORDPRESS CLEANUP ========== */

.entry-title,
.wp-block-post-title,
.page .page-title {
  display: none !important;
}

.entry-header {
  margin: 0 !important;
  padding: 0 !important;
}

header.wp-block-template-part,
footer.wp-block-template-part,
.wp-site-blocks > footer,
body > footer.wp-block-template-part {
  display: none !important;
}

.wp-site-blocks,
.wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ========== PAGE WRAPPER ========== */

.page-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

main,
.site-main,
.wp-block-post-content {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ========== HEADER (WHITE STRIP, FULL WIDTH) ========== */

.page-wrap > header {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: var(--white);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 100;
}

/* ========== LOGO & BRANDING ========== */

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}

a.logo {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000 !important;
  text-decoration: none !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}

.logo-o {
  display: inline-flex !important;
  position: relative !important;
  vertical-align: baseline !important;
  line-height: 1 !important;
}

.logo-dots {
  position: absolute !important;
  top: -2px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  height: 0 !important;
  line-height: 0 !important;
  pointer-events: none !important;
}

.logo-dots::before,
.logo-dots::after {
  content: "•";
  color: #e10600 !important;
  font-size: 14px !important;
  line-height: 0 !important;
  display: inline-block !important;
}

.logo-line {
  width: 120px;
  height: 2px;
  background-color: #000;
  margin-top: -4px;
  margin-bottom: 2px;
}

.logo-subtext {
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0.02em;
}

/* ========== NAVIGATION ========== */

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
}

/* ========== HERO SECTION (FULL-WIDTH) ========== */

.hero-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
  height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  display: block !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/ChatGPT Image Dec 28, 2025, 09_50_04 PM.png") center/cover no-repeat !important;
  filter: brightness(0.5);
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute !important;
  z-index: 10;
  top: 20px !important;
  right: 8vw;
  width: auto;
  color: #ffffff;
  pointer-events: none;
}

.hero-text {
  max-width: 520px;
  text-align: right;
  margin: 0;
  padding: 0;
}

.hero-text h1 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.brand-phrase {
  color: inherit;
  display: inline-block;
  position: relative;
  line-height: 1;
}

.accent-o {
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.accent-o::before {
  content: "o";
  color: #ffffff;
}

.accent-o::after {
  content: "..";
  position: absolute;
  top: -0.15em;
  left: 50%;
  transform: translateX(-50%);
  color: #ff0000;
  font-size: 1.2em;
  letter-spacing: -1.5px;
  font-weight: bold;
  line-height: 0;
}

/* ========== 6 TRANSPARENT BOXES GRID ========== */

.services-grid {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  z-index: 10;
}

.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.service-card:hover,
.service-card:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  outline: none;
}

.service-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.service-card img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  pointer-events: none;
}

.service-card p {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 0;
  pointer-events: none;
}
.service-card .service-label {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 10px;
}


/* ========== SMART LIVING SECTION ========== */

.smart-living-box {
  width: 100%;
  background: var(--grey-gradient);
  padding: 40px 20px;
  text-align: center;
  margin: 0;
}

.smart-living-header {
  color: #000000;
  font-size: 2.5rem;
  margin: 0 0 20px 0;
  padding: 0;
}

.smart-living-image {
  margin: 0;
  padding: 0;
}

.smart-living-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0;
  padding: 0;
}

.smart-living-text {
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 20px 0 0 0;
  padding: 0;
}

/* ========== CONTACT SECTION ========== */

#contact {
  background: transparent;
  margin: 0;
  padding: 40px 20px;
}

#contact .contact-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#contact .section-header {
  margin-bottom: 30px;
  text-align: center;
}

#contact .section-header h2 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  color: #1f2937;
}

#contact .tagline {
  margin: 0;
  color: #6b7280;
}

#contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#contact input,
#contact textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background-color: #f9fafb;
  color: #111111;
  font-family: inherit;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #999999;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
}

#contact textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== BUTTONS ========== */

.btn,
.btn-primary,
button[type="submit"] {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover,
.btn-primary:hover,
button[type="submit"]:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
}

.btn:active,
.btn-primary:active,
button[type="submit"]:active {
  transform: translateY(0);
}

/* ========== FLOATING CONTACT ICONS ========== */

.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: -10px;
  z-index: 9999;
}

.floating-icons .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-icons .icon img {
  width: 25px;
  height: 25px;
  border-radius: 0;
  display: block;
}

.floating-icons .icon:hover {
  transform: translateY(-2px);
}

.icon.phone {
  background-color: #10b981;
}

.icon.email {
  background-color: #f97316;
}

.icon.whatsapp {
  background-color: #25d366;
}

.icon.phone:hover {
  background-color: #059669;
}

.icon.email:hover {
  background-color: #ea580c;
}

.icon.whatsapp:hover {
  background-color: #16a34a;
}

/* ========== FOOTER ========== */

.site-footer {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #FDFBF7;
  border-top: 1px solid #EAE3D5;
  color: #4A4A4A;
  font-size: 0.95rem;
  display: block !important;
}

.footer-inner {
  width: 100%;
  margin: 0;
  padding: 40px 8vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  box-sizing: border-box;
}

.footer-col {
  min-width: 0;
}

.footer-col:last-child {
  text-align: right;
}

.footer-col:nth-child(2) {
  text-align: center;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.footer-col p,
.footer-col address {
  color: #555555;
  line-height: 1.8;
  font-style: normal;
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  text-decoration: none;
  color: #555555;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #e10600;
}

.gravos-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.footer-bottom {
  width: 100%;
  background-color: #F7F2E9;
  padding: 25px 8vw;
  text-align: center;
  font-size: 13px;
  color: #888888;
  border-top: 1px solid #EAE3D5;
  margin: 0;
}

/* ========== RESPONSIVE: TABLET ========== */

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .service-card {
    height: 200px;
  }

  .service-card img {
    height: 70%;
  }

  .hero-overlay {
    text-align: center;
    right: 0;
    left: 0;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }
}

/* ========== RESPONSIVE: MOBILE ========== */

@media (max-width: 768px) {
  .page-wrap > header {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero-wrap {
    height: auto;
    min-height: 100vh;
    padding-bottom: 60px;
  }

  .hero-overlay {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 1rem;
  }

  .hero-text h2 {
    font-size: 1.25rem;
  }

  .services-grid {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 90%;
    margin: 40px auto 0 auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    height: auto;
    min-height: 280px;
    overflow: visible;
    padding: 20px;
  }

  .service-card img {
    height: 200px;
  }

  .smart-living-box {
    padding: 30px 16px;
  }

  .smart-living-header {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .smart-living-text {
    font-size: 1rem;
    margin-top: 15px;
  }

  #contact {
    padding: 30px 16px;
  }

  #contact .section-header {
    margin-bottom: 20px;
  }

  #contact .section-header h2 {
    font-size: 1.5rem;
  }

  #contact form {
    gap: 10px;
  }

  .floating-icons .icon {
    width: 48px;
    height: 48px;
  }

  .floating-icons .icon img {
    width: 24px;
    height: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .footer-col,
  .footer-col:last-child,
  .footer-col:nth-child(2) {
    text-align: left;
  }

  .footer-bottom {
    padding: 20px 16px;
    font-size: 12px;
  }
}

/* ========== RESPONSIVE: SMALL MOBILE ========== */

@media (max-width: 480px) {
  .page-wrap > header {
    flex-direction: column;
    gap: 16px;
  }

  .logo-block {
    margin-bottom: 10px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .services-grid {
    width: 95%;
    margin: 30px auto 0 auto;
    gap: 15px;
  }

  .service-card {
    min-height: 250px;
    padding: 15px;
  }

  .service-card p {
    font-size: 0.75rem;
  }

  .smart-living-header {
    font-size: 1.5rem;
  }

  .smart-living-text {
    font-size: 0.9rem;
  }

  #contact .section-header h2 {
    font-size: 1.2rem;
  }

  #contact input,
  #contact textarea {
    padding: 8px 10px;
    font-size: 16px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .footer-inner {
    padding: 25px 16px;
    gap: 20px;
  }

  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}



.service-card a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* keeps same text color */
  pointer-events: auto;    /* ensures link is clickable */
  cursor: pointer;
}

.service-card a:hover {
  color: var(--primary);   /* optional hover color */
}
