:root {
    --primary-color: #8A33A5; /* Violeta de Power Automate */
    --secondary-color: #F3F2F1; /* Gris claro de fondo */
    --accent-color: #C397D1; /* Un tono de violeta más claro */
    --gradient-color: linear-gradient(to right, #8A33A5, #C397D1); /* Gradiente violeta */
    --text-color: #333333;
    --text-color-light: #666666;
    --surface-color: #FFFFFF;
    --border-color: #E1DFDD;

    --font-family: 'Poppins', 'Segoe UI', sans-serif;
    --header-height: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button--header {
    background: var(--gradient-color);
    color: white;
    border: none;
}

.button--solid {
    background: var(--gradient-color);
    color: white;
    border: none;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: height 0.3s ease, background-color 0.3s ease;
}

.header.scrolled .nav {
    height: calc(var(--header-height) - 1rem);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.3s ease;
}

.nav__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav__logo-icon {
    height: 35px;
    margin-left: 8px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background-color: var(--surface-color);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__title .dynamic-text {
    color: var(--primary-color);
    display: inline-block;
    font-weight: 700;
    transition: opacity 0.5s ease-in-out;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

/* New style for highlighting specific words within dynamic text */
.highlight-word {
    color: #8A33A5; /* Power Automate violet */
    font-weight: 700; /* Ensure it stands out */
}

/* Removed .dynamic-visual and .hero__visual styles */

/* Services Section */
.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.card:hover::before {
    left: 100%;
}

.card:hover .card__icon {
    color: var(--accent-color);
}

.card__icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card__description {
    color: var(--text-color-light);
}

/* About Section */
.about {
    background-color: var(--surface-color);
}

.about__container {
    max-width: 800px;
}

.about__description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.about__list .bx {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Contact Section */
.contact__container {
    max-width: 700px;
    text-align: center;
}

.contact__subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__group {
    display: flex;
    gap: 1rem;
}

.contact__form input, .contact__form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.contact__form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #e1e1e1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav__menu { display: none; } /* Simple hide for now */
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__title { font-size: 2.8rem; }
    .section__title { font-size: 2rem; }
}
